mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
Moved idt and idt reg from idt.h to idt.c
Moved idt and idt reg from idt.h to idt.c to fix the make error: multiple definitions of ...
This commit is contained in:
parent
7aff64740e
commit
8b16fc9eff
@ -28,8 +28,6 @@ typedef struct {
|
||||
} __attribute__((packed)) idt_register_t;
|
||||
|
||||
#define IDT_ENTRIES 256
|
||||
idt_gate_t idt[IDT_ENTRIES];
|
||||
idt_register_t idt_reg;
|
||||
|
||||
|
||||
/* Functions implemented in idt.c */
|
||||
|
Loading…
Reference in New Issue
Block a user