]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointer.c
160e55302997f2197030f81b13e2625687d4e14b
3 Copyright (c) 2006 Intel Corporation. All rights reserved
4 This software and associated documentation (if any) is furnished
5 under a license and may only be used or copied in accordance
6 with the terms of the license. Except as permitted by such
7 license, no part of this software or documentation may be
8 reproduced, stored in a retrieval system, or transmitted in any
9 form or by any means without the express written consent of
14 PEI Services Table Pointer Library.
18 #include <Library/BaseLib.h>
21 The function returns the pointer to PeiServices.
23 The function returns the pointer to PeiServices.
24 It will ASSERT() if the pointer to PeiServices is NULL.
26 @retval The pointer to PeiServices.
31 GetPeiServicesTablePointer (
35 EFI_PEI_SERVICES
**PeiServices
;
37 PeiServices
= (EFI_PEI_SERVICES
**)(UINTN
)AsmReadKr7 ();
38 ASSERT (PeiServices
!= NULL
);