#\r
# Abstract:\r
#\r
-# Switch the stack from temporary memory to permenent memory.\r
+# Switch the stack from temporary memory to permanent memory.\r
#\r
#------------------------------------------------------------------------------\r
\r
\r
#\r
# !!CAUTION!! this function address's is pushed into stack after\r
-# migration of whole temporary memory, so need save it to permenent\r
+# migration of whole temporary memory, so need save it to permanent\r
# memory at first!\r
#\r
\r
movl 24(%esp), %ecx # Save the second parameter\r
\r
#\r
-# Save this function's return address into permenent memory at first.\r
-# Then, Fixup the esp point to permenent memory\r
+# Save this function's return address into permanent memory at first.\r
+# Then, Fixup the esp point to permanent memory\r
#\r
\r
movl %esp, %eax\r
subl %ebx, %eax\r
addl %ecx, %eax\r
- movl (%esp), %edx # copy pushed register's value to permenent memory\r
+ movl (%esp), %edx # copy pushed register's value to permanent memory\r
movl %edx, (%eax)\r
movl 4(%esp), %edx\r
movl %edx, 4(%eax)\r
movl %edx, 12(%eax)\r
movl 16(%esp), %edx\r
movl %edx, 16(%eax)\r
- movl %eax, %esp # From now, esp is pointed to permenent memory\r
+ movl %eax, %esp # From now, esp is pointed to permanent memory\r
\r
#\r
-# Fixup the ebp point to permenent memory\r
+# Fixup the ebp point to permanent memory\r
#\r
#ifndef __APPLE__\r
movl %ebp, %eax\r
subl %ebx, %eax\r
addl %ecx, %eax\r
- movl %eax, %ebp # From now, ebp is pointed to permenent memory\r
+ movl %eax, %ebp # From now, ebp is pointed to permanent memory\r
\r
#\r
# Fixup callee's ebp point for PeiDispatch\r
movl (%ebp), %eax\r
subl %ebx, %eax\r
addl %ecx, %eax\r
- movl %eax, (%ebp) # From now, Temporary's PPI caller's stack is in permenent memory\r
+ movl %eax, (%ebp) # From now, Temporary's PPI caller's stack is in permanent memory\r
#endif\r
\r
pop %edx\r
;\r
; Abstract:\r
;\r
-; Switch the stack from temporary memory to permenent memory.\r
+; Switch the stack from temporary memory to permanent memory.\r
;\r
;------------------------------------------------------------------------------\r
\r
\r
;\r
; !!CAUTION!! this function address's is pushed into stack after\r
- ; migration of whole temporary memory, so need save it to permenent\r
+ ; migration of whole temporary memory, so need save it to permanent\r
; memory at first!\r
;\r
\r
mov ecx, [esp + 24] ; Save the second parameter\r
\r
;\r
- ; Save this function's return address into permenent memory at first.\r
- ; Then, Fixup the esp point to permenent memory\r
+ ; Save this function's return address into permanent memory at first.\r
+ ; Then, Fixup the esp point to permanent memory\r
;\r
mov eax, esp\r
sub eax, ebx\r
add eax, ecx\r
- mov edx, dword ptr [esp] ; copy pushed register's value to permenent memory\r
+ mov edx, dword ptr [esp] ; copy pushed register's value to permanent memory\r
mov dword ptr [eax], edx\r
mov edx, dword ptr [esp + 4]\r
mov dword ptr [eax + 4], edx\r
mov dword ptr [eax + 8], edx\r
mov edx, dword ptr [esp + 12]\r
mov dword ptr [eax + 12], edx\r
- mov edx, dword ptr [esp + 16] ; Update this function's return address into permenent memory\r
+ mov edx, dword ptr [esp + 16] ; Update this function's return address into permanent memory\r
mov dword ptr [eax + 16], edx\r
- mov esp, eax ; From now, esp is pointed to permenent memory\r
+ mov esp, eax ; From now, esp is pointed to permanent memory\r
\r
;\r
- ; Fixup the ebp point to permenent memory\r
+ ; Fixup the ebp point to permanent memory\r
;\r
mov eax, ebp\r
sub eax, ebx\r
add eax, ecx\r
- mov ebp, eax ; From now, ebp is pointed to permenent memory\r
+ mov ebp, eax ; From now, ebp is pointed to permanent memory\r
\r
;\r
; Fixup callee's ebp point for PeiDispatch\r
mov eax, dword ptr [ebp]\r
sub eax, ebx\r
add eax, ecx\r
- mov dword ptr [ebp], eax ; From now, Temporary's PPI caller's stack is in permenent memory\r
+ mov dword ptr [ebp], eax ; From now, Temporary's PPI caller's stack is in permanent memory\r
\r
pop edx\r
pop ecx\r
/*++ @file\r
- Stub SEC that is called from the OS appliation that is the root of the emulator.\r
+ Stub SEC that is called from the OS application that is the root of the emulator.\r
\r
The OS application will call the SEC with the PEI Entry Point API.\r
\r
SecReseveredMemorySize += sizeof (EFI_PEI_PPI_DESCRIPTOR);\r
\r
if ((Ppi->Flags & EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST) == EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST) {\r
- // Since we are appending, need to clear out privious list terminator.\r
+ // Since we are appending, need to clear out previous list terminator.\r
Ppi->Flags &= ~EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST;\r
break;\r
}\r
}\r
\r
\r
-\r
/*++ @file\r
- Stub SEC that is called from the OS appliation that is the root of the emulator.\r
+ Stub SEC that is called from the OS application that is the root of the emulator.\r
\r
The OS application will call the SEC with the PEI Entry Point API.\r
\r
\r
\r
//\r
-// I think this shold be defined in a MdePkg include file?\r
+// I think this should be defined in a MdePkg include file?\r
//\r
VOID\r
EFIAPI\r
#------------------------------------------------------------------------------\r
#\r
# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
-# Portitions copyright (c) 2011, Apple Inc. All rights reserved.\r
+# Portions copyright (c) 2011, Apple Inc. All rights reserved.\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
#------------------------------------------------------------------------------\r
;------------------------------------------------------------------------------\r
;\r
; Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
-; Portitions copyright (c) 2011, Apple Inc. All rights reserved.\r
+; Portions copyright (c) 2011, Apple Inc. All rights reserved.\r
; SPDX-License-Identifier: BSD-2-Clause-Patent\r
;\r
;------------------------------------------------------------------------------\r