Implement interrupts

This commit is contained in:
2025-08-19 22:51:33 +02:00
parent 92ccd189e7
commit 3f6df79885
14 changed files with 455 additions and 101 deletions

7
kernel/hal/x86_64/cpu.h Normal file
View File

@ -0,0 +1,7 @@
#ifndef HAL_CPU_H_
#define HAL_CPU_H_
uint64_t cpu_rdmsr(uint32_t id);
uint64_t cpu_wrmsr(uint32_t id, uint64_t val);
#endif // HAL_CPU_H_