From c69cbd7854d7cbda08679c389973aa87c9fb37bd Mon Sep 17 00:00:00 2001 From: Bob Huang Date: Thu, 25 Apr 2024 20:26:22 +0800 Subject: [PATCH] pic: unmask all on icw1 --- src/rust/cpu/pic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust/cpu/pic.rs b/src/rust/cpu/pic.rs index b8b8882304..613854dceb 100644 --- a/src/rust/cpu/pic.rs +++ b/src/rust/cpu/pic.rs @@ -188,7 +188,7 @@ impl Pic { dbg_log!("icw1 = {:x}", v); self.isr = 0; self.irr = 0; - self.irq_mask = 0; + self.irq_mask = 0xff; self.irq_value = 0; self.auto_eoi = true;