diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-09 13:52:31 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-09 13:52:31 +0200 |
| commit | deabd68158b865f2bcf928c604d6c46f73832d0a (patch) | |
| tree | 725b2e23c40d9fd812200e7a3adab7f977761f3c /src/utils/pic.c | |
| parent | f6323421e22c3585c58b54658a11e1e4706cc8fa (diff) | |
Add infos
Diffstat (limited to 'src/utils/pic.c')
| -rw-r--r-- | src/utils/pic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/pic.c b/src/utils/pic.c index dcbd983..f811d04 100644 --- a/src/utils/pic.c +++ b/src/utils/pic.c @@ -3,7 +3,7 @@ #include "mem.h" struct IDT_REGISTER IDTR={ - 100*8, + 200*8, 0x0 }; @@ -29,7 +29,7 @@ extern u32 PIC_IRQ_DEFAULT,PIC_IRQ_PRINT,PIC_IRQ_CLOCK; void pic_enable_interrupt(){ // Map first default 32 entries - for(int i=0;i<100;i++){ + for(int i=0;i<200;i++){ pic_add_idt_entry((IDT_ENTRY){0x08,(u32)&PIC_IRQ_DEFAULT,IDT_TYPE_1},i); if(i==32) pic_add_idt_entry((IDT_ENTRY){0x08,(u32)&PIC_IRQ_CLOCK,IDT_TYPE_1},i); |
