mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 05:58:22 +00:00
kernel: initial interrupt abstraction implementation
This commit is contained in:
@@ -6,11 +6,13 @@
|
||||
|
||||
#include <arch/msr.h>
|
||||
#include <arch/ist.h>
|
||||
#include <kernel/interrupt.h>
|
||||
|
||||
typedef struct {
|
||||
uint64_t gdt[7];
|
||||
ist_t ist;
|
||||
int lapicid;
|
||||
long id;
|
||||
isr_t isr[MAX_ISR_COUNT];
|
||||
} cpu_t;
|
||||
|
||||
static inline cpu_t *_cpu() {
|
||||
|
||||
Reference in New Issue
Block a user