Port rombios32 code from bochs-bios.
[seabios.git] / src / system.c
index f4b13f8d41091bf8e245415f2247f12e20d7913a..70f9bcd42d307720ac355a147b2a113c1373bfe4 100644 (file)
@@ -84,18 +84,6 @@ handle_1552(struct bregs *regs)
     handle_ret(regs, 0);
 }
 
-// Sleep for n microseconds. currently using the
-// refresh request port 0x61 bit4, toggling every 15usec
-static void
-usleep(u32 count)
-{
-    count = count / 15;
-    u8 kbd = inb(PORT_PS2_CTRLB);
-    while (count)
-        if ((inb(PORT_PS2_CTRLB) ^ kbd) & KBD_REFRESH)
-            count--;
-}
-
 // Wait for CX:DX microseconds. currently using the
 // refresh request port 0x61 bit4, toggling every 15usec
 static void