Implement KeHaltSystem() routine

이 커밋은 다음에 포함됨:
2023-11-22 19:24:14 +01:00
부모 d7e6d319cf
커밋 f28c870192
3개의 변경된 파일과 26개의 추가작업 그리고 6개의 파일을 삭제
+4
파일 보기
@@ -17,6 +17,10 @@ XTAPI
VOID
KeClearEvent(IN PKEVENT Event);
XTAPI
VOID
KeHaltSystem();
XTAPI
VOID
KeInitializeEvent(OUT PKEVENT Event,
+1 -6
파일 보기
@@ -32,12 +32,7 @@ KeStartXtSystem(IN PKERNEL_INITIALIZATION_BLOCK Parameters)
KeInitializationBlock->ProtocolVersion != BOOT_PROTOCOL_VERSION)
{
/* Kernel and boot loader version mismatch */
for(;;)
{
/* Halt system */
ArClearInterruptFlag();
ArHalt();
}
KeHaltSystem();
}
/* Check if debugging enabled and if boot loader provided routine for debug printing */
+21
파일 보기
@@ -9,6 +9,27 @@
#include <xtos.h>
/**
* Halts the system.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
XTAPI
VOID
KeHaltSystem()
{
/* Enter infinite loop */
for(;;)
{
/* Halt system */
ArClearInterruptFlag();
ArHalt();
}
}
/**
* Crashes the system upon detecting a fatal error in which either it is unable to recover or continue to run system.
*