aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw/timer.c')
-rw-r--r--src/hw/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/timer.c b/src/hw/timer.c
index 2832dece..5edc9fdb 100644
--- a/src/hw/timer.c
+++ b/src/hw/timer.c
@@ -7,7 +7,6 @@
#include "biosvar.h" // GET_LOW
#include "config.h" // CONFIG_*
#include "output.h" // dprintf
-#include "ps2port.h" // PORT_PS2_CTRLB
#include "stacks.h" // yield
#include "util.h" // timer_setup
#include "x86.h" // cpuid
@@ -16,6 +15,7 @@
#define PORT_PIT_COUNTER1 0x0041
#define PORT_PIT_COUNTER2 0x0042
#define PORT_PIT_MODE 0x0043
+#define PORT_PS2_CTRLB 0x0061
// Bits for PORT_PIT_MODE
#define PM_SEL_TIMER0 (0<<6)