]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Library/PeiPiLib.h
2 MDE PI library functions and macros for PEI phase
4 Copyright (c) 2007, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef __PEI_PI_LIB_H__
16 #define __PEI_PI_LIB_H__
18 #include <Pi/PiFirmwareFile.h>
21 Install a EFI_PEI_FIRMWARE_VOLUME_INFO PPI to inform PEI core about the existence of a new Firmware Volume.
23 The function allocate the EFI_PEI_PPI_DESCRIPTOR structure and update the fields accordingly to parameter passed
24 in and install the PPI.
26 @param FvFormat Unique identifier of the format of the memory-mapped firmware volume. If NULL is specified,
27 EFI_FIRMWARE_FILE_SYSTEM2_GUID is used as the Format GUID.
28 @param FvInfo Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to
29 process the volume. The format of this buffer is specific to the FvFormat. For
30 memory-mapped firmware volumes, this typically points to the first byte of the
32 @param FvInfoSize Size of the data provided by FvInfo. For memory-mapped firmware volumes, this is
33 typically the size of the firmware volume.
34 @param ParentFvName, ParentFileName If the firmware volume originally came from a firmware file, then these point to the
35 parent firmware volume name and firmware volume file. If it did not originally come
36 from a firmware file, these should be NULL
43 PiLibInstallFvInfoPpi (
44 IN EFI_GUID
*FvFormat
, OPTIONAL
47 IN EFI_GUID
*ParentFvName
, OPTIONAL
48 IN EFI_GUID
*PraentFileName OPTIONAL