]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg/counter.c
Remove an entry from the GDT that is no longer necessary. Add a few comments.
[netwatch.git] / aseg / counter.c
index de82574dc50fac9245e3ee564feb3569d174ea04..61f9b6fac9e18ffb1a3ac87bd2d54b87925d83b6 100644 (file)
@@ -52,5 +52,10 @@ void __start (void)
        
        outl(0xCF8, pcisave);
        outb(0x3D4, vgasave);
+       
+       outb(0x834, 0x40);      // ack the periodic IRQ
+       outb(0x830, (inb(0x830) | 0x2) & ~0x40);
+       outb(0x830, inb(0x830) | 0x40);
+       
 }
 
This page took 0.025365 seconds and 4 git commands to generate.