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