mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[NTOS:KE/x64] (Re)move initialization of IRQL and TR
This commit is contained in:
parent
0a7255e4bf
commit
e655594609
1 changed files with 2 additions and 4 deletions
|
@ -162,7 +162,6 @@ KiInitializePcr(IN PKIPCR Pcr,
|
|||
|
||||
/* Start us out at PASSIVE_LEVEL */
|
||||
Pcr->Irql = PASSIVE_LEVEL;
|
||||
KeSetCurrentIrql(PASSIVE_LEVEL);
|
||||
}
|
||||
|
||||
VOID
|
||||
|
@ -240,6 +239,8 @@ KiInitializeCpu(PKIPCR Pcr)
|
|||
|
||||
/* Initialize MXCSR */
|
||||
_mm_setcsr(INITIAL_MXCSR);
|
||||
|
||||
KeSetCurrentIrql(PASSIVE_LEVEL);
|
||||
}
|
||||
|
||||
static
|
||||
|
@ -276,9 +277,6 @@ KiInitializeTss(
|
|||
|
||||
/* Setup a stack for NMI Traps */
|
||||
Tss->Ist[3] = (ULONG64)NmiStack;
|
||||
|
||||
/* Load the task register */
|
||||
__ltr(KGDT64_SYS_TSS);
|
||||
}
|
||||
|
||||
CODE_SEG("INIT")
|
||||
|
|
Loading…
Reference in a new issue