#ifndef __PEI_PI_LIB_H__\r
#define __PEI_PI_LIB_H__\r
\r
-#include <Pi/PiFirmwareFile.h>\r
-\r
/**\r
- Install a EFI_PEI_FIRMWARE_VOLUME_INFO PPI to inform PEI core about the existence of a new Firmware Volume.\r
+ Install a EFI_PEI_FIRMWARE_VOLUME_INFO PPI to inform PEI core about the existence of a new Firmware Volume.\r
\r
- The function allocate the EFI_PEI_PPI_DESCRIPTOR structure and update the fields accordingly to parameter passed\r
- in and install the PPI.\r
- \r
- @param FvFormat Unique identifier of the format of the memory-mapped firmware volume. If NULL is specified,\r
- EFI_FIRMWARE_FILE_SYSTEM2_GUID is used as the Format GUID.\r
- @param FvInfo Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to\r
- process the volume. The format of this buffer is specific to the FvFormat. For\r
- memory-mapped firmware volumes, this typically points to the first byte of the\r
- firmware volume.\r
- @param FvInfoSize Size of the data provided by FvInfo. For memory-mapped firmware volumes, this is\r
- typically the size of the firmware volume.\r
- @param ParentFvName, ParentFileName If the firmware volume originally came from a firmware file, then these point to the\r
- parent firmware volume name and firmware volume file. If it did not originally come\r
- from a firmware file, these should be NULL\r
+ The function allocate the EFI_PEI_PPI_DESCRIPTOR structure and update the fields accordingly to parameter passed\r
+ in and install the PPI.\r
\r
- \r
+ @param FvFormat Unique identifier of the format of the memory-mapped firmware volume. \r
+ If NULL is specified, EFI_FIRMWARE_FILE_SYSTEM2_GUID is used as the Format GUID.\r
+ @param FvInfo Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to\r
+ process the volume. The format of this buffer is specific to the FvFormat. For\r
+ memory-mapped firmware volumes, this typically points to the first byte of the\r
+ firmware volume.\r
+ @param FvInfoSize Size of the data provided by FvInfo. For memory-mapped firmware volumes, this is\r
+ typically the size of the firmware volume.\r
+ @param ParentFvName If the firmware volume originally came from a firmware file, then these point to the\r
+ parent firmware volume name. If it did not originally come from a firmware file, \r
+ these should be NULL.\r
+ @param ParentFileName If the firmware volume originally came from a firmware file, then these point to the\r
+ firmware volume file. If it did not originally come from a firmware file, \r
+ these should be NULL.\r
+ \r
**/\r
VOID\r
EFIAPI\r
VOID\r
EFIAPI\r
SetPeiServicesTablePointer (\r
- EFI_PEI_SERVICES ** PeiServicesTablePointer\r
+ IN EFI_PEI_SERVICES ** PeiServicesTablePointer\r
);\r
\r
#endif\r
};\r
\r
/**\r
- Install a EFI_PEI_FIRMWARE_VOLUME_INFO PPI to inform PEI core about the existence of a new Firmware Volume.\r
+ Install a EFI_PEI_FIRMWARE_VOLUME_INFO PPI to inform PEI core about the existence of a new Firmware Volume.\r
\r
- The function allocate the EFI_PEI_PPI_DESCRIPTOR structure and update the fields accordingly to parameter passed\r
- in and install the PPI.\r
- \r
- @param FvFormat Unique identifier of the format of the memory-mapped firmware volume. If NULL is specified,\r
- EFI_FIRMWARE_FILE_SYSTEM2_GUID is used as the Format GUID.\r
- @param FvInfo Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to\r
- process the volume. The format of this buffer is specific to the FvFormat. For\r
- memory-mapped firmware volumes, this typically points to the first byte of the\r
- firmware volume.\r
- @param FvInfoSize Size of the data provided by FvInfo. For memory-mapped firmware volumes, this is\r
- typically the size of the firmware volume.\r
- @param ParentFvName If the firmware volume originally came from a firmware file, then these point to the\r
- parent firmware volume name. If it did not originally come\r
- from a firmware file, these should be NULL.\r
- @param ParentFileName If the firmware volume originally came from a firmware file, then these point to the\r
- firmware volume file. If it did not originally come\r
- from a firmware file, these should be NULL.\r
+ The function allocate the EFI_PEI_PPI_DESCRIPTOR structure and update the fields accordingly to parameter passed\r
+ in and install the PPI.\r
\r
+ @param FvFormat Unique identifier of the format of the memory-mapped firmware volume. \r
+ If NULL is specified, EFI_FIRMWARE_FILE_SYSTEM2_GUID is used as the Format GUID.\r
+ @param FvInfo Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to\r
+ process the volume. The format of this buffer is specific to the FvFormat. For\r
+ memory-mapped firmware volumes, this typically points to the first byte of the\r
+ firmware volume.\r
+ @param FvInfoSize Size of the data provided by FvInfo. For memory-mapped firmware volumes, this is\r
+ typically the size of the firmware volume.\r
+ @param ParentFvName If the firmware volume originally came from a firmware file, then these point to the\r
+ parent firmware volume name. If it did not originally come from a firmware file, \r
+ these should be NULL.\r
+ @param ParentFileName If the firmware volume originally came from a firmware file, then these point to the\r
+ firmware volume file. If it did not originally come from a firmware file, \r
+ these should be NULL.\r
+ \r
**/\r
VOID\r
EFIAPI\r
VOID\r
EFIAPI\r
SetPeiServicesTablePointer (\r
- EFI_PEI_SERVICES **PeiServices\r
+ IN EFI_PEI_SERVICES **PeiServices\r
)\r
{\r
gPeiServices = PeiServices;\r
VOID\r
EFIAPI\r
SetPeiServicesTablePointer (\r
- EFI_PEI_SERVICES ** PeiServicesTablePointer\r
+ IN EFI_PEI_SERVICES ** PeiServicesTablePointer\r
)\r
{\r
IA32_DESCRIPTOR Idtr;\r
VOID\r
EFIAPI\r
SetPeiServicesTablePointer (\r
- EFI_PEI_SERVICES ** PeiServicesTablePointer\r
+ IN EFI_PEI_SERVICES ** PeiServicesTablePointer\r
)\r
{\r
AsmWriteKr7 ((UINT64)(UINTN)PeiServicesTablePointer);\r