stos+amd64: Add serial logging + trace facility

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-22 01:39:29 +00:00
parent 70dcf7938f
commit aec7ddb4a2
6 changed files with 183 additions and 3 deletions
+17
View File
@@ -6,9 +6,26 @@
* Author: Chloe M.
*/
#include <ex/trace.h>
#include <hal/serial.h>
#include <stdef.h>
/*
* Display a boot banner
*/
static VOID
BootBanner(VOID)
{
TRACE("Machine has been turned on~\n");
TRACE("Booting SystemPaw3 !! <3\n");
}
VOID
KiKernelEntry(VOID)
{
/* Initialize the serial driver */
HalSerialInit();
/* Write the boot banner */
BootBanner();
}