]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix GCC build failure.
authorjyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Dec 2010 11:06:17 +0000 (11:06 +0000)
committerjyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Dec 2010 11:06:17 +0000 (11:06 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11200 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S

index 798baca96d042fb3540fc33393dd666dba3b9b5c..62cab18709d17637e3f9ba7417718d0f274acc79 100644 (file)
@@ -111,9 +111,9 @@ ASM_PFX(AsmExecute32BitCode):
 \r
 Compatible:\r
     # reload DS/ES/SS to make sure they are correct referred to current GDT\r
-    movs    %ax, %ds\r
-    movs    %ax, %es\r
-    movs    %ax, %ss\r
+    movw    %ax, %ds\r
+    movw    %ax, %es\r
+    movw    %ax, %ss\r
 \r
     #\r
     # Disable paging\r