summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/interrupts.h
diff options
context:
space:
mode:
authordzwdz2023-09-19 15:38:34 +0200
committerdzwdz2023-09-19 15:38:34 +0200
commit8b0953d8cdbf676cf100bcb0f77a0c82755b53ae (patch)
tree9ebfdfa1bf8bd7d663b35482b622338a14c8133c /src/kernel/arch/amd64/interrupts.h
parent14fd2aecd074fb93bb509df0c1cedd1f1055a4a6 (diff)
kernel: use HPET timer for sleeps
not strictly necessary, but this should improve: 1. sleep performance 2. power efficiency when idle
Diffstat (limited to 'src/kernel/arch/amd64/interrupts.h')
-rw-r--r--src/kernel/arch/amd64/interrupts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/interrupts.h b/src/kernel/arch/amd64/interrupts.h
index 262ea16..dfc523a 100644
--- a/src/kernel/arch/amd64/interrupts.h
+++ b/src/kernel/arch/amd64/interrupts.h
@@ -4,10 +4,10 @@
#define IRQ_COM1 4
#define IRQ_IBASE 0x20
-#define IRQ_PIT 0
#define IRQ_PS2KB 1
#define IRQ_PS2MOUSE 12
#define IRQ_RTL8139 11
+#define IRQ_HPET 8
extern void (*irq_fn[16])(void);
extern const char _isr_stubs;