Updated idt.h `18-interrupts`

Fix to get rid any possible multiple definition errors in `18-interrupts`
pull/169/head
Sriram Shanmuga 4 years ago committed by GitHub
parent 7aff64740e
commit 9915d1fc1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,9 +28,8 @@ typedef struct {
} __attribute__((packed)) idt_register_t;
#define IDT_ENTRIES 256
idt_gate_t idt[IDT_ENTRIES];
idt_register_t idt_reg;
extern idt_gate_t idt[IDT_ENTRIES];
extern idt_register_t idt_reg;
/* Functions implemented in idt.c */
void set_idt_gate(int n, u32 handler);

Loading…
Cancel
Save