Revision: 16531
          http://sourceforge.net/p/edk2/code/16531
Author:   vanjeff
Date:     2014-12-17 05:31:42 +0000 (Wed, 17 Dec 2014)
Log Message:
-----------
SourceLevelDebugPkg DebugAgentLib: Fix build error with GNU assembler

Use mov instead of movw.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <[email protected]>
Reviewed-by: Feng Tian <[email protected]>

Modified Paths:
--------------
    
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/AsmFuncs.S

Modified: 
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/AsmFuncs.S
===================================================================
--- 
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/AsmFuncs.S
   2014-12-17 05:30:33 UTC (rev 16530)
+++ 
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/AsmFuncs.S
   2014-12-17 05:31:42 UTC (rev 16531)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------
 #
-# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2006 - 2014, 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
@@ -271,13 +271,13 @@
   movzwq   32(%rbp), %rax
 #  movq     %cs, %rax
   pushq    %rax
-  movw     %ds, %rax
+  mov      %ds, %rax
   pushq    %rax
-  movw     %es, %rax
+  mov      %es, %rax
   pushq    %rax
-  movw     %fs, %rax
+  mov      %fs, %rax
   pushq    %rax
-  movw     %gs, %rax
+  mov      %gs, %rax
   pushq    %rax
 
 ## UINT64  Rip;
@@ -385,9 +385,9 @@
   # mov     fs, rax ; not for fs
   # (X64 will not use fs and gs, so we do not restore it)
    popq     %rax
-  movw    %rax, %es
+   mov      %rax, %es
    popq     %rax
-  movw    %rax, %ds
+   mov      %rax, %ds
    popq     32(%rbp)
    popq     56(%rbp)
 


------------------------------------------------------------------------------
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

Reply via email to