]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg-paging/main.c
Wait for completion before we pull the trigger on the pbuf
[netwatch.git] / aseg-paging / main.c
index 7b5c09350cf87b5005421a312260fe57e188f854..ddde1b9ae018701076945e312afcd34e56c5d05c 100644 (file)
@@ -4,6 +4,7 @@
 #include <minilib.h>
 #include <smi.h>
 #include <pci-bother.h>
 #include <minilib.h>
 #include <smi.h>
 #include <pci-bother.h>
+#include <fb.h>
 #include "../net/net.h"
 #include "vga-overlay.h"
 #include "../aseg/packet.h"
 #include "../net/net.h"
 #include "vga-overlay.h"
 #include "../aseg/packet.h"
@@ -114,7 +115,8 @@ void timer_handler(smi_event_t ev)
        
        outb(0x80, (ticks++) & 0xFF);
        
        
        outb(0x80, (ticks++) & 0xFF);
        
-       outlog();
+       if (!fb || fb->curmode.text)
+               outlog();
 }
 
 void kbc_handler(smi_event_t ev)
 }
 
 void kbc_handler(smi_event_t ev)
This page took 0.024208 seconds and 4 git commands to generate.