Revision: 16533
http://sourceforge.net/p/edk2/code/16533
Author: vanjeff
Date: 2014-12-17 07:03:03 +0000 (Wed, 17 Dec 2014)
Log Message:
-----------
UefiCpuPkg CpuExceptionHandlerLib: Use %rax instead of %eax to make code
consistence.
Make code consistence between ASM and S files.
(Sync patch r16530 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <[email protected]>
Reviewed-by: Feng Tian <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/16530
Modified Paths:
--------------
branches/UDK2014.SP1/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ExceptionHandlerAsm.S
Modified:
branches/UDK2014.SP1/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ExceptionHandlerAsm.S
===================================================================
---
branches/UDK2014.SP1/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ExceptionHandlerAsm.S
2014-12-17 06:59:52 UTC (rev 16532)
+++
branches/UDK2014.SP1/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ExceptionHandlerAsm.S
2014-12-17 07:03:03 UTC (rev 16533)
@@ -188,13 +188,13 @@
pushq %rax # for ss
movzwq 32(%rbp), %rax
pushq %rax # for cs
- movl %ds, %eax
+ mov %ds, %rax
pushq %rax
- movl %es, %eax
+ mov %es, %rax
pushq %rax
- movl %fs, %eax
+ mov %fs, %rax
pushq %rax
- movl %gs, %eax
+ mov %gs, %rax
pushq %rax
movq %rcx, 8(%rbp) # save vector number
@@ -327,9 +327,9 @@
# mov %rax, %fs ; not for fs
# (X64 will not use fs and gs, so we do not restore it)
popq %rax
- movl %eax, %es
+ mov %rax, %es
popq %rax
- movl %eax, %ds
+ mov %rax, %ds
popq 32(%rbp) # for cs
popq 56(%rbp) # for ss
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits