Implement HlHalt() intrinsic routine and add basic definitions for kernel services
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-12-11 23:09:35 +01:00
parent 0572b208f1
commit 9f4db475bb
11 changed files with 80 additions and 13 deletions

View File

@@ -51,6 +51,16 @@ HlCpuId(IN OUT PCPUID_REGISTERS Registers)
return TRUE;
}
XTAPI
VOID
HlHalt()
{
while(TRUE)
{
asm volatile("hlt");
}
}
/**
* Reads the data from the specified I/O port.
*