cfenollosa_os-tutorial/18-interrupts/cpu
ppw d24ea64b7b
remove idt & idt_reg
"idt.h" included by idt.c and kernel.c, which will cause link failed. so move the definition of idt to idt.c to avoid the failure below.

ld: cpu/idt.o:(.bss+0x0): multiple definition of `idt'; kernel/kernel.o:(.bss+0x0): first defined here
ld: cpu/idt.o:(.bss+0x800): multiple definition of `idt_reg'; kernel/kernel.o:(.bss+0x800): first defined here
ld: cpu/isr.o:(.bss+0x0): multiple definition of `idt'; kernel/kernel.o:(.bss+0x0): first defined here
ld: cpu/isr.o:(.bss+0x800): multiple definition of `idt_reg'; kernel/kernel.o:(.bss+0x800): first defined here
2020-09-21 10:18:12 +08:00
..
idt.c Lesson 18 - the IDT 2015-02-02 12:32:46 +01:00
idt.h remove idt & idt_reg 2020-09-21 10:18:12 +08:00
interrupt.asm Lesson 18 - the IDT 2015-02-02 12:32:46 +01:00
isr.c Lesson 18 - the IDT 2015-02-02 12:32:46 +01:00
isr.h Lesson 18 - the IDT 2015-02-02 12:32:46 +01:00
types.h Lesson 18 - the IDT 2015-02-02 12:32:46 +01:00