openbsd-ports/sysutils/memtest86+/patches/patch-setup_S
2010-05-31 07:35:55 +00:00

16 lines
407 B
Plaintext

$OpenBSD: patch-setup_S,v 1.2 2010/05/31 07:35:55 form Exp $
$RuOBSD: patch-setup_S,v 1.1.1.1 2008/07/12 19:00:53 form Exp $
--- setup.S.orig Wed Apr 28 19:11:15 2010
+++ setup.S Mon May 31 14:04:56 2010
@@ -42,7 +42,9 @@ start:
jz alt_a20_done
/* set or clear bit1, the ALT_A20_GATE bit */
- movb 4(%esp), %ah
+
+addr32 movb 4(%esp), %ah
+
testb %ah, %ah
jz alt_a20_cont1
orb $2, %al