summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/interrupts.h
AgeCommit message (Collapse)Author
2024-08-02kernel/interrupts: use UserRegs in the isr handlerdzwdz
2024-07-22kernel/isr: improve interrupt handling codedzwdz
On the assembly side, ensure the stack frame looks always the same, by pushing a fake "error code" for the interrupts that don't generate one. On the C side, use a struct instead of magic indices into an "array", and make it consistent with the current style.
2023-09-19kernel: use HPET timer for sleepsdzwdz
not strictly necessary, but this should improve: 1. sleep performance 2. power efficiency when idle
2023-01-25kernel/irq: use a lookup table for irqsdzwdz