]> Joshua Wise's Git repositories - netwatch.git/commitdiff
AB
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 7 Nov 2008 20:16:13 +0000 (15:16 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 7 Nov 2008 20:16:13 +0000 (15:16 -0500)
aseg-paging/pagingstub.c

index 6c85157e6ffc16ff973fd26ba805254e9651461b..89699982c4e82fabfd243abd31172d72746dd32e 100644 (file)
@@ -4,6 +4,7 @@
 #include <minilib.h>
 #include <smi.h>
 #include <pci-bother.h>
+#include <serial.h>
 #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++)
This page took 0.030938 seconds and 4 git commands to generate.