mirror of https://github.com/acidanthera/audk.git
Fix missing include header file and fix typo in comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5110 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7459094d5f
commit
01aef47bbe
|
@ -2064,7 +2064,7 @@ DivS64x64Remainder (
|
||||||
|
|
||||||
If the Buffer is NULL, then ASSERT().
|
If the Buffer is NULL, then ASSERT().
|
||||||
|
|
||||||
@param Buffer Pointer to a 16-bit value that may be unaligned.
|
@param Uint16 Pointer to a 16-bit value that may be unaligned.
|
||||||
|
|
||||||
@return *Uint16
|
@return *Uint16
|
||||||
|
|
||||||
|
@ -2085,7 +2085,7 @@ ReadUnaligned16 (
|
||||||
|
|
||||||
If the Buffer is NULL, then ASSERT().
|
If the Buffer is NULL, then ASSERT().
|
||||||
|
|
||||||
@param Buffer Pointer to a 16-bit value that may be unaligned.
|
@param Uint16 Pointer to a 16-bit value that may be unaligned.
|
||||||
@param Value 16-bit value to write to Buffer.
|
@param Value 16-bit value to write to Buffer.
|
||||||
|
|
||||||
@return Value
|
@return Value
|
||||||
|
@ -2150,7 +2150,7 @@ WriteUnaligned24 (
|
||||||
|
|
||||||
If the Buffer is NULL, then ASSERT().
|
If the Buffer is NULL, then ASSERT().
|
||||||
|
|
||||||
@param Buffer Pointer to a 32-bit value that may be unaligned.
|
@param Uint32 Pointer to a 32-bit value that may be unaligned.
|
||||||
|
|
||||||
@return *Uint32
|
@return *Uint32
|
||||||
|
|
||||||
|
@ -2171,7 +2171,7 @@ ReadUnaligned32 (
|
||||||
|
|
||||||
If the Buffer is NULL, then ASSERT().
|
If the Buffer is NULL, then ASSERT().
|
||||||
|
|
||||||
@param Buffer Pointer to a 32-bit value that may be unaligned.
|
@param Uint32 Pointer to a 32-bit value that may be unaligned.
|
||||||
@param Value 32-bit value to write to Buffer.
|
@param Value 32-bit value to write to Buffer.
|
||||||
|
|
||||||
@return Value
|
@return Value
|
||||||
|
@ -2193,7 +2193,7 @@ WriteUnaligned32 (
|
||||||
|
|
||||||
If the Buffer is NULL, then ASSERT().
|
If the Buffer is NULL, then ASSERT().
|
||||||
|
|
||||||
@param Buffer Pointer to a 64-bit value that may be unaligned.
|
@param Uint64 Pointer to a 64-bit value that may be unaligned.
|
||||||
|
|
||||||
@return *Uint64
|
@return *Uint64
|
||||||
|
|
||||||
|
@ -2214,7 +2214,7 @@ ReadUnaligned64 (
|
||||||
|
|
||||||
If the Buffer is NULL, then ASSERT().
|
If the Buffer is NULL, then ASSERT().
|
||||||
|
|
||||||
@param Buffer Pointer to a 64-bit value that may be unaligned.
|
@param Uint64 Pointer to a 64-bit value that may be unaligned.
|
||||||
@param Value 64-bit value to write to Buffer.
|
@param Value 64-bit value to write to Buffer.
|
||||||
|
|
||||||
@return Value
|
@return Value
|
||||||
|
|
|
@ -59,7 +59,7 @@ HiiLibPreparePackageList (
|
||||||
|
|
||||||
@param NumberOfPackages The number of HII packages to register.
|
@param NumberOfPackages The number of HII packages to register.
|
||||||
@param GuidId Package List GUID ID.
|
@param GuidId Package List GUID ID.
|
||||||
@param EFI_HANDLE Optional. If not NULL, the DriverHandle on which an instance of DEVICE_PATH_PROTOCOL is installed.
|
@param DriverHandle Optional. If not NULL, the DriverHandle on which an instance of DEVICE_PATH_PROTOCOL is installed.
|
||||||
This DriverHandle uniquely defines the device that the added packages are associated with.
|
This DriverHandle uniquely defines the device that the added packages are associated with.
|
||||||
@param HiiHandle On output, the HiiHandle is update with the handle which can be used to retrieve the Package
|
@param HiiHandle On output, the HiiHandle is update with the handle which can be used to retrieve the Package
|
||||||
List later. If the functions failed to add the package to the default HII database, this value will
|
List later. If the functions failed to add the package to the default HII database, this value will
|
||||||
|
@ -248,8 +248,6 @@ HiiLibGetStringFromToken (
|
||||||
If HandleBufferLength is NULL, then ASSERT.
|
If HandleBufferLength is NULL, then ASSERT.
|
||||||
If HiiHandleBuffer is NULL, then ASSERT.
|
If HiiHandleBuffer is NULL, then ASSERT.
|
||||||
|
|
||||||
@param HiiDatabase A pointer to the EFI_HII_DATABASE_PROTOCOL
|
|
||||||
instance.
|
|
||||||
@param HandleBufferLength On input, a pointer to the length of the handle
|
@param HandleBufferLength On input, a pointer to the length of the handle
|
||||||
buffer. On output, the length of the handle buffer
|
buffer. On output, the length of the handle buffer
|
||||||
that is required for the handles found.
|
that is required for the handles found.
|
||||||
|
@ -272,7 +270,7 @@ HiiLibGetHiiHandles (
|
||||||
If HiiHandle could not be found in the default HII database, then ASSERT.
|
If HiiHandle could not be found in the default HII database, then ASSERT.
|
||||||
If Guid is NULL, then ASSERT.
|
If Guid is NULL, then ASSERT.
|
||||||
|
|
||||||
@param HiiHandle Hii handle
|
@param Handle Hii handle
|
||||||
@param Guid Package list GUID
|
@param Guid Package list GUID
|
||||||
|
|
||||||
@retval EFI_SUCCESS Successfully extract GUID from Hii database.
|
@retval EFI_SUCCESS Successfully extract GUID from Hii database.
|
||||||
|
@ -376,6 +374,7 @@ HiiLibGetSupportedLanguages (
|
||||||
If not enough resource to complete the operation, then ASSERT.
|
If not enough resource to complete the operation, then ASSERT.
|
||||||
|
|
||||||
@param HiiHandle The HII package list handle.
|
@param HiiHandle The HII package list handle.
|
||||||
|
@param FirstLanguage Pointer to language name buffer.
|
||||||
|
|
||||||
@return The supported languages.
|
@return The supported languages.
|
||||||
|
|
||||||
|
|
|
@ -165,7 +165,7 @@ PeiServicesCreateHob (
|
||||||
|
|
||||||
@param Instance This instance of the firmware volume to find. The value 0 is the
|
@param Instance This instance of the firmware volume to find. The value 0 is the
|
||||||
Boot Firmware Volume (BFV).
|
Boot Firmware Volume (BFV).
|
||||||
@param FwVolHeader Pointer to the firmware volume header of the volume to return.
|
@param VolumeHandle Pointer to the firmware volume header of the volume to return.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The volume was found.
|
@retval EFI_SUCCESS The volume was found.
|
||||||
@retval EFI_NOT_FOUND The volume was not found.
|
@retval EFI_NOT_FOUND The volume was not found.
|
||||||
|
@ -183,9 +183,9 @@ PeiServicesFfsFindNextVolume (
|
||||||
This service enables PEIMs to discover additional firmware files.
|
This service enables PEIMs to discover additional firmware files.
|
||||||
|
|
||||||
@param SearchType A filter to find files only of this type.
|
@param SearchType A filter to find files only of this type.
|
||||||
@param FwVolHeader Pointer to the firmware volume header of the volume to search.
|
@param VolumeHandle Pointer to the firmware volume header of the volume to search.
|
||||||
This parameter must point to a valid FFS volume.
|
This parameter must point to a valid FFS volume.
|
||||||
@param FileHeader Pointer to the current file from which to begin searching.
|
@param FileHandle Pointer to the current file from which to begin searching.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The file was found.
|
@retval EFI_SUCCESS The file was found.
|
||||||
@retval EFI_NOT_FOUND The file was not found.
|
@retval EFI_NOT_FOUND The file was not found.
|
||||||
|
@ -203,8 +203,8 @@ PeiServicesFfsFindNextFile (
|
||||||
/**
|
/**
|
||||||
This service enables PEIMs to discover sections of a given type within a valid FFS file.
|
This service enables PEIMs to discover sections of a given type within a valid FFS file.
|
||||||
|
|
||||||
@param SearchType The value of the section type to find.
|
@param SectionType The value of the section type to find.
|
||||||
@param FfsFileHeader A pointer to the file header that contains the set of sections to
|
@param FileHandle A pointer to the file header that contains the set of sections to
|
||||||
be searched.
|
be searched.
|
||||||
@param SectionData A pointer to the discovered section, if successful.
|
@param SectionData A pointer to the discovered section, if successful.
|
||||||
|
|
||||||
|
@ -282,8 +282,6 @@ PeiServicesAllocatePool (
|
||||||
/**
|
/**
|
||||||
Resets the entire platform.
|
Resets the entire platform.
|
||||||
|
|
||||||
@param VOID
|
|
||||||
|
|
||||||
@retval EFI_SUCCESS The function completed successfully.
|
@retval EFI_SUCCESS The function completed successfully.
|
||||||
@retval EFI_NOT_AVAILABLE_YET The service has not been installed yet.
|
@retval EFI_NOT_AVAILABLE_YET The service has not been installed yet.
|
||||||
|
|
||||||
|
@ -306,6 +304,7 @@ PeiServicesResetSystem (
|
||||||
@param VolumeHandle The firmware volume to search FileHandle
|
@param VolumeHandle The firmware volume to search FileHandle
|
||||||
Upon exit, points to the found file's
|
Upon exit, points to the found file's
|
||||||
handle or NULL if it could not be found.
|
handle or NULL if it could not be found.
|
||||||
|
@param FileHandle Pointer to found file handle
|
||||||
|
|
||||||
@retval EFI_SUCCESS File was found.
|
@retval EFI_SUCCESS File was found.
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ GetPeiServicesTablePointer (
|
||||||
The function set the pointer of PEI services immediately preceding the IDT table
|
The function set the pointer of PEI services immediately preceding the IDT table
|
||||||
according to PI specification.
|
according to PI specification.
|
||||||
|
|
||||||
@param PeiServices The address of PeiServices pointer.
|
@param PeiServicesTablePointer The address of PeiServices pointer.
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
EFIAPI
|
EFIAPI
|
||||||
|
|
|
@ -144,9 +144,7 @@ EfiNamedEventSignal (
|
||||||
can then immediately be restored back to the current TPL level with a call
|
can then immediately be restored back to the current TPL level with a call
|
||||||
to RestoreTPL().
|
to RestoreTPL().
|
||||||
|
|
||||||
@param VOID
|
@return The current TPL.
|
||||||
|
|
||||||
@retvale EFI_TPL The current TPL.
|
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_TPL
|
EFI_TPL
|
||||||
|
@ -180,7 +178,6 @@ EfiInitializeLock (
|
||||||
priority level. Since there is no preemption or multiprocessor support in EFI,
|
priority level. Since there is no preemption or multiprocessor support in EFI,
|
||||||
acquiring the lock only consists of raising to the locks TPL.
|
acquiring the lock only consists of raising to the locks TPL.
|
||||||
|
|
||||||
@param Lock A pointer to the lock data structure to initialize.
|
|
||||||
@param Priority The task priority level of the lock.
|
@param Priority The task priority level of the lock.
|
||||||
|
|
||||||
@return The lock.
|
@return The lock.
|
||||||
|
@ -220,7 +217,7 @@ EfiInitializeLock (
|
||||||
priority level of the mutual exclusion lock. Then, it places the lock in the
|
priority level of the mutual exclusion lock. Then, it places the lock in the
|
||||||
acquired state.
|
acquired state.
|
||||||
|
|
||||||
@param Priority The task priority level of the lock.
|
@param Lock A pointer to the lock to acquire.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
|
@ -302,7 +299,7 @@ EfiTestManagedDevice (
|
||||||
|
|
||||||
@param ControllerHandle A handle for a (parent) controller to test.
|
@param ControllerHandle A handle for a (parent) controller to test.
|
||||||
@param ChildHandle A child handle to test.
|
@param ChildHandle A child handle to test.
|
||||||
@param ConsumsedGuid Supplies the protocol that the child controller
|
@param ProtocolGuid Supplies the protocol that the child controller
|
||||||
opens on its parent controller.
|
opens on its parent controller.
|
||||||
|
|
||||||
@retval EFI_SUCCESS ChildHandle is a child of the ControllerHandle.
|
@retval EFI_SUCCESS ChildHandle is a child of the ControllerHandle.
|
||||||
|
@ -676,7 +673,7 @@ EfiCreateEventLegacyBootEx (
|
||||||
the EDK/EFI 1.10 form and EDKII/UEFI 2.0 form and allows common code to
|
the EDK/EFI 1.10 form and EDKII/UEFI 2.0 form and allows common code to
|
||||||
work both ways.
|
work both ways.
|
||||||
|
|
||||||
@param LegacyBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).
|
@param ReadyToBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).
|
||||||
|
|
||||||
@retval EFI_SUCCESS Event was created.
|
@retval EFI_SUCCESS Event was created.
|
||||||
@retval Other Event was not created.
|
@retval Other Event was not created.
|
||||||
|
@ -701,7 +698,7 @@ EfiCreateEventReadyToBoot (
|
||||||
@param NotifyTpl The task priority level of the event.
|
@param NotifyTpl The task priority level of the event.
|
||||||
@param NotifyFunction The notification function to call when the event is signaled.
|
@param NotifyFunction The notification function to call when the event is signaled.
|
||||||
@param NotifyContext The content to pass to NotifyFunction when the event is signaled.
|
@param NotifyContext The content to pass to NotifyFunction when the event is signaled.
|
||||||
@param LegacyBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).
|
@param ReadyToBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).
|
||||||
|
|
||||||
@retval EFI_SUCCESS Event was created.
|
@retval EFI_SUCCESS Event was created.
|
||||||
@retval Other Event was not created.
|
@retval Other Event was not created.
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#ifndef _PEI_SMBUS2_PPI_H
|
#ifndef _PEI_SMBUS2_PPI_H
|
||||||
#define _PEI_SMBUS2_PPI_H
|
#define _PEI_SMBUS2_PPI_H
|
||||||
|
#include <PiPei.h>
|
||||||
#include <IndustryStandard/SmBus.h>
|
#include <IndustryStandard/SmBus.h>
|
||||||
|
|
||||||
#define EFI_PEI_SMBUS2_PPI_GUID \
|
#define EFI_PEI_SMBUS2_PPI_GUID \
|
||||||
|
@ -172,7 +172,6 @@ EFI_STATUS
|
||||||
The Notify() function registers all the callback functions to allow the
|
The Notify() function registers all the callback functions to allow the
|
||||||
bus driver to call these functions when the SlaveAddress/Data pair happens.
|
bus driver to call these functions when the SlaveAddress/Data pair happens.
|
||||||
|
|
||||||
@param PeiServices A pointer to the system PEI Services Table.
|
|
||||||
@param This A pointer to the EFI_PEI_SMBUS_PPI instance.
|
@param This A pointer to the EFI_PEI_SMBUS_PPI instance.
|
||||||
@param SlaveAddress Address that the host controller detects as
|
@param SlaveAddress Address that the host controller detects as
|
||||||
sending a message and calls all the registered functions.
|
sending a message and calls all the registered functions.
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
#ifndef __EFI_COMPONENT_NAME_H__
|
#ifndef __EFI_COMPONENT_NAME_H__
|
||||||
#define __EFI_COMPONENT_NAME_H__
|
#define __EFI_COMPONENT_NAME_H__
|
||||||
|
|
||||||
|
#include <PiDxe.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Global ID for the Component Name Protocol
|
// Global ID for the Component Name Protocol
|
||||||
//
|
//
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
#ifndef __EFI_COMPONENT_NAME2_H__
|
#ifndef __EFI_COMPONENT_NAME2_H__
|
||||||
#define __EFI_COMPONENT_NAME2_H__
|
#define __EFI_COMPONENT_NAME2_H__
|
||||||
|
|
||||||
|
#include <PiDxe.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Global ID for the Component Name Protocol
|
// Global ID for the Component Name Protocol
|
||||||
//
|
//
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
#ifndef __EFI_DRIVER_BINDING_H__
|
#ifndef __EFI_DRIVER_BINDING_H__
|
||||||
#define __EFI_DRIVER_BINDING_H__
|
#define __EFI_DRIVER_BINDING_H__
|
||||||
|
|
||||||
|
#include <PiDxe.h>
|
||||||
#include <Protocol/DevicePath.h>
|
#include <Protocol/DevicePath.h>
|
||||||
//
|
//
|
||||||
// Global ID for the ControllerHandle Driver Protocol
|
// Global ID for the ControllerHandle Driver Protocol
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
#ifndef __EFI_DRIVER_CONFIGURATION_H__
|
#ifndef __EFI_DRIVER_CONFIGURATION_H__
|
||||||
#define __EFI_DRIVER_CONFIGURATION_H__
|
#define __EFI_DRIVER_CONFIGURATION_H__
|
||||||
|
|
||||||
|
#include <PiDxe.h>
|
||||||
#include <Protocol/DriverConfiguration2.h>
|
#include <Protocol/DriverConfiguration2.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
#ifndef __EFI_DRIVER_CONFIGURATION2_H__
|
#ifndef __EFI_DRIVER_CONFIGURATION2_H__
|
||||||
#define __EFI_DRIVER_CONFIGURATION2_H__
|
#define __EFI_DRIVER_CONFIGURATION2_H__
|
||||||
|
|
||||||
|
#include <PiDxe.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Global ID for the Driver Configuration Protocol defined in UEFI 2.0
|
// Global ID for the Driver Configuration Protocol defined in UEFI 2.0
|
||||||
//
|
//
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
#ifndef __EFI_DRIVER_DIAGNOSTICS_H__
|
#ifndef __EFI_DRIVER_DIAGNOSTICS_H__
|
||||||
#define __EFI_DRIVER_DIAGNOSTICS_H__
|
#define __EFI_DRIVER_DIAGNOSTICS_H__
|
||||||
|
|
||||||
|
#include <PiDxe.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Global ID for the Driver Diagnostics Protocol as defined in UEFI 2.0.
|
// Global ID for the Driver Diagnostics Protocol as defined in UEFI 2.0.
|
||||||
//
|
//
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
#ifndef __PCI_ROOT_BRIDGE_IO_H__
|
#ifndef __PCI_ROOT_BRIDGE_IO_H__
|
||||||
#define __PCI_ROOT_BRIDGE_IO_H__
|
#define __PCI_ROOT_BRIDGE_IO_H__
|
||||||
|
|
||||||
|
#include <PiDxe.h>
|
||||||
|
|
||||||
#define EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_GUID \
|
#define EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_GUID \
|
||||||
{ \
|
{ \
|
||||||
0x2f707ebb, 0x4a1a, 0x11d4, {0x9a, 0x38, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
|
0x2f707ebb, 0x4a1a, 0x11d4, {0x9a, 0x38, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
|
||||||
|
|
Loading…
Reference in New Issue