x86_64: add basic interrupt handling

This commit is contained in:
2023-02-08 20:24:40 +00:00
parent 18c5b34923
commit 5e10f566a4
7 changed files with 515 additions and 3 deletions

View File

@@ -2,11 +2,13 @@
#define SOCKS_X86_64_CPU_H_
#include <arch/gdt.h>
#include <arch/irq.h>
typedef struct ml_cpu_block {
struct gdt c_gdt;
struct gdt_ptr c_gdt_ptr;
struct idt_ptr c_idt_ptr;
} ml_cpu_block;
extern int ml_init_bootcpu(void);