Skip to content

Commit 7c2ae8f

Browse files
committed
x86_64: mark al as clobbered in disable_8259
1 parent 16c2b3d commit 7c2ae8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oro-arch-x86_64/src/asm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ pub fn disable_8259() {
7676
"mov al, 0xFF",
7777
"out 0x21, al",
7878
"out 0xA1, al",
79+
out("al") _,
7980
options(nostack, preserves_flags)
8081
);
8182
}

0 commit comments

Comments
 (0)