1 2include_directories( 3 ${REACTOS_SOURCE_DIR} 4 ${REACTOS_SOURCE_DIR}/sdk/lib/drivers/arbiter 5 ${REACTOS_SOURCE_DIR}/sdk/lib/cmlib 6 include 7 ${CMAKE_CURRENT_BINARY_DIR}/include 8 ${CMAKE_CURRENT_BINARY_DIR}/include/internal 9 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers) 10 11add_definitions( 12 -D__NTOSKRNL__ 13 -D_NTOSKRNL_ 14 -D_NTSYSTEM_ 15 -D_IN_KERNEL_ 16 -DNTDDI_VERSION=0x05020400) 17 18if(NOT DEFINED NEWCC) 19 set(NEWCC FALSE) 20endif() 21 22if(NEWCC) 23 add_definitions(-DNEWCC) 24 list(APPEND SOURCE 25 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/cachesub.c 26 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/copysup.c 27 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/fssup.c 28 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/lazyrite.c 29 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/logsup.c 30 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/mdlsup.c 31 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/pinsup.c 32 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/section/fault.c 33 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/section/swapout.c 34 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/section/data.c 35 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/section/reqtools.c) 36else() 37 list(APPEND SOURCE 38 ${REACTOS_SOURCE_DIR}/ntoskrnl/cc/cacheman.c 39 ${REACTOS_SOURCE_DIR}/ntoskrnl/cc/copy.c 40 ${REACTOS_SOURCE_DIR}/ntoskrnl/cc/fs.c 41 ${REACTOS_SOURCE_DIR}/ntoskrnl/cc/lazywrite.c 42 ${REACTOS_SOURCE_DIR}/ntoskrnl/cc/mdl.c 43 ${REACTOS_SOURCE_DIR}/ntoskrnl/cc/pin.c 44 ${REACTOS_SOURCE_DIR}/ntoskrnl/cc/view.c) 45endif() 46 47list(APPEND SOURCE 48 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/section/io.c 49 ${REACTOS_SOURCE_DIR}/ntoskrnl/cache/section/sptab.c 50 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmalloc.c 51 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmapi.c 52 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmboot.c 53 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmcheck.c 54 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmconfig.c 55 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmcontrl.c 56 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmdata.c 57 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmdelay.c 58 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmhook.c 59 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmhvlist.c 60 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cminit.c 61 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmkcbncb.c 62 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmlazy.c 63 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmmapvw.c 64 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmnotify.c 65 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmparse.c 66 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmquota.c 67 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmse.c 68 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmsecach.c 69 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmsysini.c 70 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmvalche.c 71 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/cmwraprs.c 72 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/ntapi.c 73 ${REACTOS_SOURCE_DIR}/ntoskrnl/dbgk/dbgkobj.c 74 ${REACTOS_SOURCE_DIR}/ntoskrnl/dbgk/dbgkutil.c 75 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/atom.c 76 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/callback.c 77 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/dbgctrl.c 78 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/efi.c 79 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/event.c 80 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/evtpair.c 81 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/exintrin.c 82 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/fmutex.c 83 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/handle.c 84 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/harderr.c 85 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/hdlsterm.c 86 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/init.c 87 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/interlocked.c 88 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/keyedevt.c 89 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/locale.c 90 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/lookas.c 91 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/mutant.c 92 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/profile.c 93 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/pushlock.c 94 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/resource.c 95 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/rundown.c 96 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/sem.c 97 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/shutdown.c 98 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/sysinfo.c 99 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/time.c 100 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/timer.c 101 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/uuid.c 102 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/win32k.c 103 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/work.c 104 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/xipdisp.c 105 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/zone.c 106 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/dbcsname.c 107 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/fastio.c 108 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/faulttol.c 109 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/filelock.c 110 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/filter.c 111 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/filtrctx.c 112 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/fsfilter.c 113 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/fsrtlpc.c 114 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/largemcb.c 115 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/mcb.c 116 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/name.c 117 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/notify.c 118 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/oplock.c 119 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/pnp.c 120 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/stackovf.c 121 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/tunnel.c 122 ${REACTOS_SOURCE_DIR}/ntoskrnl/fsrtl/unc.c 123 ${REACTOS_SOURCE_DIR}/ntoskrnl/fstub/disksup.c 124 ${REACTOS_SOURCE_DIR}/ntoskrnl/fstub/fstubex.c 125 ${REACTOS_SOURCE_DIR}/ntoskrnl/fstub/halstub.c 126 ${REACTOS_SOURCE_DIR}/ntoskrnl/fstub/translate.c 127 ${REACTOS_SOURCE_DIR}/ntoskrnl/inbv/inbv.c 128 ${REACTOS_SOURCE_DIR}/ntoskrnl/inbv/inbvport.c 129 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/adapter.c 130 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/arcname.c 131 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/bootlog.c 132 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/controller.c 133 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/device.c 134 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/deviface.c 135 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/driver.c 136 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/error.c 137 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/file.c 138 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/iocomp.c 139 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/ioevent.c 140 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/iofunc.c 141 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/iomdl.c 142 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/iomgr.c 143 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/iorsrce.c 144 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/iotimer.c 145 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/iowork.c 146 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/irp.c 147 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/irq.c 148 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/ramdisk.c 149 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/rawfs.c 150 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/remlock.c 151 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/symlink.c 152 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/util.c 153 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/iomgr/volume.c 154 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/arbs.c 155 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/devaction.c 156 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/devnode.c 157 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/plugplay.c 158 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/pnpdma.c 159 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/pnpinit.c 160 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/pnpirp.c 161 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/pnpmgr.c 162 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/pnpnotify.c 163 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/pnpreport.c 164 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/pnpres.c 165 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/pnproot.c 166 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/pnpmgr/pnputil.c 167 ${REACTOS_SOURCE_DIR}/ntoskrnl/io/debug.c 168 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/kdapi.c 169 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/kdbreak.c 170 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/kddata.c 171 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/kdinit.c 172 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/kdlock.c 173 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/kdprint.c 174 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/kdtrap.c 175 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/apc.c 176 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/balmgr.c 177 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/bug.c 178 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/clock.c 179 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/config.c 180 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/devqueue.c 181 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/dpc.c 182 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/eventobj.c 183 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/except.c 184 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/freeze.c 185 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/gate.c 186 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/gmutex.c 187 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/ipi.c 188 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/krnlinit.c 189 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/mutex.c 190 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/procobj.c 191 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/profobj.c 192 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/queue.c 193 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/semphobj.c 194 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/spinlock.c 195 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/thrdobj.c 196 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/thrdschd.c 197 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/time.c 198 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/timerobj.c 199 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/wait.c 200 ${REACTOS_SOURCE_DIR}/ntoskrnl/lpc/close.c 201 ${REACTOS_SOURCE_DIR}/ntoskrnl/lpc/complete.c 202 ${REACTOS_SOURCE_DIR}/ntoskrnl/lpc/connect.c 203 ${REACTOS_SOURCE_DIR}/ntoskrnl/lpc/create.c 204 ${REACTOS_SOURCE_DIR}/ntoskrnl/lpc/listen.c 205 ${REACTOS_SOURCE_DIR}/ntoskrnl/lpc/port.c 206 ${REACTOS_SOURCE_DIR}/ntoskrnl/lpc/reply.c 207 ${REACTOS_SOURCE_DIR}/ntoskrnl/lpc/send.c 208 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/contmem.c 209 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/drvmgmt.c 210 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/dynamic.c 211 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/expool.c 212 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/hypermap.c 213 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/iosup.c 214 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/kdbg.c 215 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/largepag.c 216 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/mdlsup.c 217 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/mmdbg.c 218 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/mminit.c 219 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/mmsup.c 220 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/ncache.c 221 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/pagfault.c 222 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/pfnlist.c 223 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/pool.c 224 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/procsup.c 225 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/section.c 226 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/session.c 227 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/special.c 228 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/sysldr.c 229 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/syspte.c 230 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/vadnode.c 231 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/virtual.c 232 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/zeropage.c 233 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/balance.c 234 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/freelist.c 235 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/marea.c 236 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/mmfault.c 237 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/mminit.c 238 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/pagefile.c 239 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/region.c 240 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/rmap.c 241 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/section.c 242 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/shutdown.c 243 ${REACTOS_SOURCE_DIR}/ntoskrnl/ob/devicemap.c 244 ${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obdir.c 245 ${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obhandle.c 246 ${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obinit.c 247 ${REACTOS_SOURCE_DIR}/ntoskrnl/ob/oblife.c 248 ${REACTOS_SOURCE_DIR}/ntoskrnl/ob/oblink.c 249 ${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obname.c 250 ${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obref.c 251 ${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obsdcach.c 252 ${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obsecure.c 253 ${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obwait.c 254 ${REACTOS_SOURCE_DIR}/ntoskrnl/po/events.c 255 ${REACTOS_SOURCE_DIR}/ntoskrnl/po/guid.c 256 ${REACTOS_SOURCE_DIR}/ntoskrnl/po/poshtdwn.c 257 ${REACTOS_SOURCE_DIR}/ntoskrnl/po/povolume.c 258 ${REACTOS_SOURCE_DIR}/ntoskrnl/po/power.c 259 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/apphelp.c 260 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/debug.c 261 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/job.c 262 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/kill.c 263 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/process.c 264 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/psmgr.c 265 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/psnotify.c 266 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/query.c 267 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/quota.c 268 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/security.c 269 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/state.c 270 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/thread.c 271 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/win32.c 272 ${REACTOS_SOURCE_DIR}/ntoskrnl/rtl/libsupp.c 273 ${REACTOS_SOURCE_DIR}/ntoskrnl/rtl/misc.c 274 ${REACTOS_SOURCE_DIR}/ntoskrnl/se/access.c 275 ${REACTOS_SOURCE_DIR}/ntoskrnl/se/accesschk.c 276 ${REACTOS_SOURCE_DIR}/ntoskrnl/se/acl.c 277 ${REACTOS_SOURCE_DIR}/ntoskrnl/se/audit.c 278 ${REACTOS_SOURCE_DIR}/ntoskrnl/se/priv.c 279 ${REACTOS_SOURCE_DIR}/ntoskrnl/se/sd.c 280 ${REACTOS_SOURCE_DIR}/ntoskrnl/se/semgr.c 281 ${REACTOS_SOURCE_DIR}/ntoskrnl/se/sid.c 282 ${REACTOS_SOURCE_DIR}/ntoskrnl/se/srm.c 283 ${REACTOS_SOURCE_DIR}/ntoskrnl/se/token.c 284 ${REACTOS_SOURCE_DIR}/ntoskrnl/vf/driver.c 285 ${REACTOS_SOURCE_DIR}/ntoskrnl/wmi/guidobj.c 286 ${REACTOS_SOURCE_DIR}/ntoskrnl/wmi/smbios.c 287 ${REACTOS_SOURCE_DIR}/ntoskrnl/wmi/wmi.c 288 ${REACTOS_SOURCE_DIR}/ntoskrnl/wmi/wmidrv.c) 289 290list(APPEND ASM_SOURCE ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/zw.S) 291 292if(ARCH STREQUAL "i386") 293 list(APPEND ASM_SOURCE 294 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/i386/fastinterlck_asm.S 295 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/i386/ioport.S 296 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/ctxswitch.S 297 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/trap.s 298 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/usercall_asm.S 299 ${REACTOS_SOURCE_DIR}/ntoskrnl/rtl/i386/stack.S) 300 list(APPEND SOURCE 301 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/i386/cmhardwr.c 302 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/i386/kdx86.c 303 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/abios.c 304 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/cpu.c 305 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/context.c 306 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/exp.c 307 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/irqobj.c 308 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/kiinit.c 309 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/ldt.c 310 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/mtrr.c 311 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/patpge.c 312 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/thrdini.c 313 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/traphdlr.c 314 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/usercall.c 315 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/v86vdm.c 316 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/i386/page.c 317 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/i386/init.c 318 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/i386/psctx.c 319 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/i386/psldt.c 320 ${REACTOS_SOURCE_DIR}/ntoskrnl/vdm/vdmmain.c 321 ${REACTOS_SOURCE_DIR}/ntoskrnl/vdm/vdmexec.c) 322elseif(ARCH STREQUAL "amd64") 323 list(APPEND ASM_SOURCE 324 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/boot.S 325 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/ctxswitch.S 326 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/trap.S 327 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/usercall_asm.S) 328 list(APPEND SOURCE 329 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/i386/cmhardwr.c 330 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/amd64/kdx64.c 331 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/context.c 332 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/cpu.c 333 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/except.c 334 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/interrupt.c 335 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/irql.c 336 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/kiinit.c 337 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/krnlinit.c 338 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/spinlock.c 339 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/thrdini.c 340 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/amd64/init.c 341 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/amd64/page.c 342 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/amd64/psctx.c 343 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/stubs.c 344 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/amd64/usercall.c) 345elseif(ARCH STREQUAL "arm") 346 list(APPEND ASM_SOURCE 347 ${REACTOS_SOURCE_DIR}/ntoskrnl/ex/arm/ioport.s 348 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/arm/boot.s 349 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/arm/ctxswtch.s 350 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/arm/stubs_asm.s 351 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/arm/trap.s) 352 list(APPEND SOURCE 353 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/arm/cmhardwr.c 354 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd/arm/kdbg.c 355 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/arm/kdarm.c 356 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/arm/cpu.c 357 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/arm/exp.c 358 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/arm/interrupt.c 359 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/arm/kiinit.c 360 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/arm/thrdini.c 361 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/arm/trapc.c 362 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/arm/usercall.c 363 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/arm/page.c 364 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/ARM3/arm/init.c 365 ${REACTOS_SOURCE_DIR}/ntoskrnl/ps/arm/psctx.c 366 ${REACTOS_SOURCE_DIR}/ntoskrnl/rtl/arm/rtlexcpt.c) 367elseif(ARCH STREQUAL "powerpc") 368 list(APPEND ASM_SOURCE 369 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/powerpc/main_asm.S 370 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/powerpc/ctxhelp.S) 371 list(APPEND SOURCE 372 ${REACTOS_SOURCE_DIR}/ntoskrnl/config/powerpc/cmhardwr.c 373 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/powerpc/cpu.c 374 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/powerpc/exp.c 375 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/powerpc/kiinit.c 376 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/powerpc/ppc_irq.c 377 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/powerpc/stubs.c 378 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/powerpc/systimer.c 379 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/powerpc/thrdini.c 380 ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/powerpc/ctxswitch.c 381 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/powerpc/pfault.c 382 ${REACTOS_SOURCE_DIR}/ntoskrnl/mm/powerpc/page.c) 383endif() 384 385if(NOT _WINKD_) 386 if(ARCH STREQUAL "i386") 387 list(APPEND SOURCE 388 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd/i386/kdbg.c) 389 if(KDBG) 390 list(APPEND ASM_SOURCE ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/i386/kdb_help.S) 391 list(APPEND SOURCE ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/i386/i386-dis.c) 392 endif() 393 elseif(ARCH STREQUAL "amd64") 394 list(APPEND SOURCE 395 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd/i386/kdbg.c) 396 elseif(ARCH STREQUAL "arm") 397 list(APPEND SOURCE ${REACTOS_SOURCE_DIR}/ntoskrnl/kd/arm/kdbg.c) 398 endif() 399 400 if(KDBG) 401 list(APPEND SOURCE 402 ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/kdb.c 403 ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/kdb_cli.c 404 ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/kdb_expr.c 405 ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/kdb_keyboard.c 406 ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/kdb_serial.c 407 ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/kdb_symbols.c) 408 endif() 409 410 list(APPEND SOURCE 411 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd/wrappers/kdbg.c 412 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd/kdio.c 413 ${REACTOS_SOURCE_DIR}/ntoskrnl/kd/kdmain.c) 414 415endif() 416