]> xenbits.xensource.com Git - seabios.git/commitdiff
Clear user reserved interrupts (0x60-0x66).
authorKevin O'Connor <kevin@koconnor.net>
Sun, 27 Dec 2009 04:24:52 +0000 (23:24 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 27 Dec 2009 04:24:52 +0000 (23:24 -0500)
This patch is equivalent to a patch recently committed to Bochs bios
(d8b4b998).

src/post.c

index 6964f3883ebd2a8a0eaea82e796465fb544235ad..f087a27f952c56d6c5d239255c89ece6f1b70816 100644 (file)
@@ -66,6 +66,10 @@ init_ivt()
     set_irq(0x1a, entry_1a);
     set_irq(0x40, entry_40);
 
+    // INT 60h-66h reserved for user interrupt
+    for (i=0x60; i<=0x66; i++)
+        SET_IVT(i, SEGOFF(0, 0));
+
     // set vector 0x79 to zero
     // this is used by 'gardian angel' protection system
     SET_IVT(0x79, SEGOFF(0, 0));