]>
git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/X64/PeiServicePointer.c
30c577bf9d4958d80d94c0e6289765a5eedc33d2
3 Copyright 2007, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
25 #if (PI_SPECIFICATION_VERSION >= 0x00010000)
28 SetPeiServicesTablePointer (
29 IN EFI_PEI_SERVICES
**PeiServices
35 Save PeiService pointer so that it can be retrieved anywhere.
39 PeiServices - The direct pointer to PeiServiceTable.
40 PhyscialAddress - The physcial address of variable PeiServices.
51 GetPeiServicesTablePointer (
58 Get PeiService pointer.
65 The direct pointer to PeiServiceTable.
75 IN EFI_PEI_SERVICES
**PeiServices
81 Migrate IDT from temporary memory to real memory where preceded with 4 bytes for
82 storing PeiService pointer.
86 PeiServices - The direct pointer to PeiServiceTable.