Skip to content

Commit 39a40a3

Browse files
authored
Merge pull request #2645 from swausd/master
Fix error to enable set_a20 and reset_a20 when USE_HIMEM_AT is configured
2 parents be2490d + e9a5671 commit 39a40a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

elks/arch/i86/lib/a20-ibm.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ empty_8042:
128128
set_a20:
129129
pushf # save interrupt status
130130
cli # interrupts off
131-
xor %ah,%ah
131+
or %ah,%ah
132132
jz reset_a20
133133

134134
call sync_8042

0 commit comments

Comments
 (0)