projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support USB interrupt schedules on OHCI and UHCI.
[seabios.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index 60a72599a1457c4e00613f18a6d6943b44bcae3d..429590ce928eb8aacdb262d7e802fd837db2f79a 100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-245,6
+245,8
@@
void serial_setup(void);
void lpt_setup(void);
// clock.c
+#define PIT_TICK_RATE 1193180 // Underlying HZ of PIT
+#define PIT_TICK_INTERVAL 65536 // Default interval for 18.2Hz timer
static inline int check_time(u64 end) {
return (s64)(rdtscll() - end) > 0;
}