2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
authorCasper Hornstrup <chorns@users.sourceforge.net>
Wed, 15 Jan 2003 19:58:07 +0000 (19:58 +0000)
committerCasper Hornstrup <chorns@users.sourceforge.net>
Wed, 15 Jan 2003 19:58:07 +0000 (19:58 +0000)
commiteb3b9049a9887ebb270123b88caa62c7eda1f29d
tree4981aaf1d5ebfd9912f392b3e24e86650606ed20
parent92dec86909820e91df3838002b241078895a0877
2003-01-15  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* ntoskrnl/dbg/profile.c: New file.
* ntoskrnl/Makefile (OBJECTS_KDBG): Add dbg/profile.o.
* ntoskrnl/dbg/kdb.h: Define NTOS_MODE_KERNEL. Include <ntos.h>.
(LdrGetAddressInformation, KdbInitProfiling, KdbInitProfiling2,
KdbDisableProfiling, KdbEnableProfiling, KdbProfileInterrupt) Prototype.
* ntoskrnl/kd/kdebug.c (KdInitSystem): Add /PROFILE option if KDBG=1.
* ntoskrnl/ke/main.c (ExpInitializeExecutive): Call KdbInitProfiling2()
if KDBG=1.
* ntoskrnl/ke/i386/irq.c: Include <../dbg/kdb.h> if KDBG=1.
(KiInterruptDispatch): Call KdbProfileInterrupt() on timer interrupt
if KDBG=1.

svn path=/trunk/; revision=4001
reactos/ChangeLog
reactos/ntoskrnl/Makefile
reactos/ntoskrnl/cc/misc.c
reactos/ntoskrnl/dbg/kdb.h
reactos/ntoskrnl/dbg/profile.c [new file with mode: 0755]
reactos/ntoskrnl/kd/kdebug.c
reactos/ntoskrnl/ke/i386/irq.c
reactos/ntoskrnl/ke/main.c