:: commit 3338c8daa33d54db894e96e70de9b6ca383d515e

pitust <piotr@stelmaszek.com> — 2021-11-04 08:19

parents: 8308cfb3f2

bootboot: flush both the pic and the apic

diff --git a/stage23/protos/bootboot.c b/stage23/protos/bootboot.c
index 1b31a3f2..301e2268 100644
--- a/stage23/protos/bootboot.c
+++ b/stage23/protos/bootboot.c
@@ -269,7 +269,7 @@ void bootboot_load(char *config) {
     pic_mask_all();
     io_apic_mask_all();
 
-    irq_flush_type = IRQ_PIC_ONLY_FLUSH;
+    irq_flush_type = IRQ_PIC_APIC_FLUSH;
 
     for (size_t i = 0;i < numcores;i++) {
         cores[i].extra_argument = 0;
tab: 248 wrap: offon