stos+amd64: Add serial logging + trace facility
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user