]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg-paging/pagingstub.c
Merge branch 'master' of /storage/git/netwatch
[netwatch.git] / aseg-paging / pagingstub.c
index 80ff55d959bda893f5422abbb79897ab58b90a7b..849c6dc3a01eb1d4c89de7ef6ec301a747162b3e 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"
 
@@ -111,10 +112,13 @@ 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++)
                        *bp = *(bp + 0x100000);
This page took 0.023353 seconds and 4 git commands to generate.