diff options
-rw-r--r-- | EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S b/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S index 62cab18709..3dd6bf3996 100644 --- a/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S +++ b/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S @@ -200,11 +200,11 @@ ReloadCS: #
pop %r9 # get CS
shl $32, %r9 # rcx[32..47] <- Cs
- lea @F(%rip), %rcx
+ lea ReturnToLongMode(%rip), %rcx
orq %r9, %rcx
push %rcx
retf
-@@:
+ReturnToLongMode:
#
# Reload original DS/ES/SS
#
|