projects
/
bootcensus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
interrupts, timer, keyboard, segments, lots of kernel code
[bootcensus]
/
src
/
timer.h
diff --git a/src/timer.h
b/src/timer.h
new file mode 100644
(file)
index 0000000..
7f985d5
--- /dev/null
+++ b/
src/timer.h
@@ -0,0
+1,11
@@
+#ifndef _TIMER_H_
+#define _TIMER_H_
+
+unsigned long nticks;
+
+void init_timer(void);
+
+int sys_sleep(int sec);
+void sleep(unsigned long msec);
+
+#endif /* _TIMER_H_ */