Moved IRQ Init.
git-svn-id: https://spexeah.com:8443/svn/Asuro@63 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
f8a93ec5cc
commit
0f75adff47
@ -15,8 +15,7 @@ uses
|
|||||||
ISR0, ISR1, ISR2, ISR3, ISR4, ISR5, ISR6, ISR7, ISR8, ISR9,
|
ISR0, ISR1, ISR2, ISR3, ISR4, ISR5, ISR6, ISR7, ISR8, ISR9,
|
||||||
ISR10, ISR11, ISR12, ISR13, ISR14, ISR15, ISR16, ISR17, ISR18,
|
ISR10, ISR11, ISR12, ISR13, ISR14, ISR15, ISR16, ISR17, ISR18,
|
||||||
ISR32, ISR33,
|
ISR32, ISR33,
|
||||||
ISR49,
|
ISR49;
|
||||||
irq;
|
|
||||||
|
|
||||||
procedure init();
|
procedure init();
|
||||||
|
|
||||||
@ -24,7 +23,6 @@ implementation
|
|||||||
|
|
||||||
procedure init();
|
procedure init();
|
||||||
begin
|
begin
|
||||||
irq.init();
|
|
||||||
ISR0.register(); // Divide-By-Zero
|
ISR0.register(); // Divide-By-Zero
|
||||||
ISR1.register(); // Debug
|
ISR1.register(); // Debug
|
||||||
ISR2.register(); // Non-Maskable Inturrupt
|
ISR2.register(); // Non-Maskable Inturrupt
|
||||||
|
@ -8,6 +8,7 @@ uses
|
|||||||
gdt,
|
gdt,
|
||||||
idt,
|
idt,
|
||||||
isr,
|
isr,
|
||||||
|
irq,
|
||||||
console,
|
console,
|
||||||
bios_data_area,
|
bios_data_area,
|
||||||
keyboard;
|
keyboard;
|
||||||
@ -30,6 +31,7 @@ begin
|
|||||||
gdt.init();
|
gdt.init();
|
||||||
idt.init();
|
idt.init();
|
||||||
isr.init();
|
isr.init();
|
||||||
|
irq.init();
|
||||||
console.init();
|
console.init();
|
||||||
console.writestringln('Booting Asuro...');
|
console.writestringln('Booting Asuro...');
|
||||||
if (mbm <> MULTIBOOT_BOOTLOADER_MAGIC) then begin
|
if (mbm <> MULTIBOOT_BOOTLOADER_MAGIC) then begin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user