From e68cc768d63e108b3f7747731921999bb00b7e1f Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Fri, 7 Nov 2008 15:16:13 -0500 Subject: [PATCH] AB --- aseg-paging/pagingstub.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aseg-paging/pagingstub.c b/aseg-paging/pagingstub.c index 6c85157..8969998 100644 --- a/aseg-paging/pagingstub.c +++ b/aseg-paging/pagingstub.c @@ -4,6 +4,7 @@ #include #include #include +#include #include "../net/net.h" #include "vga-overlay.h" @@ -112,8 +113,11 @@ void c_entry(void) /* Turn paging on */ set_cr0(get_cr0() | CR0_PG); + serial_init(); + serial_tx('A'); outb(0x80, 0xAA); if (!entry_initialized) { + serial_tx('B'); outb(0x80, 0xAB); /* for (bp = (void *)0x200000; (void *)bp < (void *)&_bss; bp++) -- 2.43.0