git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5109
6f19259b-4bc3-4df7-8a09-
765794883524
#ifndef __PEI_PCI_CFG_H__\r
#define __PEI_PCI_CFG_H__\r
\r
#ifndef __PEI_PCI_CFG_H__\r
#define __PEI_PCI_CFG_H__\r
\r
+#include <Pi/PiPeiCis.h>\r
+\r
#define EFI_PEI_PCI_CFG_PPI_INSTALLED_GUID \\r
{ \\r
0xe1f2eba0, 0xf7b9, 0x4a26, {0x86, 0x20, 0x13, 0x12, 0x21, 0x64, 0x2a, 0x90 } \\r
#define EFI_PEI_PCI_CFG_PPI_INSTALLED_GUID \\r
{ \\r
0xe1f2eba0, 0xf7b9, 0x4a26, {0x86, 0x20, 0x13, 0x12, 0x21, 0x64, 0x2a, 0x90 } \\r
- @par Ppi Description:\r
The EFI_PEI_PCI_CFG_PPI interfaces are used to abstract accesses to PCI \r
controllers behind a PCI root bridge controller.\r
\r
The EFI_PEI_PCI_CFG_PPI interfaces are used to abstract accesses to PCI \r
controllers behind a PCI root bridge controller.\r
\r
@param Address The MMIO register to read.\r
The caller is responsible for aligning the Address if required.\r
@param Width The width of the I/O operation.\r
@param Address The MMIO register to read.\r
The caller is responsible for aligning the Address if required.\r
@param Width The width of the I/O operation.\r
+ @param Data The value to write to the I/O port.\r
+ \r
@return Data read from registers in the EFI system memory space.\r
\r
**/\r
@return Data read from registers in the EFI system memory space.\r
\r
**/\r
@param Address The MMIO register to read.\r
The caller is responsible for aligning the Address if required.\r
@param Width The width of the I/O operation.\r
@param Address The MMIO register to read.\r
The caller is responsible for aligning the Address if required.\r
@param Width The width of the I/O operation.\r
+ @param Data The value to write to the I/O port.\r
+ \r
@return Data read from registers in the EFI system memory space.\r
\r
**/\r
@return Data read from registers in the EFI system memory space.\r
\r
**/\r
Then, EFI_HII_PACKAGE_LIST will be register to the default System HII Database. The\r
Handle to the newly registered Package List is returned throught HiiHandle.\r
\r
Then, EFI_HII_PACKAGE_LIST will be register to the default System HII Database. The\r
Handle to the newly registered Package List is returned throught HiiHandle.\r
\r
- @param NumberOfPackages The number of HII packages to register.\r
- @param GuidId Package List GUID ID.\r
+ @param NumberOfPackages The number of HII packages to register.\r
+ @param GuidId Package List GUID ID.\r
+ @param DriverHandle The pointer of driver handle\r
@param HiiHandle The ID used to retrieve the Package List later.\r
@param HiiHandle The ID used to retrieve the Package List later.\r
- @param ... The variable argument list describing all HII Package.\r
+ @param ... The variable argument list describing all HII Package.\r
\r
@return\r
The allocated and initialized packages.\r
\r
@return\r
The allocated and initialized packages.\r
If HiiHandle could not be found in the default HII database, then ASSERT.\r
If StringId is not found in PackageList, then ASSERT.\r
\r
If HiiHandle could not be found in the default HII database, then ASSERT.\r
If StringId is not found in PackageList, then ASSERT.\r
\r
- @param HiiHandle The HII handle of package list.\r
+ @param PackageList The HII handle of package list.\r
@param StringId The String ID.\r
@param String The output string.\r
\r
@param StringId The String ID.\r
@param String The output string.\r
\r
@param Pack - List of variables\r
@param Name - Name of the variable/map\r
@param Guid - GUID of the variable/map\r
@param Pack - List of variables\r
@param Name - Name of the variable/map\r
@param Guid - GUID of the variable/map\r
+ @param Id - The index of the variable/map to retrieve\r
@param Var - Pointer to the variable/map\r
@param Size - Size of the variable/map in bytes\r
**/\r
@param Var - Pointer to the variable/map\r
@param Size - Size of the variable/map in bytes\r
**/\r
@param List - List of variables\r
@param Name - Name of the variable/map\r
@param Guid - GUID of the variable/map\r
@param List - List of variables\r
@param Name - Name of the variable/map\r
@param Guid - GUID of the variable/map\r
+ @param Id - Id of the variable/map\r
@param Var - Pointer to the variable/map\r
@param Size - Size of the variable/map in bytes\r
\r
@param Var - Pointer to the variable/map\r
@param Size - Size of the variable/map in bytes\r
\r
- @param EFI_SUCCESS - Variable is found, OUT parameters are valid\r
- @param EFI_NOT_FOUND - Variable is not found, OUT parameters are not valid\r
+ @return EFI_SUCCESS - Variable is found, OUT parameters are valid\r
+ @return EFI_NOT_FOUND - Variable is not found, OUT parameters are not valid\r
**/\r
EFI_STATUS\r
EfiLibHiiVariablePackListGetMapByIdx (\r
**/\r
EFI_STATUS\r
EfiLibHiiVariablePackListGetMapByIdx (\r
@param List - List of variables\r
@param Name - Name of the variable/map to be found\r
@param Guid - GUID of the variable/map to be found\r
@param List - List of variables\r
@param Name - Name of the variable/map to be found\r
@param Guid - GUID of the variable/map to be found\r
+ @param Id - Id of the variable/map to be found\r
@param Var - Pointer to the variable/map found\r
@param Size - Size of the variable/map in bytes found\r
\r
@param Var - Pointer to the variable/map found\r
@param Size - Size of the variable/map in bytes found\r
\r
can then immediately be restored back to the current TPL level with a call\r
to RestoreTPL().\r
\r
can then immediately be restored back to the current TPL level with a call\r
to RestoreTPL().\r
\r
- @param VOID\r
-\r
- @retvale EFI_TPL The current TPL.\r
+ @return The current TPL.\r
priority level of the mutual exclusion lock. Then, it places the lock in the\r
acquired state.\r
\r
priority level of the mutual exclusion lock. Then, it places the lock in the\r
acquired state.\r
\r
- @param Priority The task priority level of the lock.\r
+ @param Lock Point to EFI_LOCK instance\r
\r
@param ControllerHandle A handle for a (parent) controller to test.\r
@param ChildHandle A child handle to test.\r
\r
@param ControllerHandle A handle for a (parent) controller to test.\r
@param ChildHandle A child handle to test.\r
- @param ConsumsedGuid Supplies the protocol that the child controller\r
+ @param ProtocolGuid Supplies the protocol that the child controller\r
opens on its parent controller.\r
\r
@retval EFI_SUCCESS ChildHandle is a child of the ControllerHandle.\r
opens on its parent controller.\r
\r
@retval EFI_SUCCESS ChildHandle is a child of the ControllerHandle.\r
the EDK/EFI 1.10 form and EDK II/UEFI 2.0 form and allows common code to\r
work both ways.\r
\r
the EDK/EFI 1.10 form and EDK II/UEFI 2.0 form and allows common code to\r
work both ways.\r
\r
- @param LegacyBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).\r
+ @param ReadyToBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).\r
\r
@retval EFI_SUCCESS Event was created.\r
@retval Other Event was not created.\r
\r
@retval EFI_SUCCESS Event was created.\r
@retval Other Event was not created.\r
@param NotifyTpl The task priority level of the event.\r
@param NotifyFunction The notification function to call when the event is signaled.\r
@param NotifyContext The content to pass to NotifyFunction when the event is signaled.\r
@param NotifyTpl The task priority level of the event.\r
@param NotifyFunction The notification function to call when the event is signaled.\r
@param NotifyContext The content to pass to NotifyFunction when the event is signaled.\r
- @param LegacyBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).\r
+ @param ReadyToBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).\r
\r
@retval EFI_SUCCESS Event was created.\r
@retval Other Event was not created.\r
\r
@retval EFI_SUCCESS Event was created.\r
@retval Other Event was not created.\r
and the variable length argument list of package pointers.\r
\r
@param NumberOfPackages The number of HII packages to prepare.\r
and the variable length argument list of package pointers.\r
\r
@param NumberOfPackages The number of HII packages to prepare.\r
- @param Guid Package GUID.\r
+ @param Guid Package GUID.\r
+ @param Args Package contents\r
\r
@return The allocated and initialized packages.\r
\r
\r
@return The allocated and initialized packages.\r
\r
This internal function retrieves Smbus PPI from PPI database.\r
If gEfiPeiSmbusPpiGuid can not be located, then ASSERT()\r
\r
This internal function retrieves Smbus PPI from PPI database.\r
If gEfiPeiSmbusPpiGuid can not be located, then ASSERT()\r
\r
- @param PeiServices An indirect pointer to the EFI_PEI_SERVICES published by the PEI Foundation.\r
-\r
@return The pointer to Smbus PPI.\r
\r
**/\r
@return The pointer to Smbus PPI.\r
\r
**/\r