a20: A20Test is now a dword
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 21 Apr 2009 23:12:15 +0000 (16:12 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 21 Apr 2009 23:12:15 +0000 (16:12 -0700)
A20Test is now a dword; this makes it less likely that we'll have a
case of false aliasing resulting in the io_delay path being taken.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
core/bcopy32.inc

index f2cc6ca..cd89482 100644 (file)
@@ -200,11 +200,12 @@ _io_delay:        out IO_DELAY_PORT,al
                ret
 
                section .data
-               align 2
+               alignz 2
 A20Ptr         dw a20_dunno
 
                section .bss
-A20Test                resw 1                  ; Counter for testing A20 status
+               alignb 4
+A20Test                resd 1                  ; Counter for testing A20 status
 A20Tries       resb 1                  ; Times until giving up on A20
 
                section .text