X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=EmulatorPkg%2FLibrary%2FPeiServicesTablePointerLib%2FPeiServicesTablePointer.c;h=c34997854b1d08f33a587f81e5968e3f68d7caf6;hb=d18d8a1d0e370f8ce6ccc2725f4170586d457e53;hp=3454660fecc91d48cdbb5bdbbc237149a6196119;hpb=bb89ec1a7ec2f8d35033df9e47b3604925da3bd3;p=mirror_edk2.git diff --git a/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c b/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c index 3454660fec..c34997854b 100644 --- a/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c +++ b/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c @@ -1,11 +1,11 @@ /** @file PEI Services Table Pointer Library. - + This library is used for PEIM which does executed from flash device directly but executed in memory. Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
- Portiions copyrigth (c) 2011, Apple Inc. All rights reserved. + Portiions copyrigth (c) 2011, Apple Inc. All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -26,14 +26,14 @@ CONST EFI_PEI_SERVICES **gPeiServices = NULL; /** - Caches a pointer PEI Services Table. - - Caches the pointer to the PEI Services Table specified by PeiServicesTablePointer - in a CPU specific manner as specified in the CPU binding section of the Platform Initialization - Pre-EFI Initialization Core Interface Specification. - + Caches a pointer PEI Services Table. + + Caches the pointer to the PEI Services Table specified by PeiServicesTablePointer + in a CPU specific manner as specified in the CPU binding section of the Platform Initialization + Pre-EFI Initialization Core Interface Specification. + If PeiServicesTablePointer is NULL, then ASSERT(). - + @param PeiServicesTablePointer The address of PeiServices pointer. **/ VOID @@ -50,10 +50,10 @@ SetPeiServicesTablePointer ( /** Retrieves the cached value of the PEI Services Table pointer. - Returns the cached value of the PEI Services Table pointer in a CPU specific manner - as specified in the CPU binding section of the Platform Initialization Pre-EFI + Returns the cached value of the PEI Services Table pointer in a CPU specific manner + as specified in the CPU binding section of the Platform Initialization Pre-EFI Initialization Core Interface Specification. - + If the cached PEI Services Table pointer is NULL, then ASSERT(). @return The pointer to PeiServices. @@ -101,13 +101,13 @@ PeiServicesTablePointerNotifyCallback ( EFI_PEI_NOTIFY_DESCRIPTOR mNotifyOnThunkList = { (EFI_PEI_PPI_DESCRIPTOR_NOTIFY_CALLBACK | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST), &gEfiPeiMemoryDiscoveredPpiGuid, - PeiServicesTablePointerNotifyCallback + PeiServicesTablePointerNotifyCallback }; /** - Constructor register notification on when PPI updates. If PPI is - alreay installed registering the notify will cause the handle to + Constructor register notification on when PPI updates. If PPI is + alreay installed registering the notify will cause the handle to run. @param FileHandle The handle of FFS header the loaded driver.