]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg/firstrun.c
Ref only the head of a pbuf chain, instead of the whole thing, to avoid leaking pbufs.
[netwatch.git] / aseg / firstrun.c
index 6df8d7da9dee4e38c1c33f870cc659ef972bd5f7..d3cd16f4a69957b88e6ff8831e82259c95689a95 100644 (file)
@@ -23,6 +23,8 @@ void __firstrun_start() {
        for (bp = (void *)&_bss; (void *)bp < (void *)&_bssend; bp++)
                *bp = 0;
        
+       vga_flush_imm(0);
+       
        outputf("NetWatch running");
 
        /* Try really hard to shut up USB_LEGKEY. */
@@ -47,6 +49,8 @@ void __firstrun_start() {
 
        smi_enable();
        
+       vga_flush_imm(1);
+       
        smram_restore_state(smram);
 }
 
This page took 0.025949 seconds and 4 git commands to generate.