commit | 19ef4188c956fafd8668e2e9c8588f2d7d379256 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Sun Feb 21 17:45:51 2021 -0800 |
committer | swissChili <swisschili@fastmail.com> | Sun Feb 21 17:45:51 2021 -0800 |
tree | b45641a72492ccc53e3627c9421f9d65cf5f58da | |
parent | 825d46b68a91b53bb8d32db876488b987761009f [diff] [blame] |
Add preliminary PS/2 keyboard support
diff --git a/src/timer.c b/src/timer.c index 4227949..145f8f8 100644 --- a/src/timer.c +++ b/src/timer.c
@@ -6,10 +6,9 @@ static ulong tick = 0; -static void timer_cb(struct registers regs) +static void timer_cb(struct registers *regs) { - if (++tick % 100 == 0) - kprintf("Timer tick %d\n", tick); + // do nothing :) } void init_timer(uint hz)