Add running level management support

This commit is contained in:
2023-11-25 23:14:15 +01:00
parent 4701351bd7
commit e245754d95
6 changed files with 320 additions and 0 deletions

View File

@@ -17,6 +17,10 @@ XTAPI
VOID
KeClearEvent(IN PKEVENT Event);
XTFASTCALL
KRUNLEVEL
KeGetCurrentRunLevel();
XTAPI
VOID
KeHaltSystem();
@@ -47,6 +51,10 @@ KeInitializeThread(IN PKPROCESS Process,
IN PVOID Stack,
IN BOOLEAN StartThread);
XTFASTCALL
VOID
KeLowerRunLevel(IN KRUNLEVEL RunLevel);
XTAPI
VOID
KePanic(IN ULONG Code);
@@ -59,6 +67,10 @@ KePanicEx(IN ULONG Code,
IN ULONG_PTR Parameter3,
IN ULONG_PTR Parameter4);
XTFASTCALL
KRUNLEVEL
KeRaiseRunLevel(IN KRUNLEVEL RunLevel);
XTAPI
LONG
KeSetEvent(IN PKEVENT Event,