Skip to content

Commit 02b4eec

Browse files
fix this to call the correct init func
1 parent b5f231c commit 02b4eec

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

include/idt.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,6 @@ void free_msi_vector(uint8_t cpu, int vec);
165165
*/
166166
void load_ap_shared_idt();
167167

168-
void load_ap_shared_interrupts();
168+
void load_ap_shared_interrupts();
169+
170+
void init_interrupts();

src/init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spinlock_t debug_console_spinlock = 0;
77

88
init_func_t init_funcs[] = {
99
validate_limine_page_tables_and_gdt, init_heap, init_console,
10-
init_acpi, init_idt, boot_aps, init_pci, init_realtime_clock,
10+
init_acpi, init_interrupts, boot_aps, init_pci, init_realtime_clock,
1111
init_devicenames, init_keyboard, init_ide, init_ahci, init_nvme,
1212
init_virtio_block, init_filesystem, init_devfs, init_iso9660, init_udf,
1313
init_adfs, init_fat32, init_rfs, init_modules, network_up, audio_init,
@@ -16,7 +16,7 @@ init_func_t init_funcs[] = {
1616

1717
char* init_funcs_names[] = {
1818
"gdt", "heap", "console", "acpi",
19-
"idt", "cpus", "pci", "clock",
19+
"interrupts", "cpus", "pci", "clock",
2020
"devicenames", "keyboard", "ide", "ahci",
2121
"nvme", "virtio-block", "filesystem", "devfs",
2222
"iso9660", "udf", "adfs", "fat32",

0 commit comments

Comments
 (0)