Implement KeHaltSystem() routine
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 30s
Builds / ExectOS (i686) (push) Successful in 44s

This commit is contained in:
2023-11-22 19:24:14 +01:00
förälder d7e6d319cf
incheckning f28c870192
3 ändrade filer med 26 tillägg och 6 borttagningar

Visa fil

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

Visa fil

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