diff options
author | Anton Kling <anton@kling.gg> | 2023-10-25 22:40:26 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-30 21:49:48 +0100 |
commit | 0503ff5d7c1630d19ca494621b4fd34a53ddc41e (patch) | |
tree | ec95948fdac4c8a59026df59a5ab08f73c606a14 /cpu | |
parent | 9ea708da24784d2f4960f0353b7a08c0c2c08145 (diff) |
Kernel: Add basic support for PCI and rtl8139
This implementation is very messy and is currently not used.
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/idt.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -257,9 +257,10 @@ void idt_init(void) { install_handler(kernel_general_protection_fault, INT_32_TRAP_GATE(0x0), 0xD); PIC_remap(0x20); - // IRQ_set_mask(0xc); - IRQ_clear_mask(0x5); - IRQ_clear_mask(0xB); + IRQ_clear_mask(0xb); + IRQ_set_mask(0xe); + IRQ_set_mask(0xf); + IRQ_clear_mask(2); /* IRQ_set_mask(0xe); IRQ_set_mask(2); |