diff options
author | dzwdz | 2023-09-19 15:38:34 +0200 |
---|---|---|
committer | dzwdz | 2023-09-19 15:38:34 +0200 |
commit | 8b0953d8cdbf676cf100bcb0f77a0c82755b53ae (patch) | |
tree | 9ebfdfa1bf8bd7d663b35482b622338a14c8133c /src/kernel/arch/amd64/interrupts.h | |
parent | 14fd2aecd074fb93bb509df0c1cedd1f1055a4a6 (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.h | 2 |
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; |