From 2ba58d6b68e02a4aa9cd6e2a61990f8f2713f08c Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Sun, 8 Nov 2026 08:17:44 +0800 Subject: [mubios] Store and Restore DS in irq0_entry Signed-off-by: Richard Qin --- mubios/arch/irq.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mubios/arch/irq.S') diff --git a/mubios/arch/irq.S b/mubios/arch/irq.S index 324ae05..5745911 100644 --- a/mubios/arch/irq.S +++ b/mubios/arch/irq.S @@ -34,6 +34,7 @@ irq0_entry: push ax push bx + push ds xor bx, bx mov ds, bx @@ -60,6 +61,7 @@ irq0_send_eoi: mov al, 0x20 out 0x20, al + pop ds pop bx pop ax iret -- cgit v1.2.3