EmulatorPkg: Remove all trailing whitespace
Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11919 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
// SecTemporaryRamSupport (
|
||||
// IN CONST EFI_PEI_SERVICES **PeiServices, // %rcx
|
||||
// IN EFI_PHYSICAL_ADDRESS TemporaryMemoryBase, // %rdx
|
||||
// IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase, // %r8
|
||||
// IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase, // %r8
|
||||
// IN UINTN CopySize // %r9
|
||||
// )
|
||||
//
|
||||
@@ -28,7 +28,7 @@ ASM_PFX(SecTemporaryRamSupport):
|
||||
// Adjust callers %rbp to account for stack move
|
||||
subq %rdx, %rbp // Calc offset of %rbp in Temp Memory
|
||||
addq %r8, %rbp // add in permanent base to offset
|
||||
|
||||
|
||||
pushq %rbp // stack frame is for the debugger
|
||||
movq %rsp, %rbp
|
||||
|
||||
@@ -51,13 +51,13 @@ ASM_PFX(SecTemporaryRamSupport):
|
||||
popq %r9 // CopySize (old stack)
|
||||
popq %r8 // PermanentMemoryBase (old stack)
|
||||
popq %rdx // TemporaryMemoryBase (old stack)
|
||||
|
||||
|
||||
movq %rsp, %rcx // Move to new stack
|
||||
subq %rdx, %rcx // Calc offset of stack in Temp Memory
|
||||
addq %r8, %rcx // Calc PermanentMemoryBase address
|
||||
movq %rcx, %rsp // Update stack
|
||||
movq %rcx, %rsp // Update stack
|
||||
// Stack now points to permanent memory
|
||||
|
||||
|
||||
// ZeroMem (TemporaryMemoryBase /* rcx */, CopySize /* rdx */);
|
||||
movq %rdx, %rcx
|
||||
movq %r9, %rdx
|
||||
|
Reference in New Issue
Block a user