aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2009-04-21 16:12:15 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2009-04-21 16:12:15 -0700
commit2ad8c1a9e28a5f6092d99c94c8425419424f26d7 (patch)
treeb384317e4e67b10d91f85deb33422e96d516f480
parent8e1b32e8f5f28e49eff7a0cf39e7d2d31e379b1c (diff)
downloadsyslinux.git-2ad8c1a9e28a5f6092d99c94c8425419424f26d7.tar.gz
syslinux.git-2ad8c1a9e28a5f6092d99c94c8425419424f26d7.tar.xz
syslinux.git-2ad8c1a9e28a5f6092d99c94c8425419424f26d7.zip
a20: A20Test is now a dword
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>
-rw-r--r--core/bcopy32.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/bcopy32.inc b/core/bcopy32.inc
index f2cc6cab..cd894827 100644
--- a/core/bcopy32.inc
+++ b/core/bcopy32.inc
@@ -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