ptos/amd64: platform: Add UART driver + HAL interface

Signed-off-by: Chloe M. <chloe@yiffware.org>
This commit is contained in:
2026-07-10 05:22:51 +00:00
parent 5f556df0ac
commit d21050c1e6
3 changed files with 136 additions and 0 deletions
+4
View File
@@ -8,6 +8,7 @@
#include <ptdef.h>
#include <ke/bpal.h>
#include <hal/serial.h>
#include <machine/pio.h>
#include <string.h>
@@ -20,4 +21,7 @@ KiKernelInit(VOID)
{
/* Initialize the boot protocol abstraction layer */
KeBpalInit();
/* Initialize the serial driver */
HalSerialInit();
}