Implement HlHalt() intrinsic routine and add basic definitions for kernel services

This commit is contained in:
2022-12-11 23:09:35 +01:00
förälder 0572b208f1
incheckning 9f4db475bb
11 ändrade filer med 80 tillägg och 13 borttagningar

Visa fil

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

Visa fil

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