diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-28 16:50:26 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-28 16:50:26 +0000 |
commit | d18d8a1d0e370f8ce6ccc2725f4170586d457e53 (patch) | |
tree | 7e852b6f4c4277a38734d09870eae180a113b7e9 /EmulatorPkg/Sec/Ia32/SwitchRam.S | |
parent | bb89ec1a7ec2f8d35033df9e47b3604925da3bd3 (diff) | |
download | edk2-platforms-d18d8a1d0e370f8ce6ccc2725f4170586d457e53.tar.xz |
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
Diffstat (limited to 'EmulatorPkg/Sec/Ia32/SwitchRam.S')
-rw-r--r-- | EmulatorPkg/Sec/Ia32/SwitchRam.S | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/EmulatorPkg/Sec/Ia32/SwitchRam.S b/EmulatorPkg/Sec/Ia32/SwitchRam.S index 81e478be82..39304daef1 100644 --- a/EmulatorPkg/Sec/Ia32/SwitchRam.S +++ b/EmulatorPkg/Sec/Ia32/SwitchRam.S @@ -20,7 +20,7 @@ #------------------------------------------------------------------------------
.text
-
+
//------------------------------------------------------------------------------
// VOID
@@ -29,26 +29,26 @@ // UINT32 TemporaryMemoryBase,
// UINT32 PermenentMemoryBase
// )//
-//------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(SecSwitchStack)
ASM_PFX(SecSwitchStack):
#
# Save three register: eax, ebx, ecx
-#
+#
push %eax
push %ebx
push %ecx
push %edx
-
+
#
# !!CAUTION!! this function address's is pushed into stack after
# migration of whole temporary memory, so need save it to permenent
# memory at first!
-#
-
+#
+
movl 20(%esp), %ebx # Save the first parameter
movl 24(%esp), %ecx # Save the second parameter
-
+
#
# Save this function's return address into permenent memory at first.
# Then, Fixup the esp point to permenent memory
@@ -77,16 +77,16 @@ ASM_PFX(SecSwitchStack): subl %ebx, %eax
addl %ecx, %eax
movl %eax, %ebp # From now, ebp is pointed to permenent memory
-
+
#
# Fixup callee's ebp point for PeiDispatch
-#
+#
movl (%ebp), %eax
subl %ebx, %eax
addl %ecx, %eax
movl %eax, (%ebp) # From now, Temporary's PPI caller's stack is in permenent memory
-#endif
-
+#endif
+
pop %edx
pop %ecx
pop %ebx
|