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>
; Fill the temporary RAM with the initial stack value.\r
; The loop below will seed the heap as well, but that's harmless.\r
;\r
- mov rax, (FixedPcdGet32 ( \\r
- PcdInitValueInTempStack \\r
- ) << 32) | \\r
- FixedPcdGet32 (PcdInitValueInTempStack) ; qword to store\r
+ mov rax, (FixedPcdGet32 (PcdInitValueInTempStack) << 32) | FixedPcdGet32 (PcdInitValueInTempStack)\r
+ ; qword to store\r
mov rdi, FixedPcdGet32 (PcdOvmfSecPeiTempRamBase) ; base address,\r
; relative to\r
; ES\r