summaryrefslogtreecommitdiffstats
path: root/UnixPkg/Library/UnixBaseLib/X64/Thunk16.S
diff options
context:
space:
mode:
Diffstat (limited to 'UnixPkg/Library/UnixBaseLib/X64/Thunk16.S')
-rw-r--r--UnixPkg/Library/UnixBaseLib/X64/Thunk16.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/UnixPkg/Library/UnixBaseLib/X64/Thunk16.S b/UnixPkg/Library/UnixBaseLib/X64/Thunk16.S
index fa9b3d6035..049ec86355 100644
--- a/UnixPkg/Library/UnixBaseLib/X64/Thunk16.S
+++ b/UnixPkg/Library/UnixBaseLib/X64/Thunk16.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -104,7 +104,7 @@ L_1:
orb $2,%al
outb %al, $0x92 # deactivate A20M#
L_2:
- movl %ss,%eax
+ movw %ss,%ax
lea IA32_REGS_SIZE(%esp), %bp
#
# rsi in the following 2 instructions is indeed bp in 16-bit code