Added 8259 PIC support

This commit is contained in:
Jozef Nagy
2023-11-26 10:31:31 +01:00
parent 96a19d23b3
commit 1c031e8be9
8 changed files with 197 additions and 0 deletions

View File

@@ -143,3 +143,19 @@ HlIoPortOutShort(IN USHORT Port,
: "a" (Value),
"Nd" (Port));
}
/**
* Sends a 0x00 byte to an unused IO port.
* This operation takes 1 - 4 microseconds and functions as an
* imprecise wait function.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
XTCDECL
VOID
HlIoPortWait(VOID)
{
HlIoPortOutByte(0x80, 0x00);
}