mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 13:05:44 +00:00
Moved KiTimerSystemAuditing flag to main.c so it can set when everything is up and running. Also, turn the time auditing back on.
svn path=/trunk/; revision=10320
This commit is contained in:
parent
b31a0f3811
commit
3ba2c74617
2 changed files with 10 additions and 4 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: irq.c,v 1.43 2004/04/16 01:28:15 jimtabor Exp $
|
||||
/* $Id: irq.c,v 1.44 2004/07/30 19:28:49 jimtabor Exp $
|
||||
*
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/ke/i386/irq.c
|
||||
|
@ -520,12 +520,12 @@ KiInterruptDispatch (ULONG irq, PKIRQ_TRAPFRAME Trapframe)
|
|||
Ke386DisableInterrupts();
|
||||
|
||||
HalEndSystemInterrupt (old_level, 0);
|
||||
#if 0
|
||||
|
||||
if (old_level==PASSIVE_LEVEL)
|
||||
{
|
||||
KiUpdateProcessThreadTime();
|
||||
}
|
||||
#endif
|
||||
|
||||
if (old_level==PASSIVE_LEVEL && Trapframe->Cs != KERNEL_CS)
|
||||
{
|
||||
CurrentThread = KeGetCurrentThread();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: main.c,v 1.188 2004/06/19 08:48:01 navaraf Exp $
|
||||
/* $Id: main.c,v 1.189 2004/07/30 19:28:48 jimtabor Exp $
|
||||
*
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/ke/main.c
|
||||
|
@ -95,6 +95,7 @@ static ULONG LastKrnlPhysAddr;
|
|||
static ULONG LastKernelAddress;
|
||||
volatile BOOLEAN Initialized = FALSE;
|
||||
extern ULONG MmCoreDumpType;
|
||||
extern CHAR KiTimerSystemAuditing;
|
||||
|
||||
extern PVOID Ki386InitialStackArray[MAXIMUM_PROCESSORS];
|
||||
|
||||
|
@ -821,6 +822,11 @@ ExpInitializeExecutive(VOID)
|
|||
KEBUGCHECKEX(SESSION5_INITIALIZATION_FAILED, Status, 1, 0, 0);
|
||||
}
|
||||
}
|
||||
/*
|
||||
* Tell ke/timer.c it's okay to run.
|
||||
*/
|
||||
|
||||
KiTimerSystemAuditing = 1;
|
||||
|
||||
NtClose(ThreadHandle);
|
||||
NtClose(ProcessHandle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue