mirror of https://github.com/acidanthera/audk.git
OvmfPkg/Sec: Fix 64bit SEC build failure
Original code breaks a single assembly code to multiple lines. But, when VS CL.exe preprocesses the FixedPcdGet32() macro invocation to the replacement text, it loses '\', and causes NASM to fail. Changing the multiple lines to one line to resolve the build failure. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
ff5a4bcff3
commit
46c6b956af
|
@ -45,10 +45,8 @@ ASM_PFX(_ModuleEntryPoint):
|
|||
; Fill the temporary RAM with the initial stack value.
|
||||
; The loop below will seed the heap as well, but that's harmless.
|
||||
;
|
||||
mov rax, (FixedPcdGet32 ( \
|
||||
PcdInitValueInTempStack \
|
||||
) << 32) | \
|
||||
FixedPcdGet32 (PcdInitValueInTempStack) ; qword to store
|
||||
mov rax, (FixedPcdGet32 (PcdInitValueInTempStack) << 32) | FixedPcdGet32 (PcdInitValueInTempStack)
|
||||
; qword to store
|
||||
mov rdi, FixedPcdGet32 (PcdOvmfSecPeiTempRamBase) ; base address,
|
||||
; relative to
|
||||
; ES
|
||||
|
|
Loading…
Reference in New Issue