aboutsummaryrefslogtreecommitdiffstats
path: root/src/clock.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-09-28 21:32:08 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-09-28 21:32:08 -0400
commit114592f000d5bc89b7d149e320a31ab209e20b41 (patch)
tree124c00dc27a4ecb755d37027193a4f6419fdd3ea /src/clock.c
parent6aee52dd45843bbc884692a34c3a6b4e3eb392e8 (diff)
downloadseabios-114592f000d5bc89b7d149e320a31ab209e20b41.tar.gz
Initial support for USB, UHCI, and USB Keyboards.
This adds preliminary support for USB controllers and keyboards. Add support for UHCI controllers. Add support for "HID" USB keyboards. Also, fix bug in hexdump() - len need not be power of 4.
Diffstat (limited to 'src/clock.c')
-rw-r--r--src/clock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/clock.c b/src/clock.c
index dd81f9d3..aaa24885 100644
--- a/src/clock.c
+++ b/src/clock.c
@@ -12,6 +12,7 @@
#include "pic.h" // eoi_pic1
#include "bregs.h" // struct bregs
#include "biosvar.h" // GET_GLOBAL
+#include "usb-hid.h" // usb_check_key
// RTC register flags
#define RTC_A_UIP 0x80
@@ -435,6 +436,8 @@ handle_08()
SET_BDA(timer_counter, counter);
+ usb_check_key();
+
// chain to user timer tick INT #0x1c
u32 eax=0, flags;
call16_simpint(0x1c, &eax, &flags);