Implement KeHaltSystem() routine
所有检测均成功
Builds / ExectOS (amd64) (push) Successful in 30s
Builds / ExectOS (i686) (push) Successful in 44s

这个提交包含在:
Rafal Kupiec 2023-11-22 19:24:14 +01:00
父节点 d7e6d319cf
当前提交 f28c870192
签署人:: belliash
GPG 密钥 ID: 4E829243E0CFE6B4
共有 3 个文件被更改,包括 26 次插入6 次删除

查看文件

@ -17,6 +17,10 @@ XTAPI
VOID
KeClearEvent(IN PKEVENT Event);
XTAPI
VOID
KeHaltSystem();
XTAPI
VOID
KeInitializeEvent(OUT PKEVENT Event,

查看文件

@ -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 */

查看文件

@ -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.
*