x86_64: add basic interrupt handling
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user