summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S b/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S
index 798baca96d..62cab18709 100644
--- a/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S
+++ b/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S
@@ -111,9 +111,9 @@ ASM_PFX(AsmExecute32BitCode):
Compatible:
# reload DS/ES/SS to make sure they are correct referred to current GDT
- movs %ax, %ds
- movs %ax, %es
- movs %ax, %ss
+ movw %ax, %ds
+ movw %ax, %es
+ movw %ax, %ss
#
# Disable paging