Remove BugBug in comments and adjust function header according to code style doc.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1055 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2006-07-20 09:08:37 +00:00
parent 151c1ccdcd
commit 0647c9adf9
76 changed files with 2072 additions and 2710 deletions

View File

@ -62,7 +62,7 @@ typedef struct {
// //
#ifndef TRUE #ifndef TRUE
// //
// BugBug: UEFI specification claims 1 and 0. We are concerned about the // UEFI specification claims 1 and 0. We are concerned about the
// complier portability so we did it this way. // complier portability so we did it this way.
// //
#define TRUE ((BOOLEAN)(1==1)) #define TRUE ((BOOLEAN)(1==1))

View File

@ -1,10 +1,7 @@
/** @file /** @file
This file defines GUIDs and associated data structures for records This file defines GUIDs and associated data structures for records posted to the Data Hub.
posted to the Data Hub. The producers of these records use these definitions to construct records.
The producers of these records use these definitions to construct The consumers of these records use these definitions to retrieve, filter and parse records.
records.
The consumers of these records use these definitions to retrieve,
filter and parse records.
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials

View File

@ -1,6 +1,5 @@
/** @file /** @file
This module contains data specific to dependency expressions This module contains data specific to dependency expressions.
and local function prototypes.
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials

View File

@ -17,8 +17,6 @@
#ifndef __MULTI_PHASE_H__ #ifndef __MULTI_PHASE_H__
#define __MULTI_PHASE_H__ #define __MULTI_PHASE_H__
//
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// //
// Needed EFI defines for PEI // Needed EFI defines for PEI
// //

View File

@ -45,7 +45,6 @@ typedef enum {
@param InterruptType Defines the type of interrupt or exception that @param InterruptType Defines the type of interrupt or exception that
occurred on the processor.This parameter is processor architecture specific. occurred on the processor.This parameter is processor architecture specific.
@param SystemContext A pointer to the processor context when @param SystemContext A pointer to the processor context when
the interrupt occurred on the processor. the interrupt occurred on the processor.
@ -274,11 +273,14 @@ EFI_STATUS
flushing a range of addresses from the data cache, then the entire data flushing a range of addresses from the data cache, then the entire data
cache must be flushed. cache must be flushed.
@param EnableInterrupt Enables interrupt processing by the processor. @param EnableInterrupt
Enables interrupt processing by the processor.
@param DisableInterrupt Disables interrupt processing by the processor. @param DisableInterrupt
Disables interrupt processing by the processor.
@param GetInterruptState Retrieves the processor's current interrupt state. @param GetInterruptState
Retrieves the processor's current interrupt state.
@param Init @param Init
Generates an INIT on the processor. If a processor cannot programmatically Generates an INIT on the processor. If a processor cannot programmatically
@ -291,9 +293,11 @@ EFI_STATUS
hook the timer interrupt in a system. It can also be used by the debugger to hook the timer interrupt in a system. It can also be used by the debugger to
hook exception vectors. hook exception vectors.
@param GetTimerValue Returns the value of one of the processor's internal timers. @param GetTimerValue
Returns the value of one of the processor's internal timers.
@param SetMemoryAttributes Attempts to set the attributes of a memory region. @param SetMemoryAttributes
Attempts to set the attributes of a memory region.
@param NumberOfTimers @param NumberOfTimers
The number of timers that are available in a processor. The value in this The number of timers that are available in a processor. The value in this

View File

@ -48,12 +48,10 @@ typedef struct _EFI_METRONOME_ARCH_PROTOCOL EFI_METRONOME_ARCH_PROTOCOL;
number of ticks, then EFI_TIMEOUT is returned. number of ticks, then EFI_TIMEOUT is returned.
@param This The EFI_METRONOME_ARCH_PROTOCOL instance. @param This The EFI_METRONOME_ARCH_PROTOCOL instance.
@param TickNumber Number of ticks to wait. @param TickNumber Number of ticks to wait.
@retval EFI_SUCCESS The wait for the number of ticks specified by TickNumber @retval EFI_SUCCESS The wait for the number of ticks specified by TickNumber
succeeded. succeeded.
@retval EFI_TIMEOUT A timeout occurred waiting for the specified number of ticks. @retval EFI_TIMEOUT A timeout occurred waiting for the specified number of ticks.
**/ **/

View File

@ -51,12 +51,9 @@ typedef struct _EFI_RUNTIME_ARCH_PROTOCOL EFI_RUNTIME_ARCH_PROTOCOL;
parameter checking needs to be performed. parameter checking needs to be performed.
@param This The EFI_RUNTIME_ARCH_PROTOCOL instance. @param This The EFI_RUNTIME_ARCH_PROTOCOL instance.
@param ImageBase Start of image that has been loaded in memory. It is either @param ImageBase Start of image that has been loaded in memory. It is either
a pointer to the DOS or PE header of the image. a pointer to the DOS or PE header of the image.
@param ImageSize Size of the image in bytes. @param ImageSize Size of the image in bytes.
@param RelocationData Information about the fixups that were performed on ImageBase @param RelocationData Information about the fixups that were performed on ImageBase
when it was loaded into memory. This information is needed when it was loaded into memory. This information is needed
when the virtual mode fix-ups are reapplied so that data that when the virtual mode fix-ups are reapplied so that data that
@ -65,7 +62,6 @@ typedef struct _EFI_RUNTIME_ARCH_PROTOCOL EFI_RUNTIME_ARCH_PROTOCOL;
fixing up the variable for virtual mode. fixing up the variable for virtual mode.
@retval EFI_SUCCESS The ImageBase has been registered. @retval EFI_SUCCESS The ImageBase has been registered.
@retval EFI_OUT_OF_RESOURCES There are not enough resources to register ImageBase. @retval EFI_OUT_OF_RESOURCES There are not enough resources to register ImageBase.
**/ **/
@ -89,20 +85,14 @@ EFI_STATUS
to be performed. to be performed.
@param This The EFI_RUNTIME_ARCH_PROTOCOL instance. @param This The EFI_RUNTIME_ARCH_PROTOCOL instance.
@param Type The same as Type passed into CreateEvent(). @param Type The same as Type passed into CreateEvent().
@param NotifyTpl The same as NotifyTpl passed into CreateEvent(). @param NotifyTpl The same as NotifyTpl passed into CreateEvent().
@param NotifyFunction The same as NotifyFunction passed into CreateEvent(). @param NotifyFunction The same as NotifyFunction passed into CreateEvent().
@param NotifyContext The same as NotifyContext passed into CreateEvent(). @param NotifyContext The same as NotifyContext passed into CreateEvent().
@param Event The EFI_EVENT returned by CreateEvent(). Event must be in @param Event The EFI_EVENT returned by CreateEvent(). Event must be in
runtime memory. runtime memory.
@retval EFI_SUCCESS The Event has been registered. @retval EFI_SUCCESS The Event has been registered.
@retval EFI_OUT_OF_RESOURCES There are not enough resources to register Event. @retval EFI_OUT_OF_RESOURCES There are not enough resources to register Event.
**/ **/

View File

@ -66,25 +66,21 @@ typedef struct _EFI_SECURITY_ARCH_PROTOCOL EFI_SECURITY_ARCH_PROTOCOL;
returned. returned.
@param This The EFI_SECURITY_ARCH_PROTOCOL instance. @param This The EFI_SECURITY_ARCH_PROTOCOL instance.
@param AuthenticationStatus
@param AuthenticationStatus This is the authentication type returned from the Section This is the authentication type returned from the Section
Extraction protocol. See the Section Extraction Protocol Extraction protocol. See the Section Extraction Protocol
Specification for details on this type. Specification for details on this type.
@param File This is a pointer to the device path of the file that is @param File This is a pointer to the device path of the file that is
being dispatched. This will optionally be used for logging. being dispatched. This will optionally be used for logging.
@retval EFI_SUCCESS The file specified by File did authenticate, and the @retval EFI_SUCCESS The file specified by File did authenticate, and the
platform policy dictates that the DXE Core may use File. platform policy dictates that the DXE Core may use File.
@retval EFI_INVALID_PARAMETER Driver is NULL. @retval EFI_INVALID_PARAMETER Driver is NULL.
@retval EFI_SECURITY_VIOLATION The file specified by File did not authenticate, and @retval EFI_SECURITY_VIOLATION The file specified by File did not authenticate, and
the platform policy dictates that File should be placed the platform policy dictates that File should be placed
in the untrusted state. A file may be promoted from in the untrusted state. A file may be promoted from
the untrusted to the trusted state at a future time the untrusted to the trusted state at a future time
with a call to the Trust() DXE Service. with a call to the Trust() DXE Service.
@retval EFI_ACCESS_DENIED The file specified by File did not authenticate, and @retval EFI_ACCESS_DENIED The file specified by File did not authenticate, and
the platform policy dictates that File should not be the platform policy dictates that File should not be
used for any purpose. used for any purpose.

View File

@ -35,22 +35,17 @@
Provides an interface that a software module can call to report a status code. Provides an interface that a software module can call to report a status code.
@param Type Indicates the type of status code being reported. @param Type Indicates the type of status code being reported.
@param Value Describes the current status of a hardware or software entity. @param Value Describes the current status of a hardware or software entity.
This included information about the class and subclass that is used to This included information about the class and subclass that is used to
classify the entity as well as an operation. classify the entity as well as an operation.
@param Instance The enumeration of a hardware or software entity within @param Instance The enumeration of a hardware or software entity within
the system. Valid instance numbers start with 1. the system. Valid instance numbers start with 1.
@param CallerId This optional parameter may be used to identify the caller. @param CallerId This optional parameter may be used to identify the caller.
This parameter allows the status code driver to apply different rules to This parameter allows the status code driver to apply different rules to
different callers. different callers.
@param Data This optional parameter may be used to pass additional data. @param Data This optional parameter may be used to pass additional data.
@retval EFI_SUCCESS The function completed successfully @retval EFI_SUCCESS The function completed successfully
@retval EFI_DEVICE_ERROR The function should not be completed due to a device error. @retval EFI_DEVICE_ERROR The function should not be completed due to a device error.
**/ **/

View File

@ -67,7 +67,6 @@ VOID
is returned. is returned.
@param This The EFI_TIMER_ARCH_PROTOCOL instance. @param This The EFI_TIMER_ARCH_PROTOCOL instance.
@param NotifyFunction The function to call when a timer interrupt fires. This @param NotifyFunction The function to call when a timer interrupt fires. This
function executes at TPL_HIGH_LEVEL. The DXE Core will function executes at TPL_HIGH_LEVEL. The DXE Core will
register a handler for the timer interrupt, so it can know register a handler for the timer interrupt, so it can know
@ -75,15 +74,11 @@ VOID
signal timer based events. NULL will unregister the handler. signal timer based events. NULL will unregister the handler.
@retval EFI_SUCCESS The timer handler was registered. @retval EFI_SUCCESS The timer handler was registered.
@retval EFI_UNSUPPORTED The platform does not support timer interrupts. @retval EFI_UNSUPPORTED The platform does not support timer interrupts.
@retval EFI_ALREADY_STARTED NotifyFunction is not NULL, and a handler is already @retval EFI_ALREADY_STARTED NotifyFunction is not NULL, and a handler is already
registered. registered.
@retval EFI_INVALID_PARAMETER NotifyFunction is NULL, and a handler was not @retval EFI_INVALID_PARAMETER NotifyFunction is NULL, and a handler was not
previously registered. previously registered.
@retval EFI_DEVICE_ERROR The timer handler could not be registered. @retval EFI_DEVICE_ERROR The timer handler could not be registered.
**/ **/
@ -108,7 +103,6 @@ EFI_STATUS
interrupt fires. interrupt fires.
@param This The EFI_TIMER_ARCH_PROTOCOL instance. @param This The EFI_TIMER_ARCH_PROTOCOL instance.
@param TimerPeriod The rate to program the timer interrupt in 100 nS units. If @param TimerPeriod The rate to program the timer interrupt in 100 nS units. If
the timer hardware is not programmable, then EFI_UNSUPPORTED is the timer hardware is not programmable, then EFI_UNSUPPORTED is
returned. If the timer is programmable, then the timer period returned. If the timer is programmable, then the timer period
@ -117,9 +111,7 @@ EFI_STATUS
timer interrupts will be disabled. timer interrupts will be disabled.
@retval EFI_SUCCESS The timer period was changed. @retval EFI_SUCCESS The timer period was changed.
@retval EFI_UNSUPPORTED The platform cannot change the period of the timer interrupt. @retval EFI_UNSUPPORTED The platform cannot change the period of the timer interrupt.
@retval EFI_DEVICE_ERROR The timer period could not be changed due to a device error. @retval EFI_DEVICE_ERROR The timer period could not be changed due to a device error.
**/ **/
@ -137,12 +129,10 @@ EFI_STATUS
returned, then the timer is currently disabled. returned, then the timer is currently disabled.
@param This The EFI_TIMER_ARCH_PROTOCOL instance. @param This The EFI_TIMER_ARCH_PROTOCOL instance.
@param TimerPeriod A pointer to the timer period to retrieve in 100 ns units. If @param TimerPeriod A pointer to the timer period to retrieve in 100 ns units. If
0 is returned, then the timer is currently disabled. 0 is returned, then the timer is currently disabled.
@retval EFI_SUCCESS The timer period was returned in TimerPeriod. @retval EFI_SUCCESS The timer period was returned in TimerPeriod.
@retval EFI_INVALID_PARAMETER TimerPeriod is NULL. @retval EFI_INVALID_PARAMETER TimerPeriod is NULL.
**/ **/
@ -165,7 +155,6 @@ EFI_STATUS
@param This The EFI_TIMER_ARCH_PROTOCOL instance. @param This The EFI_TIMER_ARCH_PROTOCOL instance.
@retval EFI_SUCCESS The soft timer interrupt was generated. @retval EFI_SUCCESS The soft timer interrupt was generated.
@retval EFI_UNSUPPORTEDT The platform does not support the generation of soft timer interrupts. @retval EFI_UNSUPPORTEDT The platform does not support the generation of soft timer interrupts.
**/ **/

View File

@ -63,16 +63,13 @@ VOID
then return EFI_INVALID_PARAMETER. then return EFI_INVALID_PARAMETER.
@param This The EFI_WATCHDOG_TIMER_ARCH_PROTOCOL instance. @param This The EFI_WATCHDOG_TIMER_ARCH_PROTOCOL instance.
@param NotifyFunction The function to call when the watchdog timer fires. If this @param NotifyFunction The function to call when the watchdog timer fires. If this
is NULL, then the handler will be unregistered. is NULL, then the handler will be unregistered.
@retval EFI_SUCCESS The watchdog timer handler was registered or @retval EFI_SUCCESS The watchdog timer handler was registered or
unregistered. unregistered.
@retval EFI_ALREADY_STARTED NotifyFunction is not NULL, and a handler is already @retval EFI_ALREADY_STARTED NotifyFunction is not NULL, and a handler is already
registered. registered.
@retval EFI_INVALID_PARAMETER NotifyFunction is NULL, and a handler was not @retval EFI_INVALID_PARAMETER NotifyFunction is NULL, and a handler was not
previously registered. previously registered.
@ -90,14 +87,12 @@ EFI_STATUS
timer is disabled. timer is disabled.
@param This The EFI_WATCHDOG_TIMER_ARCH_PROTOCOL instance. @param This The EFI_WATCHDOG_TIMER_ARCH_PROTOCOL instance.
@param TimerPeriod The amount of time in 100 nS units to wait before the watchdog @param TimerPeriod The amount of time in 100 nS units to wait before the watchdog
timer is fired. If TimerPeriod is zero, then the watchdog timer is fired. If TimerPeriod is zero, then the watchdog
timer is disabled. timer is disabled.
@retval EFI_SUCCESS The watchdog timer has been programmed to fire in Time @retval EFI_SUCCESS The watchdog timer has been programmed to fire in Time
100 nS units. 100 nS units.
@retval EFI_DEVICE_ERROR A watchdog timer could not be programmed due to a device @retval EFI_DEVICE_ERROR A watchdog timer could not be programmed due to a device
error. error.
@ -115,14 +110,12 @@ EFI_STATUS
is returned. If TimerPeriod is NULL, then EFI_INVALID_PARAMETER is returned. is returned. If TimerPeriod is NULL, then EFI_INVALID_PARAMETER is returned.
@param This The EFI_WATCHDOG_TIMER_ARCH_PROTOCOL instance. @param This The EFI_WATCHDOG_TIMER_ARCH_PROTOCOL instance.
@param TimerPeriod A pointer to the amount of time in 100 nS units that the system @param TimerPeriod A pointer to the amount of time in 100 nS units that the system
will wait before the watchdog timer is fired. If TimerPeriod of will wait before the watchdog timer is fired. If TimerPeriod of
zero is returned, then the watchdog timer is disabled. zero is returned, then the watchdog timer is disabled.
@retval EFI_SUCCESS The amount of time that the system will wait before @retval EFI_SUCCESS The amount of time that the system will wait before
firing the watchdog timer was returned in TimerPeriod. firing the watchdog timer was returned in TimerPeriod.
@retval EFI_INVALID_PARAMETER TimerPeriod is NULL. @retval EFI_INVALID_PARAMETER TimerPeriod is NULL.
**/ **/
@ -148,15 +141,15 @@ EFI_STATUS
been registered, or the registered handler returns, then the system will be been registered, or the registered handler returns, then the system will be
reset by calling the Runtime Service ResetSystem(). reset by calling the Runtime Service ResetSystem().
@param RegisterHandler - Registers a handler that is invoked when the watchdog @param RegisterHandler Registers a handler that is invoked when the watchdog
timer fires. timer fires.
@param SetTimerPeriod - Sets the amount of time in 100 ns units to wait before the @param SetTimerPeriod Sets the amount of time in 100 ns units to wait before the
watchdog timer is fired. If this function is supported, watchdog timer is fired. If this function is supported,
then the watchdog timer period will be rounded up to the then the watchdog timer period will be rounded up to the
nearest supported watchdog timer period. nearest supported watchdog timer period.
@param GetTimerPeriod - Retrieves the amount of time in 100 ns units that the @param GetTimerPeriod Retrieves the amount of time in 100 ns units that the
system will wait before the watchdog timer is fired. system will wait before the watchdog timer is fired.
**/ **/

View File

@ -39,7 +39,7 @@
#endif #endif
// //
// BugBug: Implementation contamination of UEFI 2.0 // Implementation contamination of UEFI 2.0
// Pointer to internal runtime pointer // Pointer to internal runtime pointer
// //
#define EFI_IPF_GP_POINTER 0x00000008 #define EFI_IPF_GP_POINTER 0x00000008
@ -117,11 +117,8 @@ typedef struct {
global coherency domain of the processor. global coherency domain of the processor.
@param GcdMemoryType Memory type of the memory space. @param GcdMemoryType Memory type of the memory space.
@param BaseAddress Base address of the memory space. @param BaseAddress Base address of the memory space.
@param Length Length of the memory space. @param Length Length of the memory space.
@param Capabilities alterable attributes of the memory space. @param Capabilities alterable attributes of the memory space.
@retval EFI_SUCCESS Merged this memory space into GCD map. @retval EFI_SUCCESS Merged this memory space into GCD map.
@ -142,23 +139,15 @@ EFI_STATUS
I/O resources from the global coherency domain of the processor. I/O resources from the global coherency domain of the processor.
@param GcdAllocateType The type of allocate operation @param GcdAllocateType The type of allocate operation
@param GcdMemoryType The desired memory type @param GcdMemoryType The desired memory type
@param Alignment Align with 2^Alignment @param Alignment Align with 2^Alignment
@param Length Length to allocate @param Length Length to allocate
@param BaseAddress Base address to allocate @param BaseAddress Base address to allocate
@param Imagehandle The image handle consume the allocated space. @param Imagehandle The image handle consume the allocated space.
@param DeviceHandle The device handle consume the allocated space. @param DeviceHandle The device handle consume the allocated space.
@retval EFI_INVALID_PARAMETER Invalid parameter. @retval EFI_INVALID_PARAMETER Invalid parameter.
@retval EFI_NOT_FOUND No descriptor contains the desired space. @retval EFI_NOT_FOUND No descriptor contains the desired space.
@retval EFI_SUCCESS Memory space successfully allocated. @retval EFI_SUCCESS Memory space successfully allocated.
**/ **/
@ -180,7 +169,6 @@ EFI_STATUS
I/O resources from the global coherency domain of the processor. I/O resources from the global coherency domain of the processor.
@param BaseAddress Base address of the segment. @param BaseAddress Base address of the segment.
@param Length Length of the segment. @param Length Length of the segment.
@retval EFI_SUCCESS Space successfully freed. @retval EFI_SUCCESS Space successfully freed.
@ -199,7 +187,6 @@ EFI_STATUS
the global coherency domain of the processor. the global coherency domain of the processor.
@param BaseAddress Base address of the memory space. @param BaseAddress Base address of the memory space.
@param Length Length of the memory space. @param Length Length of the memory space.
@retval EFI_SUCCESS Successfully remove a segment of memory space. @retval EFI_SUCCESS Successfully remove a segment of memory space.
@ -217,11 +204,9 @@ EFI_STATUS
Retrieves the descriptor for a memory region containing a specified address. Retrieves the descriptor for a memory region containing a specified address.
@param BaseAddress Specified start address @param BaseAddress Specified start address
@param Descriptor Specified length @param Descriptor Specified length
@retval EFI_INVALID_PARAMETER Invalid parameter @retval EFI_INVALID_PARAMETER Invalid parameter
@retval EFI_SUCCESS Successfully get memory space descriptor. @retval EFI_SUCCESS Successfully get memory space descriptor.
**/ **/
@ -238,9 +223,7 @@ EFI_STATUS
processor. processor.
@param BaseAddress Specified start address @param BaseAddress Specified start address
@param Length Specified length @param Length Specified length
@param Attributes Specified attributes @param Attributes Specified attributes
@retval EFI_SUCCESS Successfully set attribute of a segment of memory space. @retval EFI_SUCCESS Successfully set attribute of a segment of memory space.
@ -261,13 +244,10 @@ EFI_STATUS
processor. processor.
@param NumberOfDescriptors Number of descriptors. @param NumberOfDescriptors Number of descriptors.
@param MemorySpaceMap Descriptor array @param MemorySpaceMap Descriptor array
@retval EFI_INVALID_PARAMETER Invalid parameter @retval EFI_INVALID_PARAMETER Invalid parameter
@retval EFI_OUT_OF_RESOURCES No enough buffer to allocate @retval EFI_OUT_OF_RESOURCES No enough buffer to allocate
@retval EFI_SUCCESS Successfully get memory space map. @retval EFI_SUCCESS Successfully get memory space map.
**/ **/
@ -283,9 +263,7 @@ EFI_STATUS
Adds reserved I/O or I/O resources to the global coherency domain of the processor. Adds reserved I/O or I/O resources to the global coherency domain of the processor.
@param GcdIoType IO type of the segment. @param GcdIoType IO type of the segment.
@param BaseAddress Base address of the segment. @param BaseAddress Base address of the segment.
@param Length Length of the segment. @param Length Length of the segment.
@retval EFI_SUCCESS Merged this segment into GCD map. @retval EFI_SUCCESS Merged this segment into GCD map.
@ -305,23 +283,15 @@ EFI_STATUS
domain of the processor. domain of the processor.
@param GcdAllocateType The type of allocate operation @param GcdAllocateType The type of allocate operation
@param GcdIoType The desired IO type @param GcdIoType The desired IO type
@param Alignment Align with 2^Alignment @param Alignment Align with 2^Alignment
@param Length Length to allocate @param Length Length to allocate
@param BaseAddress Base address to allocate @param BaseAddress Base address to allocate
@param Imagehandle The image handle consume the allocated space. @param Imagehandle The image handle consume the allocated space.
@param DeviceHandle The device handle consume the allocated space. @param DeviceHandle The device handle consume the allocated space.
@retval EFI_INVALID_PARAMETER Invalid parameter. @retval EFI_INVALID_PARAMETER Invalid parameter.
@retval EFI_NOT_FOUND No descriptor contains the desired space. @retval EFI_NOT_FOUND No descriptor contains the desired space.
@retval EFI_SUCCESS IO space successfully allocated. @retval EFI_SUCCESS IO space successfully allocated.
**/ **/
@ -343,7 +313,6 @@ EFI_STATUS
domain of the processor. domain of the processor.
@param BaseAddress Base address of the segment. @param BaseAddress Base address of the segment.
@param Length Length of the segment. @param Length Length of the segment.
@retval EFI_SUCCESS Space successfully freed. @retval EFI_SUCCESS Space successfully freed.
@ -362,7 +331,6 @@ EFI_STATUS
processor. processor.
@param BaseAddress Base address of the segment. @param BaseAddress Base address of the segment.
@param Length Length of the segment. @param Length Length of the segment.
@retval EFI_SUCCESS Successfully removed a segment of IO space. @retval EFI_SUCCESS Successfully removed a segment of IO space.
@ -380,11 +348,9 @@ EFI_STATUS
Retrieves the descriptor for an I/O region containing a specified address. Retrieves the descriptor for an I/O region containing a specified address.
@param BaseAddress Specified start address @param BaseAddress Specified start address
@param Descriptor Specified length @param Descriptor Specified length
@retval EFI_INVALID_PARAMETER Descriptor is NULL. @retval EFI_INVALID_PARAMETER Descriptor is NULL.
@retval EFI_SUCCESS Successfully get the IO space descriptor. @retval EFI_SUCCESS Successfully get the IO space descriptor.
**/ **/
@ -400,13 +366,10 @@ EFI_STATUS
Returns a map of the I/O resources in the global coherency domain of the processor. Returns a map of the I/O resources in the global coherency domain of the processor.
@param NumberOfDescriptors Number of descriptors. @param NumberOfDescriptors Number of descriptors.
@param MemorySpaceMap Descriptor array @param MemorySpaceMap Descriptor array
@retval EFI_INVALID_PARAMETER Invalid parameter @retval EFI_INVALID_PARAMETER Invalid parameter
@retval EFI_OUT_OF_RESOURCES No enough buffer to allocate @retval EFI_OUT_OF_RESOURCES No enough buffer to allocate
@retval EFI_SUCCESS Successfully get IO space map. @retval EFI_SUCCESS Successfully get IO space map.
**/ **/
@ -433,7 +396,6 @@ EFI_STATUS
Clears the Schedule on Request (SOR) flag for a component that is stored in a firmware volume. Clears the Schedule on Request (SOR) flag for a component that is stored in a firmware volume.
@param FirmwareVolumeHandle The handle of the firmware volume that contains the file specified by FileName. @param FirmwareVolumeHandle The handle of the firmware volume that contains the file specified by FileName.
@param DriverName A pointer to the name of the file in a firmware volume. @param DriverName A pointer to the name of the file in a firmware volume.
@return Status code @return Status code
@ -451,7 +413,6 @@ EFI_STATUS
Promotes a file stored in a firmware volume from the untrusted to the trusted state. Promotes a file stored in a firmware volume from the untrusted to the trusted state.
@param FirmwareVolumeHandle The handle of the firmware volume that contains the file specified by FileName. @param FirmwareVolumeHandle The handle of the firmware volume that contains the file specified by FileName.
@param DriverName A pointer to the name of the file in a firmware volume. @param DriverName A pointer to the name of the file in a firmware volume.
@return Status code @return Status code

View File

@ -52,22 +52,15 @@ typedef enum {
abstract accesses to devices. abstract accesses to devices.
@param This The EFI_SMM_CPU_IO_INTERFACE instance. @param This The EFI_SMM_CPU_IO_INTERFACE instance.
@param Width Signifies the width of the I/O operations. @param Width Signifies the width of the I/O operations.
@param Address The base address of the I/O operations. @param Address The base address of the I/O operations.
@param Count The number of I/O operations to perform. @param Count The number of I/O operations to perform.
@param Buffer For read operations, the destination buffer to store the results. @param Buffer For read operations, the destination buffer to store the results.
For write operations, the source buffer from which to write data. For write operations, the source buffer from which to write data.
@retval EFI_SUCCESS The data was read from or written to the device. @retval EFI_SUCCESS The data was read from or written to the device.
@retval EFI_UNSUPPORTED The Address is not valid for this system. @retval EFI_UNSUPPORTED The Address is not valid for this system.
@retval EFI_INVALID_PARAMETER Width or Count, or both, were invalid. @retval EFI_INVALID_PARAMETER Width or Count, or both, were invalid.
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources. @retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
**/ **/
@ -96,16 +89,12 @@ struct _EFI_SMM_CPU_IO_INTERFACE {
the Itanium processor family. the Itanium processor family.
@param PoolType The type of pool to allocate.The only supported type is EfiRuntimeServicesData @param PoolType The type of pool to allocate.The only supported type is EfiRuntimeServicesData
@param Size The number of bytes to allocate from the pool. @param Size The number of bytes to allocate from the pool.
@param Buffer A pointer to a pointer to the allocated buffer if the call @param Buffer A pointer to a pointer to the allocated buffer if the call
succeeds; undefined otherwise. succeeds; undefined otherwise.
@retval EFI_SUCCESS The requested number of bytes was allocated. @retval EFI_SUCCESS The requested number of bytes was allocated.
@retval EFI_OUT_OF_RESOURCES The pool requested could not be allocated. @retval EFI_OUT_OF_RESOURCES The pool requested could not be allocated.
@retval EFI_UNSUPPORTED In runtime. @retval EFI_UNSUPPORTED In runtime.
**/ **/
@ -123,9 +112,7 @@ EFI_STATUS
@param Buffer Pointer to the buffer to free. @param Buffer Pointer to the buffer to free.
@retval EFI_SUCCESS The memory was returned to the system. @retval EFI_SUCCESS The memory was returned to the system.
@retval EFI_INVALID_PARAMETER Buffer was invalid. @retval EFI_INVALID_PARAMETER Buffer was invalid.
@retval EFI_UNSUPPORTED In runtime. @retval EFI_UNSUPPORTED In runtime.
**/ **/
@ -139,21 +126,15 @@ EFI_STATUS
Allocates memory pages from the system. Allocates memory pages from the system.
@param Type The type of allocation to perform. @param Type The type of allocation to perform.
@param MemoryType The only supported type is EfiRuntimeServicesData @param MemoryType The only supported type is EfiRuntimeServicesData
@param NumberofPages The number of contiguous 4 KB pages to allocate @param NumberofPages The number of contiguous 4 KB pages to allocate
@param Memory Pointer to a physical address. On input, the way in which @param Memory Pointer to a physical address. On input, the way in which
the address is used depends on the value of Type. On output, the address the address is used depends on the value of Type. On output, the address
is set to the base of the page range that was allocated. is set to the base of the page range that was allocated.
@retval EFI_SUCCESS The requested pages were allocated. @retval EFI_SUCCESS The requested pages were allocated.
@retval EFI_OUT_OF_RESOURCES The pages requested could not be allocated. @retval EFI_OUT_OF_RESOURCES The pages requested could not be allocated.
@retval EFI_NOT_FOUND The requested pages could not be found. @retval EFI_NOT_FOUND The requested pages could not be found.
@retval EFI_INVALID_PARAMETER Type is not AllocateAnyPages or AllocateMaxAddress @retval EFI_INVALID_PARAMETER Type is not AllocateAnyPages or AllocateMaxAddress
or AllocateAddress. Or MemoryType is in the range EfiMaxMemoryType..0x7FFFFFFF. or AllocateAddress. Or MemoryType is in the range EfiMaxMemoryType..0x7FFFFFFF.
@ -171,13 +152,10 @@ EFI_STATUS
Frees memory pages for the system. Frees memory pages for the system.
@param Memory The base physical address of the pages to be freed @param Memory The base physical address of the pages to be freed
@param NumberOfPages The number of contiguous 4 KB pages to free. @param NumberOfPages The number of contiguous 4 KB pages to free.
@retval EFI_SUCCESS The requested memory pages were freed. @retval EFI_SUCCESS The requested memory pages were freed.
@retval EFI_INVALID_PARAMETER Memory is not a page-aligned address or NumberOfPages is invalid. @retval EFI_INVALID_PARAMETER Memory is not a page-aligned address or NumberOfPages is invalid.
@retval EFI_NOT_FOUND The requested memory pages were not allocated with SmmAllocatePages(). @retval EFI_NOT_FOUND The requested memory pages were not allocated with SmmAllocatePages().
**/ **/
@ -414,11 +392,10 @@ typedef union {
@param SmmImageHandle A unique value returned by the SMM infrastructure @param SmmImageHandle A unique value returned by the SMM infrastructure
in response to registration for a communicate-based callback or dispatch. in response to registration for a communicate-based callback or dispatch.
@param CommunicationBuffer
@param CommunicationBuffer An optional buffer that will be populated An optional buffer that will be populated
by the SMM infrastructure in response to a non-SMM agent (preboot or runtime) by the SMM infrastructure in response to a non-SMM agent (preboot or runtime)
invoking the EFI_SMM_BASE_PROTOCOL.Communicate() service. invoking the EFI_SMM_BASE_PROTOCOL.Communicate() service.
@param SourceSize If CommunicationBuffer is non-NULL, this field @param SourceSize If CommunicationBuffer is non-NULL, this field
indicates the size of the data payload in this buffer. indicates the size of the data payload in this buffer.

View File

@ -1,5 +1,5 @@
/** @file /** @file
GUIDs used for ACPI entries in the EFI 1.0 system table GUIDs used for ACPI entries in the EFI system table
These GUIDs point the ACPI tables as defined in the ACPI specifications. These GUIDs point the ACPI tables as defined in the ACPI specifications.
ACPI 2.0 specification defines the ACPI 2.0 GUID. UEFI 2.0 defines the ACPI 2.0 specification defines the ACPI 2.0 GUID. UEFI 2.0 defines the

View File

@ -1,5 +1,5 @@
/** @file /** @file
GUIDs for gBS->CreateEventEx Event Groups. Defined in EFI 2.0. GUIDs for gBS->CreateEventEx Event Groups. Defined in UEFI spec 2.0.
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials

View File

@ -1,5 +1,7 @@
/** @file /** @file
GUID is the name of events used with CreateEventEx in order to be notified when the EFI boot manager is about to boot a legacy boot option. Events of this type are notificated just before Int19h is invoked. GUID is the name of events used with CreateEventEx in order to be notified
when the EFI boot manager is about to boot a legacy boot option.
Events of this type are notificated just before Int19h is invoked.
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials

View File

@ -86,7 +86,7 @@
// //
// Assume standard IA-32 alignment. // Assume standard IA-32 alignment.
// BugBug: Need to check portability of long long // Need to check portability of long long
// //
typedef unsigned long long UINT64; typedef unsigned long long UINT64;
typedef long long INT64; typedef long long INT64;

View File

@ -1,5 +1,5 @@
/** @file /** @file
support for SCSI standard support for SCSI-2 standard
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials

View File

@ -134,7 +134,7 @@ GetFirstGuidHob (
@param ModuleName The GUID File Name of the module. @param ModuleName The GUID File Name of the module.
@param MemoryAllocationModule The 64 bit physical address of the module. @param MemoryAllocationModule The 64 bit physical address of the module.
@param ModuleLength The length of the module in bytes. @param ModuleLength The length of the module in bytes.
@param EntryPoint The 64 bit physical address of the modules entry point. @param EntryPoint The 64 bit physical address of the module entry point.
**/ **/
VOID VOID

View File

@ -64,7 +64,6 @@ typedef struct _EFI_PEI_NOTIFY_DESCRIPTOR EFI_PEI_NOTIFY_DESCRIPTOR;
Dispatcher will pass control to the PEIM at the AddressOfEntryPoint in the PE Header. Dispatcher will pass control to the PEIM at the AddressOfEntryPoint in the PE Header.
@param FfsHeader Pointer to the FFS file header. @param FfsHeader Pointer to the FFS file header.
@param PeiServices Describes the list of possible PEI Services. @param PeiServices Describes the list of possible PEI Services.
@return Status code @return Status code
@ -81,9 +80,7 @@ EFI_STATUS
Entry point of the notification callback function itself within the PEIM. Entry point of the notification callback function itself within the PEIM.
@param PeiServices Indirect reference to the PEI Services Table. @param PeiServices Indirect reference to the PEI Services Table.
@param NotifyDescriptor Address of the notification descriptor data structure. @param NotifyDescriptor Address of the notification descriptor data structure.
@param Ppi Address of the PPI that was installed. @param Ppi Address of the PPI that was installed.
@return Status code @return Status code
@ -127,13 +124,10 @@ struct _EFI_PEI_NOTIFY_DESCRIPTOR {
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table
published by the PEI Foundation. published by the PEI Foundation.
@param PpiList A pointer to the list of interfaces that the caller shall install. @param PpiList A pointer to the list of interfaces that the caller shall install.
@retval EFI_SUCCESS The interface was successfully installed. @retval EFI_SUCCESS The interface was successfully installed.
@retval EFI_INVALID_PARAMETER The PpiList pointer is NULL or Any of the PEI PPI descriptors in the list do not have the EFI_PEI_PPI_DESCRIPTOR_PPI bit set in the Flags field. @retval EFI_INVALID_PARAMETER The PpiList pointer is NULL or Any of the PEI PPI descriptors in the list do not have the EFI_PEI_PPI_DESCRIPTOR_PPI bit set in the Flags field.
@retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database. @retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database.
**/ **/
@ -152,17 +146,13 @@ EFI_STATUS
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table
published by the PEI Foundation. published by the PEI Foundation.
@param OldPpi A pointer to the former PPI in the database. @param OldPpi A pointer to the former PPI in the database.
@param NewPpi A pointer to the new interfaces that the caller shall install. @param NewPpi A pointer to the new interfaces that the caller shall install.
@retval EFI_SUCCESS The interface was successfully installed. @retval EFI_SUCCESS The interface was successfully installed.
@retval EFI_INVALID_PARAMETER The PpiList pointer is NULL or Any of the PEI PPI descriptors in the
@retval EFI_INVALID_PARAMETER The PpiList pointer is NULL or Any of the PEI PPI descriptors in the list do not have the EFI_PEI_PPI_DESCRIPTOR_PPI bit set in the Flags field. list do not have the EFI_PEI_PPI_DESCRIPTOR_PPI bit set in the Flags field.
@retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database. @retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database.
@retval EFI_NOT_FOUND The PPI for which the reinstallation was requested has not been installed. @retval EFI_NOT_FOUND The PPI for which the reinstallation was requested has not been installed.
**/ **/
@ -178,17 +168,12 @@ EFI_STATUS
This function locates an interface in the PEI PPI database by GUID. This function locates an interface in the PEI PPI database by GUID.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES published by the PEI Foundation. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES published by the PEI Foundation.
@param Guid A pointer to the GUID whose corresponding interface needs to be found. @param Guid A pointer to the GUID whose corresponding interface needs to be found.
@param Instance The N-th instance of the interface that is required. @param Instance The N-th instance of the interface that is required.
@param PpiDescriptor A pointer to instance of the EFI_PEI_PPI_DESCRIPTOR. @param PpiDescriptor A pointer to instance of the EFI_PEI_PPI_DESCRIPTOR.
@param Ppi A pointer to the instance of the interface. @param Ppi A pointer to the instance of the interface.
@retval EFI_SUCCESS The interface was successfully returned. @retval EFI_SUCCESS The interface was successfully returned.
@retval EFI_NOT_FOUND The PPI descriptor is not found in the database. @retval EFI_NOT_FOUND The PPI descriptor is not found in the database.
**/ **/
@ -209,13 +194,11 @@ EFI_STATUS
that may materialize later. that may materialize later.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation
@param NotifyList A pointer to the list of notification interfaces that the caller shall install. @param NotifyList A pointer to the list of notification interfaces that the caller shall install.
@retval EFI_SUCCESS The interface was successfully installed. @retval EFI_SUCCESS The interface was successfully installed.
@retval EFI_INVALID_PARAMETER The PpiList pointer is NULL or Any of the PEI PPI descriptors in the
@retval EFI_INVALID_PARAMETER The PpiList pointer is NULL or Any of the PEI PPI descriptors in the list do not have the EFI_PEI_PPI_DESCRIPTOR_PPI bit set in the Flags field. list do not have the EFI_PEI_PPI_DESCRIPTOR_PPI bit set in the Flags field.
@retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database. @retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database.
**/ **/
@ -230,7 +213,6 @@ EFI_STATUS
This function returns the present value of the boot mode. This function returns the present value of the boot mode.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.
@param BootMode A pointer to contain the value of the boot mode. @param BootMode A pointer to contain the value of the boot mode.
@retval EFI_SUCCESS The boot mode was returned successfully. @retval EFI_SUCCESS The boot mode was returned successfully.
@ -247,7 +229,6 @@ EFI_STATUS
This function sets the value of the boot mode. This function sets the value of the boot mode.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation
@param BootMode The value of the boot mode to set. @param BootMode The value of the boot mode to set.
@retval EFI_SUCCESS The boot mode was returned successfully. @retval EFI_SUCCESS The boot mode was returned successfully.
@ -264,11 +245,9 @@ EFI_STATUS
This function returns the pointer to the list of Hand-Off Blocks (HOBs) in memory. This function returns the pointer to the list of Hand-Off Blocks (HOBs) in memory.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation
@param HobList A pointer to the list of HOBs that the PEI Foundation will initialize @param HobList A pointer to the list of HOBs that the PEI Foundation will initialize
@retval EFI_SUCCESS The list was successfully returned. @retval EFI_SUCCESS The list was successfully returned.
@retval EFI_NOT_AVAILABLE_YET The HOB list is not yet published. @retval EFI_NOT_AVAILABLE_YET The HOB list is not yet published.
**/ **/
@ -283,15 +262,11 @@ EFI_STATUS
This service published by the PEI Foundation abstracts the creation of a Hand-Off Block's (HOB¡¯s) headers. This service published by the PEI Foundation abstracts the creation of a Hand-Off Block's (HOB¡¯s) headers.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.
@param Type The type of HOB to be installed. @param Type The type of HOB to be installed.
@param Length The length of the HOB to be added. @param Length The length of the HOB to be added.
@param Hob The address of a pointer that will contain the HOB header. @param Hob The address of a pointer that will contain the HOB header.
@retval EFI_SUCCESS The HOB was successfully created. @retval EFI_SUCCESS The HOB was successfully created.
@retval EFI_OUT_OF_RESOURCES There is no additional space for HOB creation. @retval EFI_OUT_OF_RESOURCES There is no additional space for HOB creation.
**/ **/
@ -311,15 +286,11 @@ EFI_STATUS
matching file in the Firmware File System (FFS) volume. matching file in the Firmware File System (FFS) volume.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.
@param Instance This instance of the firmware volume to find. The value 0 is the Boot Firmware Volume (BFV). @param Instance This instance of the firmware volume to find. The value 0 is the Boot Firmware Volume (BFV).
@param FwVolHeader Pointer to the firmware volume header of the volume to return. @param FwVolHeader 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.
@retval EFI_INVALID_PARAMETER FwVolHeader is NULL @retval EFI_INVALID_PARAMETER FwVolHeader is NULL
**/ **/
@ -338,17 +309,14 @@ EFI_STATUS
file in the Firmware File System (FFS) volume. file in the Firmware File System (FFS) volume.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.
@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.This parameter
@param FwVolHeader Pointer to the firmware volume header of the volume to search.This parameter must point to a valid FFS volume. must point to a valid FFS volume.
@param FileHeader Pointer to the current file from which to begin searching.This pointer will be
@param FileHeader Pointer to the current file from which to begin searching.This pointer will be updated upon return to reflect the file found. updated upon return to reflect the file found.
@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.
@retval EFI_NOT_FOUND The header checksum was not zero. @retval EFI_NOT_FOUND The header checksum was not zero.
**/ **/
@ -366,15 +334,11 @@ EFI_STATUS
matching file in the Firmware File System (FFS) volume. matching file in the Firmware File System (FFS) volume.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.
@param SectionType 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 be searched. @param FfsFileHeader A pointer to the file header that contains the set of sections to be searched.
@param SectionData A pointer to the discovered section, if successful. @param SectionData A pointer to the discovered section, if successful.
@retval EFI_SUCCESS The section was found. @retval EFI_SUCCESS The section was found.
@retval EFI_NOT_FOUND The section was not found. @retval EFI_NOT_FOUND The section was not found.
**/ **/
@ -391,15 +355,11 @@ EFI_STATUS
This function registers the found memory configuration with the PEI Foundation. This function registers the found memory configuration with the PEI Foundation.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.
@param MemoryBegin The value of a region of installed memory @param MemoryBegin The value of a region of installed memory
@param MemoryLength The corresponding length of a region of installed memory. @param MemoryLength The corresponding length of a region of installed memory.
@retval EFI_SUCCESS The region was successfully installed in a HOB. @retval EFI_SUCCESS The region was successfully installed in a HOB.
@retval EFI_INVALID_PARAMETER MemoryBegin and MemoryLength are illegal for this system. @retval EFI_INVALID_PARAMETER MemoryBegin and MemoryLength are illegal for this system.
@retval EFI_OUT_OF_RESOURCES There is no additional space for HOB creation. @retval EFI_OUT_OF_RESOURCES There is no additional space for HOB creation.
**/ **/
@ -416,17 +376,13 @@ EFI_STATUS
PEIMs to allocate memory ranges that are managed by the PEI Foundation. PEIMs to allocate memory ranges that are managed by the PEI Foundation.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.
@param MemoryType The type of memory to allocate. @param MemoryType The type of memory to allocate.
@param Pages The number of contiguous 4 KB pages to allocate. @param Pages The number of contiguous 4 KB pages to allocate.
@param Memory Pointer to a physical address. On output, the address is set to the base
@param Memory Pointer to a physical address. On output, the address is set to the base of the page range that was allocated. of the page range that was allocated.
@retval EFI_SUCCESS The memory range was successfully allocated. @retval EFI_SUCCESS The memory range was successfully allocated.
@retval EFI_OUT_OF_RESOURCES The pages could not be allocated. @retval EFI_OUT_OF_RESOURCES The pages could not be allocated.
@retval EFI_INVALID_PARAMETER Type is not equal to AllocateAnyPages. @retval EFI_INVALID_PARAMETER Type is not equal to AllocateAnyPages.
**/ **/
@ -444,13 +400,10 @@ EFI_STATUS
allows PEIMs to allocate memory ranges that are managed by the PEI Foundation. allows PEIMs to allocate memory ranges that are managed by the PEI Foundation.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.
@param Size The number of bytes to allocate from the pool. @param Size The number of bytes to allocate from the pool.
@param Buffer If the call succeeds, a pointer to a pointer to the allocated buffer; undefined otherwise. @param Buffer If the call succeeds, a pointer to a pointer to the allocated buffer; undefined otherwise.
@retval EFI_SUCCESS The allocation was successful. @retval EFI_SUCCESS The allocation was successful.
@retval EFI_OUT_OF_RESOURCES There is not enough heap to allocate the requested size. @retval EFI_OUT_OF_RESOURCES There is not enough heap to allocate the requested size.
**/ **/
@ -466,9 +419,7 @@ EFI_STATUS
This service copies the contents of one buffer to another buffer. This service copies the contents of one buffer to another buffer.
@param Destination Pointer to the destination buffer of the memory copy. @param Destination Pointer to the destination buffer of the memory copy.
@param Source Pointer to the source buffer of the memory copy @param Source Pointer to the source buffer of the memory copy
@param Length Number of bytes to copy from Source to Destination. @param Length Number of bytes to copy from Source to Destination.
@return None @return None
@ -486,9 +437,7 @@ VOID
The service fills a buffer with a specified value. The service fills a buffer with a specified value.
@param Buffer Pointer to the buffer to fill. @param Buffer Pointer to the buffer to fill.
@param Size Number of bytes in Buffer to fill. @param Size Number of bytes in Buffer to fill.
@param Value Value to fill Buffer with @param Value Value to fill Buffer with
@return None @return None
@ -506,29 +455,23 @@ VOID
This service publishes an interface that allows PEIMs to report status codes. This service publishes an interface that allows PEIMs to report status codes.
@param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.
@param Type Indicates the type of status code being reported. @param Type Indicates the type of status code being reported.
@param Value Describes the current status of a hardware or @param Value Describes the current status of a hardware or
software entity. This includes information about the class and software entity. This includes information about the class and
subclass that is used to classify the entity as well as an operation. subclass that is used to classify the entity as well as an operation.
For progress codes, the operation is the current activity. For progress codes, the operation is the current activity.
For error codes, it is the exception.For debug codes,it is not defined at this time. For error codes, it is the exception.For debug codes,it is not defined at this time.
@param Instance The enumeration of a hardware or software entity within @param Instance The enumeration of a hardware or software entity within
the system. A system may contain multiple entities that match a class/subclass the system. A system may contain multiple entities that match a class/subclass
pairing. The instance differentiates between them. An instance of 0 indicates pairing. The instance differentiates between them. An instance of 0 indicates
that instance information is unavailable, not meaningful, or not relevant. that instance information is unavailable, not meaningful, or not relevant.
Valid instance numbers start with 1. Valid instance numbers start with 1.
@param CallerId This optional parameter may be used to identify the caller. @param CallerId This optional parameter may be used to identify the caller.
This parameter allows the status code driver to apply different rules to This parameter allows the status code driver to apply different rules to
different callers. different callers.
@param Data This optional parameter may be used to pass additional data. @param Data This optional parameter may be used to pass additional data.
@retval EFI_SUCCESS The function completed successfully. @retval EFI_SUCCESS The function completed successfully.
@retval EFI_NOT_AVAILABLE_YET No progress code provider has installed an interface in the system. @retval EFI_NOT_AVAILABLE_YET No progress code provider has installed an interface in the system.
**/ **/
@ -550,7 +493,6 @@ EFI_STATUS
table published by the PEI Foundation. table published by the PEI Foundation.
@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.
**/ **/

View File

@ -49,9 +49,7 @@ typedef struct {
Gets the count of block I/O devices that one specific block driver detects. Gets the count of block I/O devices that one specific block driver detects.
@param PeiServices General-purpose services that are available to every PEIM. @param PeiServices General-purpose services that are available to every PEIM.
@param This Indicates the EFI_PEI_RECOVERY_BLOCK_IO_PPI instance. @param This Indicates the EFI_PEI_RECOVERY_BLOCK_IO_PPI instance.
@param NumberBlockDevices The number of block I/O devices discovered. @param NumberBlockDevices The number of block I/O devices discovered.
@return Status code @return Status code
@ -69,19 +67,15 @@ EFI_STATUS
Gets a block device¡¯s media information. Gets a block device¡¯s media information.
@param PeiServices General-purpose services that are available to every PEIM @param PeiServices General-purpose services that are available to every PEIM
@param This Indicates the EFI_PEI_RECOVERY_BLOCK_IO_PPI instance. @param This Indicates the EFI_PEI_RECOVERY_BLOCK_IO_PPI instance.
@param DeviceIndex Specifies the block device to which the function @param DeviceIndex Specifies the block device to which the function
wants to talk. Because the driver that implements Block I/O PPIs wants to talk. Because the driver that implements Block I/O PPIs
will manage multiple block devices, the PPIs that want to talk to a single will manage multiple block devices, the PPIs that want to talk to a single
device must specify the device index that was assigned during the enumeration device must specify the device index that was assigned during the enumeration
process. This index is a number from one to NumberBlockDevices. process. This index is a number from one to NumberBlockDevices.
@param MediaInfo The media information of the specified block media. @param MediaInfo The media information of the specified block media.
@retval EFI_SUCCESS Media information about the specified block device was obtained successfully. @retval EFI_SUCCESS Media information about the specified block device was obtained successfully.
@retval EFI_DEVICE_ERROR Cannot get the media information due to a hardware error. @retval EFI_DEVICE_ERROR Cannot get the media information due to a hardware error.
**/ **/
@ -98,29 +92,20 @@ EFI_STATUS
Reads the requested number of blocks from the specified block device. Reads the requested number of blocks from the specified block device.
@param PeiServices General-purpose services that are available to every PEIM. @param PeiServices General-purpose services that are available to every PEIM.
@param This Indicates the EFI_PEI_RECOVERY_BLOCK_IO_PPI instance. @param This Indicates the EFI_PEI_RECOVERY_BLOCK_IO_PPI instance.
@param DeviceIndex Specifies the block device to which the function wants to talk. @param DeviceIndex Specifies the block device to which the function wants to talk.
@param StartLBA The starting logical block address (LBA) to read from on the device @param StartLBA The starting logical block address (LBA) to read from on the device
@param BufferSize The size of the Buffer in bytes. This number must @param BufferSize The size of the Buffer in bytes. This number must
be a multiple of the intrinsic block size of the device. be a multiple of the intrinsic block size of the device.
@param Buffer A pointer to the destination buffer for the data. @param Buffer A pointer to the destination buffer for the data.
The caller is responsible for the ownership of the buffer. The caller is responsible for the ownership of the buffer.
@retval EFI_SUCCESS The data was read correctly from the device. @retval EFI_SUCCESS The data was read correctly from the device.
@retval EFI_DEVICE_ERROR The device reported an error while attempting to perform the read operation. @retval EFI_DEVICE_ERROR The device reported an error while attempting to perform the read operation.
@retval EFI_INVALID_PARAMETER The read request contains LBAs that are not valid, @retval EFI_INVALID_PARAMETER The read request contains LBAs that are not valid,
or the buffer is not properly aligned. or the buffer is not properly aligned.
@retval EFI_BAD_BUFFER_SIZE The BufferSize parameter is not a multiple of @retval EFI_BAD_BUFFER_SIZE The BufferSize parameter is not a multiple of
the intrinsic block size of the device. the intrinsic block size of the device.
@retval EFI_NO_MEDIA There is no media in the device. @retval EFI_NO_MEDIA There is no media in the device.
**/ **/

View File

@ -32,21 +32,15 @@ typedef struct _EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI EFI_PEI_BOOT_SCRIPT_EXECUTER_PP
Executes the Framework boot script table. Executes the Framework boot script table.
@param PeiServices A pointer to the system PEI Services Table. @param PeiServices A pointer to the system PEI Services Table.
@param This A pointer to the EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI instance. @param This A pointer to the EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI instance.
@param Address The physical memory address where the table is stored. @param Address The physical memory address where the table is stored.
It must be zero if the table to be executed is stored in a firmware volume file. It must be zero if the table to be executed is stored in a firmware volume file.
@param FvFile The firmware volume file name that contains the table to @param FvFile The firmware volume file name that contains the table to
be executed. It must be NULL if the table to be executed is stored in physical memory. be executed. It must be NULL if the table to be executed is stored in physical memory.
@retval EFI_SUCCESS The boot script table was executed successfully. @retval EFI_SUCCESS The boot script table was executed successfully.
@retval EFI_INVALID_PARAMETER Address is zero and FvFile is NULL. @retval EFI_INVALID_PARAMETER Address is zero and FvFile is NULL.
@retval EFI_NOT_FOUND The file name specified in FvFile cannot be found. @retval EFI_NOT_FOUND The file name specified in FvFile cannot be found.
@retval EFI_UNSUPPORTED The format of the boot script table is invalid. @retval EFI_UNSUPPORTED The format of the boot script table is invalid.
Or An unsupported opcode occurred in the table. Or An unsupported opcode occurred in the table.
Or There were opcode execution errors, such as an insufficient dependency. Or There were opcode execution errors, such as an insufficient dependency.

View File

@ -53,19 +53,13 @@ typedef enum {
Memory-based access services and I/O-based access services. Memory-based access services and I/O-based access services.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Width The width of the access. Enumerated in bytes. @param Width The width of the access. Enumerated in bytes.
@param Address The physical address of the access. @param Address The physical address of the access.
@param Count The number of accesses to perform. @param Count The number of accesses to perform.
@param Buffer A pointer to the buffer of data. @param Buffer A pointer to the buffer of data.
@retval EFI_SUCCESS The function completed successfully. @retval EFI_SUCCESS The function completed successfully.
@retval EFI_NOT_YET_AVAILABLE The service has not been installed. @retval EFI_NOT_YET_AVAILABLE The service has not been installed.
**/ **/
@ -94,9 +88,7 @@ typedef struct {
8-bit I/O read operations. 8-bit I/O read operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@return UINT8 @return UINT8
@ -114,9 +106,7 @@ UINT8
16-bit I/O read operations. 16-bit I/O read operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@return UINT16 @return UINT16
@ -134,9 +124,7 @@ UINT16
32-bit I/O read operations. 32-bit I/O read operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@return UINT32 @return UINT32
@ -154,9 +142,7 @@ UINT32
64-bit I/O read operations. 64-bit I/O read operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@return UINT64 @return UINT64
@ -174,11 +160,8 @@ UINT64
8-bit I/O write operations. 8-bit I/O write operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@param Data The data to write. @param Data The data to write.
@return None @return None
@ -197,11 +180,8 @@ VOID
16-bit I/O write operations. 16-bit I/O write operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@param Data The data to write. @param Data The data to write.
@return None @return None
@ -220,11 +200,8 @@ VOID
32-bit I/O write operations. 32-bit I/O write operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@param Data The data to write. @param Data The data to write.
@return None @return None
@ -243,11 +220,8 @@ VOID
64-bit I/O write operations. 64-bit I/O write operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@param Data The data to write. @param Data The data to write.
@return None @return None
@ -266,9 +240,7 @@ VOID
8-bit Memory read operations. 8-bit Memory read operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@return UINT8 @return UINT8
@ -286,9 +258,7 @@ UINT8
16-bit Memory read operations. 16-bit Memory read operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@return UINT16 @return UINT16
@ -306,9 +276,7 @@ UINT16
32-bit Memory read operations. 32-bit Memory read operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@return UINT32 @return UINT32
@ -326,9 +294,7 @@ UINT32
64-bit Memory read operations. 64-bit Memory read operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@return UINT64 @return UINT64
@ -346,11 +312,8 @@ UINT64
8-bit Memory write operations. 8-bit Memory write operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@param Data The data to write. @param Data The data to write.
@return None @return None
@ -369,11 +332,8 @@ VOID
16-bit Memory write operations. 16-bit Memory write operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@param Data The data to write. @param Data The data to write.
@return None @return None
@ -392,11 +352,8 @@ VOID
32-bit Memory write operations. 32-bit Memory write operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@param Data The data to write. @param Data The data to write.
@return None @return None
@ -415,11 +372,8 @@ VOID
64-bit Memory write operations. 64-bit Memory write operations.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Address The physical address of the access. @param Address The physical address of the access.
@param Data The data to write. @param Data The data to write.
@return None @return None

View File

@ -35,17 +35,13 @@ typedef struct _EFI_PEI_DEVICE_RECOVERY_MODULE_PPI EFI_PEI_DEVICE_RECOVERY_MODUL
and entry N is assumed to be the lowest priority. and entry N is assumed to be the lowest priority.
@param PeiServices General-purpose services that are available to every PEIM @param PeiServices General-purpose services that are available to every PEIM
@param This Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance. @param This Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance.
@param NumberRecoveryCapsules Pointer to a caller-allocated UINTN. On output, @param NumberRecoveryCapsules Pointer to a caller-allocated UINTN. On output,
*NumberRecoveryCapsules contains the number of recovery capsule images available *NumberRecoveryCapsules contains the number of recovery capsule
for retrieval from this PEIM instance. images available for retrieval from this PEIM instance.
@retval EFI_SUCCESS One or more capsules were discovered. @retval EFI_SUCCESS One or more capsules were discovered.
@retval EFI_DEVICE_ERROR A device error occurred. @retval EFI_DEVICE_ERROR A device error occurred.
@retval EFI_NOT_FOUND A recovery DXE capsule cannot be found. @retval EFI_NOT_FOUND A recovery DXE capsule cannot be found.
**/ **/
@ -61,21 +57,15 @@ EFI_STATUS
This function gets the size and type of the requested recovery capsule. This function gets the size and type of the requested recovery capsule.
@param PeiServices General-purpose services that are available to every PEIM @param PeiServices General-purpose services that are available to every PEIM
@param This Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance. @param This Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance.
@param CapsuleInstance Specifies for which capsule instance to retrieve the information. @param CapsuleInstance Specifies for which capsule instance to retrieve the information.
@param Size A pointer to a caller-allocated UINTN in which the size of @param Size A pointer to a caller-allocated UINTN in which the size of
the requested recovery module is returned. the requested recovery module is returned.
@param CapsuleType A pointer to a caller-allocated EFI_GUID in @param CapsuleType A pointer to a caller-allocated EFI_GUID in
which the type of the requested recovery capsule is returned. which the type of the requested recovery capsule is returned.
@retval EFI_SUCCESS One or more capsules were discovered. @retval EFI_SUCCESS One or more capsules were discovered.
@retval EFI_DEVICE_ERROR A device error occurred. @retval EFI_DEVICE_ERROR A device error occurred.
@retval EFI_NOT_FOUND A recovery DXE capsule cannot be found. @retval EFI_NOT_FOUND A recovery DXE capsule cannot be found.
**/ **/
@ -94,17 +84,13 @@ EFI_STATUS
and loads it into memory. Note that the published interface is device neutral. and loads it into memory. Note that the published interface is device neutral.
@param PeiServices General-purpose services that are available to every PEIM @param PeiServices General-purpose services that are available to every PEIM
@param This Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance. @param This Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance.
@param CapsuleInstance Specifies which capsule instance to retrieve. @param CapsuleInstance Specifies which capsule instance to retrieve.
@param Buffer Specifies a caller-allocated buffer in which the requested
@param Buffer Specifies a caller-allocated buffer in which the requested recovery capsule will be returned. recovery capsule will be returned.
@retval EFI_SUCCESS One or more capsules were discovered. @retval EFI_SUCCESS One or more capsules were discovered.
@retval EFI_DEVICE_ERROR A device error occurred. @retval EFI_DEVICE_ERROR A device error occurred.
@retval EFI_NOT_FOUND A recovery DXE capsule cannot be found. @retval EFI_NOT_FOUND A recovery DXE capsule cannot be found.
**/ **/

View File

@ -34,9 +34,7 @@ typedef struct _EFI_DXE_IPL_PPI EFI_DXE_IPL_PPI;
there are no additional PEIMs to invoke. there are no additional PEIMs to invoke.
@param This Pointer to the DXE IPL PPI instance @param This Pointer to the DXE IPL PPI instance
@param PeiServices Pointer to the PEI Services Table. @param PeiServices Pointer to the PEI Services Table.
@param HobList Pointer to the list of Hand-Off Block (HOB) entries. @param HobList Pointer to the list of Hand-Off Block (HOB) entries.
@retval EFI_SUCCESS Upon this return code, the PEI Foundation should enter @retval EFI_SUCCESS Upon this return code, the PEI Foundation should enter

View File

@ -34,17 +34,12 @@ typedef struct _EFI_PEI_FIND_FV_PPI EFI_PEI_FIND_FV_PPI;
index/base address pair, that index/address pairing must continue throughout PEI. index/base address pair, that index/address pairing must continue throughout PEI.
@param PeiServices Pointer to the PEI Services Table. @param PeiServices Pointer to the PEI Services Table.
@param This Interface pointer that implements the Find FV service. @param This Interface pointer that implements the Find FV service.
@param FvNumber The index of the firmware volume to locate. @param FvNumber The index of the firmware volume to locate.
@param FvAddress The address of the volume to discover. @param FvAddress The address of the volume to discover.
@retval EFI_SUCCESS An additional firmware volume was found. @retval EFI_SUCCESS An additional firmware volume was found.
@retval EFI_OUT_OF_RESOURCES There are no firmware volumes for the given FvNumber. @retval EFI_OUT_OF_RESOURCES There are no firmware volumes for the given FvNumber.
@retval EFI_INVALID_PARAMETER *FvAddress is NULL. @retval EFI_INVALID_PARAMETER *FvAddress is NULL.
**/ **/

View File

@ -31,19 +31,13 @@ typedef struct _EFI_PEI_FV_FILE_LOADER_PPI EFI_PEI_FV_FILE_LOADER_PPI;
Loads a PEIM into memory for subsequent execution. Loads a PEIM into memory for subsequent execution.
@param This Interface pointer that implements the Load File PPI instance. @param This Interface pointer that implements the Load File PPI instance.
@param FfsHeader Pointer to the FFS header of the file to load. @param FfsHeader Pointer to the FFS header of the file to load.
@param ImageAddress Pointer to the address of the loaded Image @param ImageAddress Pointer to the address of the loaded Image
@param ImageSize Pointer to the size of the loaded image. @param ImageSize Pointer to the size of the loaded image.
@param EntryPoint Pointer to the entry point of the image. @param EntryPoint Pointer to the entry point of the image.
@retval EFI_SUCCESS The image was loaded successfully. @retval EFI_SUCCESS The image was loaded successfully.
@retval EFI_OUT_OF_RESOURCES There was not enough memory. @retval EFI_OUT_OF_RESOURCES There was not enough memory.
@retval EFI_INVALID_PARAMETER The contents of the FFS file did not @retval EFI_INVALID_PARAMETER The contents of the FFS file did not
contain a valid PE/COFF image that could be loaded. contain a valid PE/COFF image that could be loaded.

View File

@ -53,17 +53,12 @@ typedef struct {
@param PeiServices An indirect pointer to the PEI Services Table @param PeiServices An indirect pointer to the PEI Services Table
published by the PEI Foundation. published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Width The width of the access. Enumerated in bytes. @param Width The width of the access. Enumerated in bytes.
@param Address The physical address of the access. @param Address The physical address of the access.
@param Buffer A pointer to the buffer of data. @param Buffer A pointer to the buffer of data.
@retval EFI_SUCCESS The function completed successfully. @retval EFI_SUCCESS The function completed successfully.
@retval EFI_NOT_YET_AVAILABLE The service has not been installed. @retval EFI_NOT_YET_AVAILABLE The service has not been installed.
**/ **/
@ -82,15 +77,10 @@ EFI_STATUS
@param PeiServices An indirect pointer to the PEI Services Table @param PeiServices An indirect pointer to the PEI Services Table
published by the PEI Foundation. published by the PEI Foundation.
@param This Pointer to local data for the interface. @param This Pointer to local data for the interface.
@param Width The width of the access. Enumerated in bytes. @param Width The width of the access. Enumerated in bytes.
@param Address The physical address of the access. @param Address The physical address of the access.
@param SetBits Value of the bits to set. @param SetBits Value of the bits to set.
@param ClearBits Value of the bits to clear. @param ClearBits Value of the bits to clear.
@retval EFI_SUCCESS The function completed successfully. @retval EFI_SUCCESS The function completed successfully.

View File

@ -40,27 +40,18 @@ typedef struct _EFI_PEI_READ_ONLY_VARIABLE_PPI EFI_PEI_READ_ONLY_VARIABLE_PPI;
Get Variable value by Name and GUID pair Get Variable value by Name and GUID pair
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param VariableName A NULL-terminated Unicode string that is the name of the vendor¡¯s variable. @param VariableName A NULL-terminated Unicode string that is the name of the vendor¡¯s variable.
@param VendorGuid A unique identifier for the vendor. @param VendorGuid A unique identifier for the vendor.
@param Attributes If not NULL, a pointer to the memory location to return @param Attributes If not NULL, a pointer to the memory location to return
the attributes bitmask for the variable. the attributes bitmask for the variable.
@param DataSize On input, the size in bytes of the return Data buffer. @param DataSize On input, the size in bytes of the return Data buffer.
On output, the size of data returned in Data. On output, the size of data returned in Data.
@param Data The buffer to return the contents of the variable. @param Data The buffer to return the contents of the variable.
@retval EFI_SUCCESS The function completed successfully. @retval EFI_SUCCESS The function completed successfully.
@retval EFI_NOT_FOUND The variable was not found. @retval EFI_NOT_FOUND The variable was not found.
@retval EFI_BUFFER_TOO_SMALL The BufferSize is too small for the result. @retval EFI_BUFFER_TOO_SMALL The BufferSize is too small for the result.
@retval EFI_INVALID_PARAMETER One of the parameters has an invalid value. @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.
@retval EFI_DEVICE_ERROR The variable could not be retrieved due to a hardware error. @retval EFI_DEVICE_ERROR The variable could not be retrieved due to a hardware error.
**/ **/
@ -83,25 +74,18 @@ EFI_STATUS
entire variable list has been returned, the error EFI_NOT_FOUND is returned. entire variable list has been returned, the error EFI_NOT_FOUND is returned.
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
@param VariableNameSize The size of the VariableName buffer. @param VariableNameSize The size of the VariableName buffer.
@param VariableName On input, supplies the last VariableName that was @param VariableName On input, supplies the last VariableName that was
returned by GetNextVariableName(). On output, returns the Null-terminated returned by GetNextVariableName(). On output, returns the Null-terminated
Unicode string of the current variable. Unicode string of the current variable.
@param VendorGuid On input, supplies the last VendorGuid that was @param VendorGuid On input, supplies the last VendorGuid that was
returned by GetNextVariableName(). On output, returns the VendorGuid returned by GetNextVariableName(). On output, returns the VendorGuid
of the current variable. of the current variable.
@retval EFI_SUCCESS The function completed successfully. @retval EFI_SUCCESS The function completed successfully.
@retval EFI_NOT_FOUND The next variable was not found. @retval EFI_NOT_FOUND The next variable was not found.
@retval EFI_BUFFER_TOO_SMALL The VariableNameSize is too small for the result. @retval EFI_BUFFER_TOO_SMALL The VariableNameSize is too small for the result.
@retval EFI_INVALID_PARAMETER One of the parameters has an invalid value. @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.
@retval EFI_DEVICE_ERROR The variable name could not be retrieved due to a hardware error. @retval EFI_DEVICE_ERROR The variable name could not be retrieved due to a hardware error.
**/ **/

View File

@ -33,13 +33,10 @@ typedef struct _EFI_PEI_RECOVERY_MODULE_PPI EFI_PEI_RECOVERY_MODULE_PPI;
with the DXE firmware volume information. with the DXE firmware volume information.
@param PeiServices General-purpose services that are available to every PEIM. @param PeiServices General-purpose services that are available to every PEIM.
@param This Indicates the EFI_PEI_RECOVERY_MODULE_PPI instance. @param This Indicates the EFI_PEI_RECOVERY_MODULE_PPI instance.
@retval EFI_SUCCESS The capsule was loaded correctly. @retval EFI_SUCCESS The capsule was loaded correctly.
@retval EFI_DEVICE_ERROR A device error occurred. @retval EFI_DEVICE_ERROR A device error occurred.
@retval EFI_NOT_FOUND A recovery DXE capsule cannot be found. @retval EFI_NOT_FOUND A recovery DXE capsule cannot be found.
**/ **/

View File

@ -35,7 +35,6 @@ typedef struct _EFI_PEI_S3_RESUME_PPI EFI_PEI_S3_RESUME_PPI;
@param PeiServices Pointer to the PEI Services Table @param PeiServices Pointer to the PEI Services Table
@retval EFI_ABORTED Execution of the S3 resume boot script table failed. @retval EFI_ABORTED Execution of the S3 resume boot script table failed.
@retval EFI_NOT_FOUND Some necessary information that is used for @retval EFI_NOT_FOUND Some necessary information that is used for
the S3 resume boot path could not be located. the S3 resume boot path could not be located.

View File

@ -55,13 +55,10 @@ typedef struct {
This interface conveys state information out of the Security (SEC) phase into PEI. This interface conveys state information out of the Security (SEC) phase into PEI.
@param PeiServices Pointer to the PEI Services Table. @param PeiServices Pointer to the PEI Services Table.
@param StructureSize Pointer to the variable describing size of the input buffer. @param StructureSize Pointer to the variable describing size of the input buffer.
@param PlatformInformationRecord Pointer to the EFI_SEC_PLATFORM_INFORMATION_RECORD. @param PlatformInformationRecord Pointer to the EFI_SEC_PLATFORM_INFORMATION_RECORD.
@retval EFI_SUCCESS The data was successfully returned. @retval EFI_SUCCESS The data was successfully returned.
@retval EFI_BUFFER_TOO_SMALL The buffer was too small. @retval EFI_BUFFER_TOO_SMALL The buffer was too small.
**/ **/

View File

@ -42,46 +42,36 @@ typedef struct _EFI_PEI_SECTION_EXTRACTION_PPI EFI_PEI_SECTION_EXTRACTION_PPI;
exclusive of the section header. exclusive of the section header.
@param PeiServices Pointer to the PEI Services Table. @param PeiServices Pointer to the PEI Services Table.
@param This Indicates the calling context @param This Indicates the calling context
@param SectionType Pointer to an EFI_SECTION_TYPE. If SectionType == NULL, @param SectionType Pointer to an EFI_SECTION_TYPE. If SectionType == NULL,
the contents of the entire section are returned in Buffer. If SectionType the contents of the entire section are returned in Buffer. If SectionType
is not NULL, only the requested section is returned. is not NULL, only the requested section is returned.
@param SectionDefinitionGuid
@param SectionDefinitionGuid Pointer to an EFI_GUID. Pointer to an EFI_GUID.
If SectionType == EFI_SECTION_GUID_DEFINED, SectionDefinitionGuid If SectionType == EFI_SECTION_GUID_DEFINED, SectionDefinitionGuid
indicates for which section GUID to search. indicates for which section GUID to search.
If SectionType != EFI_SECTION_GUID_DEFINED, SectionDefinitionGuid If SectionType != EFI_SECTION_GUID_DEFINED, SectionDefinitionGuid
is unused and is ignored. is unused and is ignored.
@param SectionInstance If SectionType is not NULL, indicates which @param SectionInstance If SectionType is not NULL, indicates which
instance of the requested section type to return. instance of the requested section type to return.
@param Buffer Pointer to a pointer to a buffer in which the section @param Buffer Pointer to a pointer to a buffer in which the section
contents are returned. contents are returned.
@param BufferSize A pointer to a caller-allocated UINT32.On input, *BufferSize @param BufferSize A pointer to a caller-allocated UINT32.On input, *BufferSize
indicates the size in bytes of the memory region pointed to by Buffer.On output, indicates the size in bytes of the memory region pointed to by Buffer.On output,
*BufferSize contains the number of bytes required to read the section. *BufferSize contains the number of bytes required to read the section.
@param AuthenticationStatus
@param AuthenticationStatus A pointer to a caller-allocated UINT32 in A pointer to a caller-allocated UINT32 in
which any metadata from encapsulating GUID-defined sections is returned. which any metadata from encapsulating GUID-defined sections is returned.
@retval EFI_SUCCESS The section was successfully processed and the section @retval EFI_SUCCESS The section was successfully processed and the section
contents were returned in Buffer. contents were returned in Buffer.
@retval EFI_PROTOCOL_ERROR A GUID-defined section was encountered in @retval EFI_PROTOCOL_ERROR A GUID-defined section was encountered in
the file with its EFI_GUIDED_SECTION_PROCESSING_REQUIRED bit set, but the file with its EFI_GUIDED_SECTION_PROCESSING_REQUIRED bit set, but
there was no corresponding GUIDed Section Extraction Protocol in the there was no corresponding GUIDed Section Extraction Protocol in the
handle database.*Buffer is unmodified. handle database.*Buffer is unmodified.
@retval EFI_NOT_FOUND The requested section does not exist.*Buffer is unmodified. @retval EFI_NOT_FOUND The requested section does not exist.*Buffer is unmodified.
@retval EFI_OUT_OF_RESOURCES The system has insufficient resources to process the request. @retval EFI_OUT_OF_RESOURCES The system has insufficient resources to process the request.
@retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist. @retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist.
@retval EFI_WARN_TOO_SMALL The size of the input buffer is insufficient to @retval EFI_WARN_TOO_SMALL The size of the input buffer is insufficient to
contain the requested section. The input buffer is filled and contents are contain the requested section. The input buffer is filled and contents are
section contents are truncated. section contents are truncated.

View File

@ -33,17 +33,13 @@ typedef struct _EFI_PEI_SECURITY_PPI EFI_PEI_SECURITY_PPI;
to varying file authentication states. to varying file authentication states.
@param PeiServices Pointer to the PEI Services Table. @param PeiServices Pointer to the PEI Services Table.
@param This Interface pointer that implements the particular EFI_PEI_SECURITY_PPI instance. @param This Interface pointer that implements the particular EFI_PEI_SECURITY_PPI instance.
@param AuthenticationStatus
@param AuthenticationStatus Status returned by the verification service as part of section extraction. Status returned by the verification service as part of section extraction.
@param FfsFileHeader Pointer to the file under review. @param FfsFileHeader Pointer to the file under review.
@param DeferExecution Pointer to a variable that alerts the PEI Foundation to defer execution of a PEIM. @param DeferExecution Pointer to a variable that alerts the PEI Foundation to defer execution of a PEIM.
@retval EFI_SUCCESS The service performed its action successfully. @retval EFI_SUCCESS The service performed its action successfully.
@retval EFI_SECURITY_VIOLATION The object cannot be trusted @retval EFI_SECURITY_VIOLATION The object cannot be trusted
**/ **/

View File

@ -32,46 +32,32 @@ typedef struct _EFI_PEI_SMBUS_PPI EFI_PEI_SMBUS_PPI;
Executes an SMBus operation to an SMBus controller. Executes an SMBus operation to an SMBus controller.
@param PeiServices A pointer to the system PEI Services Table. @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 The SMBUS hardware address to which the SMBUS @param SlaveAddress The SMBUS hardware address to which the SMBUS
device is preassigned or allocated. device is preassigned or allocated.
@param Command This command is transmitted by the SMBus host @param Command This command is transmitted by the SMBus host
controller to the SMBus slave device and the interpretation is controller to the SMBus slave device and the interpretation is
SMBus slave device specific. SMBus slave device specific.
@param Operation Signifies which particular SMBus hardware protocol @param Operation Signifies which particular SMBus hardware protocol
instance that it will use to execute the SMBus transactions. instance that it will use to execute the SMBus transactions.
@param PecCheck Defines if Packet Error Code (PEC) checking is required @param PecCheck Defines if Packet Error Code (PEC) checking is required
for this operation. for this operation.
@param Length Signifies the number of bytes that this operation will do. @param Length Signifies the number of bytes that this operation will do.
@param Buffer Contains the value of data to execute to the SMBus slave device. @param Buffer Contains the value of data to execute to the SMBus slave device.
@retval EFI_SUCCESS The last data that was returned from the access @retval EFI_SUCCESS The last data that was returned from the access
matched the poll exit criteria. matched the poll exit criteria.
@retval EFI_CRC_ERROR The checksum is not correct (PEC is incorrect) @retval EFI_CRC_ERROR The checksum is not correct (PEC is incorrect)
@retval EFI_TIMEOUT Timeout expired before the operation was completed. @retval EFI_TIMEOUT Timeout expired before the operation was completed.
Timeout is determined by the SMBus host controller device. Timeout is determined by the SMBus host controller device.
@retval EFI_OUT_OF_RESOURCES The request could not be completed @retval EFI_OUT_OF_RESOURCES The request could not be completed
due to a lack of resources. due to a lack of resources.
@retval EFI_DEVICE_ERROR The request was not completed because @retval EFI_DEVICE_ERROR The request was not completed because
a failure reflected in the Host Status Register bit. a failure reflected in the Host Status Register bit.
@retval EFI_INVALID_PARAMETER Operation is not defined in EFI_SMBUS_OPERATION. @retval EFI_INVALID_PARAMETER Operation is not defined in EFI_SMBUS_OPERATION.
Or Length/Buffer is NULL for operations except for EfiSmbusQuickRead and Or Length/Buffer is NULL for operations except for EfiSmbusQuickRead and
EfiSmbusQuickWrite. Length is outside the range of valid values. EfiSmbusQuickWrite. Length is outside the range of valid values.
@retval EFI_UNSUPPORTED The SMBus operation or PEC is not supported. @retval EFI_UNSUPPORTED The SMBus operation or PEC is not supported.
@retval EFI_BUFFER_TOO_SMALL Buffer is not sufficient for this operation. @retval EFI_BUFFER_TOO_SMALL Buffer is not sufficient for this operation.
**/ **/
@ -103,12 +89,9 @@ typedef struct {
CallBack function can be registered in EFI_PEI_SMBUS_PPI_NOTIFY. CallBack function can be registered in EFI_PEI_SMBUS_PPI_NOTIFY.
@param PeiServices A pointer to the system PEI Services Table. @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 The SMBUS hardware address to which the SMBUS @param SlaveAddress The SMBUS hardware address to which the SMBUS
device is preassigned or allocated. device is preassigned or allocated.
@param Data Data of the SMBus host notify command that @param Data Data of the SMBus host notify command that
the caller wants to be called. the caller wants to be called.
@ -129,30 +112,22 @@ EFI_STATUS
device that is identified by SmbusUdid. device that is identified by SmbusUdid.
@param PeiServices A pointer to the system PEI Services Table. @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 ArpAll A Boolean expression that indicates if the host drivers need @param ArpAll A Boolean expression that indicates if the host drivers need
to enumerate all the devices or enumerate only the device that is identified to enumerate all the devices or enumerate only the device that is identified
by SmbusUdid. If ArpAll is TRUE, SmbusUdid and SlaveAddress are optional. by SmbusUdid. If ArpAll is TRUE, SmbusUdid and SlaveAddress are optional.
If ArpAll is FALSE, ArpDevice will enumerate SmbusUdid and the address If ArpAll is FALSE, ArpDevice will enumerate SmbusUdid and the address
will be at SlaveAddress. will be at SlaveAddress.
@param SmbusUdid The targeted SMBus Unique Device Identifier (UDID). @param SmbusUdid The targeted SMBus Unique Device Identifier (UDID).
The UDID may not exist for SMBus devices with fixed addresses. The UDID may not exist for SMBus devices with fixed addresses.
@param SlaveAddress The new SMBus address for the slave device for @param SlaveAddress The new SMBus address for the slave device for
which the operation is targeted. which the operation is targeted.
@retval EFI_SUCCESS The SMBus slave device address was set. @retval EFI_SUCCESS The SMBus slave device address was set.
@retval EFI_INVALID_PARAMETER SlaveAddress is NULL. @retval EFI_INVALID_PARAMETER SlaveAddress is NULL.
@retval EFI_OUT_OF_RESOURCES The request could not be completed @retval EFI_OUT_OF_RESOURCES The request could not be completed
due to a lack of resources. due to a lack of resources.
@retval EFI_TIMEOUT The SMBus slave device did not respond. @retval EFI_TIMEOUT The SMBus slave device did not respond.
@retval EFI_DEVICE_ERROR The request was not completed because the transaction failed. @retval EFI_DEVICE_ERROR The request was not completed because the transaction failed.
**/ **/
@ -176,11 +151,8 @@ typedef struct {
that are enumerated by the SMBus host driver. that are enumerated by the SMBus host driver.
@param PeiServices A pointer to the system PEI Services Table. @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 Length Size of the buffer that contains the SMBus device map. @param Length Size of the buffer that contains the SMBus device map.
@param SmbusDeviceMap The pointer to the device map as enumerated @param SmbusDeviceMap The pointer to the device map as enumerated
by the SMBus controller driver. by the SMBus controller driver.
@ -201,15 +173,11 @@ EFI_STATUS
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 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.
@param Data Data that the host controller detects as sending a message @param Data Data that the host controller detects as sending a message
and calls all the registered functions. and calls all the registered functions.
@param NotifyFunction The function to call when the bus driver @param NotifyFunction The function to call when the bus driver
detects the SlaveAddress and Data pair. detects the SlaveAddress and Data pair.

View File

@ -36,9 +36,7 @@ typedef struct _EFI_PEI_STALL_PPI EFI_PEI_STALL_PPI;
@param PeiServices An indirect pointer to the PEI Services Table @param PeiServices An indirect pointer to the PEI Services Table
published by the PEI Foundation. published by the PEI Foundation.
@param This Pointer to the local data for the interface. @param This Pointer to the local data for the interface.
@param Microseconds Number of microseconds for which to stall. @param Microseconds Number of microseconds for which to stall.
@retval EFI_SUCCESS The service provided at least the required delay. @retval EFI_SUCCESS The service provided at least the required delay.

View File

@ -65,17 +65,12 @@ typedef struct _EFI_ACPI_SUPPORT_PROTOCOL EFI_ACPI_SUPPORT_PROTOCOL;
Returns a requested ACPI table. Returns a requested ACPI table.
@param This A pointer to the EFI_ACPI_SUPPORT_PROTOCOL instance. @param This A pointer to the EFI_ACPI_SUPPORT_PROTOCOL instance.
@param Index The zero-based index of the table to retrieve. @param Index The zero-based index of the table to retrieve.
@param Table Pointer for returning the table buffer. @param Table Pointer for returning the table buffer.
@param Version Updated with the ACPI versions to which this table belongs. @param Version Updated with the ACPI versions to which this table belongs.
@param Handle Pointer for identifying the table. @param Handle Pointer for identifying the table.
@retval EFI_SUCCESS The function completed successfully. @retval EFI_SUCCESS The function completed successfully.
@retval EFI_NOT_FOUND The requested index is too large and a table was not found. @retval EFI_NOT_FOUND The requested index is too large and a table was not found.
**/ **/
@ -93,20 +88,14 @@ EFI_STATUS
Used to add, remove, or update ACPI tables. Used to add, remove, or update ACPI tables.
@param This A pointer to the EFI_ACPI_SUPPORT_PROTOCOL instance. @param This A pointer to the EFI_ACPI_SUPPORT_PROTOCOL instance.
@param Table Pointer to the new table to add or update. @param Table Pointer to the new table to add or update.
@param Checksum If TRUE, indicates that the checksum should be @param Checksum If TRUE, indicates that the checksum should be
calculated for this table. calculated for this table.
@param Version Indicates to which version(s) of ACPI the table should be added. @param Version Indicates to which version(s) of ACPI the table should be added.
@param Pointer to the handle of the table to remove or update. @param Pointer to the handle of the table to remove or update.
@retval EFI_SUCCESS The function completed successfully. @retval EFI_SUCCESS The function completed successfully.
@retval EFI_INVALID_PARAMETER *Handle was zero and Table was NULL. @retval EFI_INVALID_PARAMETER *Handle was zero and Table was NULL.
@retval EFI_ABORTED Could not complete the desired action. @retval EFI_ABORTED Could not complete the desired action.
**/ **/
@ -125,11 +114,9 @@ EFI_STATUS
the EFI system configuration tables. the EFI system configuration tables.
@param This A pointer to the EFI_ACPI_SUPPORT_PROTOCOL instance. @param This A pointer to the EFI_ACPI_SUPPORT_PROTOCOL instance.
@param Version Indicates to which version(s) of ACPI that the table should be published. @param Version Indicates to which version(s) of ACPI that the table should be published.
@retval EFI_SUCCESS The function completed successfully. @retval EFI_SUCCESS The function completed successfully.
@retval EFI_ABORTED An error occurred and the function could not complete successfully. @retval EFI_ABORTED An error occurred and the function could not complete successfully.
**/ **/

View File

@ -37,18 +37,13 @@ typedef struct _EFI_BOOT_SCRIPT_SAVE_PROTOCOL EFI_BOOT_SCRIPT_SAVE_PROTOCOL;
Adds a record into a specified Framework boot script table. Adds a record into a specified Framework boot script table.
@param This A pointer to the EFI_BOOT_SCRIPT_SAVE_PROTOCOL instance. @param This A pointer to the EFI_BOOT_SCRIPT_SAVE_PROTOCOL instance.
@param TableName Name of the script table.Currently, the only meaningful @param TableName Name of the script table.Currently, the only meaningful
value is EFI_ACPI_S3_RESUME_SCRIPT_TABLE. value is EFI_ACPI_S3_RESUME_SCRIPT_TABLE.
@param OpCode The operation code (opcode) number. @param OpCode The operation code (opcode) number.
@param ... Argument list that is specific to each opcode. @param ... Argument list that is specific to each opcode.
@retval EFI_SUCCESS The operation succeeded. A record was added into the specified script table. @retval EFI_SUCCESS The operation succeeded. A record was added into the specified script table.
@retval EFI_INVALID_PARAMETER The parameter is illegal or the given boot script is not supported. @retval EFI_INVALID_PARAMETER The parameter is illegal or the given boot script is not supported.
@retval EFI_OUT_OF_RESOURCES There is insufficient memory to store the boot script. @retval EFI_OUT_OF_RESOURCES There is insufficient memory to store the boot script.
**/ **/
@ -65,15 +60,11 @@ EFI_STATUS
Closes the specified script table. Closes the specified script table.
@param This A pointer to the EFI_BOOT_SCRIPT_SAVE_PROTOCOL instance. @param This A pointer to the EFI_BOOT_SCRIPT_SAVE_PROTOCOL instance.
@param TableName Name of the script table. @param TableName Name of the script table.
@param Address A pointer to the physical address where the table begins. @param Address A pointer to the physical address where the table begins.
@retval EFI_SUCCESS The table was successfully returned. @retval EFI_SUCCESS The table was successfully returned.
@retval EFI_NOT_FOUND The specified table was not created previously. @retval EFI_NOT_FOUND The specified table was not created previously.
@retval EFI_OUT_OF_RESOURCES Memory is insufficient to hold the reorganized boot script table. @retval EFI_OUT_OF_RESOURCES Memory is insufficient to hold the reorganized boot script table.
**/ **/

View File

@ -59,21 +59,15 @@ typedef enum {
Or, Enables a driver to access registers in the EFI CPU I/O space. Or, Enables a driver to access registers in the EFI CPU I/O space.
@param This A pointer to the EFI_CPU_IO_PROTOCOL instance. @param This A pointer to the EFI_CPU_IO_PROTOCOL instance.
@param Width Signifies the width of the I/O or Memory operation. @param Width Signifies the width of the I/O or Memory operation.
@param Address The base address of the I/O or Memoryoperation. @param Address The base address of the I/O or Memoryoperation.
@param Count The number of I/O or Memory operations to perform. @param Count The number of I/O or Memory operations to perform.
The number of bytes moved is Width size * Count, starting at Address. The number of bytes moved is Width size * Count, starting at Address.
@param Buffer For read operations, the destination buffer to store the results. @param Buffer For read operations, the destination buffer to store the results.
For write operations, the source buffer from which to write data. For write operations, the source buffer from which to write data.
@retval EFI_SUCCESS The data was read from or written to the EFI system. @retval EFI_SUCCESS The data was read from or written to the EFI system.
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system.Or Buffer is NULL. @retval EFI_INVALID_PARAMETER Width is invalid for this EFI system.Or Buffer is NULL.
@retval EFI_UNSUPPORTED The Buffer is not aligned for the given Width. @retval EFI_UNSUPPORTED The Buffer is not aligned for the given Width.
Or,The address range specified by Address, Width, and Count is not valid for this EFI system. Or,The address range specified by Address, Width, and Count is not valid for this EFI system.

View File

@ -79,21 +79,14 @@ typedef struct _EFI_DATA_HUB_PROTOCOL EFI_DATA_HUB_PROTOCOL;
Logs a data record to the system event log. Logs a data record to the system event log.
@param This The EFI_DATA_HUB_PROTOCOL instance. @param This The EFI_DATA_HUB_PROTOCOL instance.
@param description @param description
@param DataRecordGuid A GUID that indicates the format of the data passed into RawData. @param DataRecordGuid A GUID that indicates the format of the data passed into RawData.
@param ProducerName A GUID that indicates the identity of the caller to this API. @param ProducerName A GUID that indicates the identity of the caller to this API.
@param DataRecordClass This class indicates the generic type of the data record. @param DataRecordClass This class indicates the generic type of the data record.
@param RawData The DataRecordGuid-defined data to be logged. @param RawData The DataRecordGuid-defined data to be logged.
@param RawDataSize The size in bytes of RawData. @param RawDataSize The size in bytes of RawData.
@retval EFI_SUCCESS Data was logged. @retval EFI_SUCCESS Data was logged.
@retval EFI_OUT_OF_RESOURCES Data was not logged due to lack of system resources. @retval EFI_OUT_OF_RESOURCES Data was not logged due to lack of system resources.
**/ **/
@ -112,26 +105,20 @@ EFI_STATUS
Allows the system data log to be searched. Allows the system data log to be searched.
@param This The EFI_DATA_HUB_PROTOCOL instance. @param This The EFI_DATA_HUB_PROTOCOL instance.
@param MonotonicCount On input, it specifies the Record to return. @param MonotonicCount On input, it specifies the Record to return.
An input of zero means to return the first record. An input of zero means to return the first record.
@param FilterDriver If FilterDriver is not passed in a MonotonicCount of zero, @param FilterDriver If FilterDriver is not passed in a MonotonicCount of zero,
it means to return the first data record. If FilterDriver is passed in, it means to return the first data record. If FilterDriver is passed in,
then a MonotonicCount of zero means to return the first data not yet read then a MonotonicCount of zero means to return the first data not yet read
by FilterDriver. by FilterDriver.
@param Record Returns a dynamically allocated memory buffer with a data @param Record Returns a dynamically allocated memory buffer with a data
record that matches MonotonicCount. record that matches MonotonicCount.
@retval EFI_SUCCESS Data was returned in Record. @retval EFI_SUCCESS Data was returned in Record.
@retval EFI_INVALID_PARAMETER FilterDriver was passed in but does not exist. @retval EFI_INVALID_PARAMETER FilterDriver was passed in but does not exist.
@retval EFI_NOT_FOUND MonotonicCount does not match any data record @retval EFI_NOT_FOUND MonotonicCount does not match any data record
in the system. If a MonotonicCount of zero was passed in, then no in the system. If a MonotonicCount of zero was passed in, then no
data records exist in the system. data records exist in the system.
@retval EFI_OUT_OF_RESOURCES Record was not returned due to lack @retval EFI_OUT_OF_RESOURCES Record was not returned due to lack
of system resources. of system resources.
@ -149,25 +136,19 @@ EFI_STATUS
Registers an event to be signaled every time a data record is logged in the system. Registers an event to be signaled every time a data record is logged in the system.
@param This The EFI_DATA_HUB_PROTOCOL instance. @param This The EFI_DATA_HUB_PROTOCOL instance.
@param FilterEvent The EFI_EVENT to signal whenever data that matches @param FilterEvent The EFI_EVENT to signal whenever data that matches
FilterClass is logged in the system. FilterClass is logged in the system.
@param FilterTpl The maximum EFI_TPL at which FilterEvent can be signaled. @param FilterTpl The maximum EFI_TPL at which FilterEvent can be signaled.
It is strongly recommended that you use the lowest EFI_TPL possible. It is strongly recommended that you use the lowest EFI_TPL possible.
@param FilterClass FilterEvent will be signaled whenever a bit @param FilterClass FilterEvent will be signaled whenever a bit
in EFI_DATA_RECORD_HEADER.DataRecordClass is also set in FilterClass. in EFI_DATA_RECORD_HEADER.DataRecordClass is also set in FilterClass.
If FilterClass is zero, no class-based filtering will be performed. If FilterClass is zero, no class-based filtering will be performed.
@param FilterDataRecordGuid FilterEvent will be signaled whenever @param FilterDataRecordGuid FilterEvent will be signaled whenever
FilterDataRecordGuid matches EFI_DATA_RECORD_HEADER.DataRecordGuid. FilterDataRecordGuid matches EFI_DATA_RECORD_HEADER.DataRecordGuid.
If FilterDataRecordGuid is NULL, then no GUID-based filtering will be performed. If FilterDataRecordGuid is NULL, then no GUID-based filtering will be performed.
@retval EFI_SUCCESS The filter driver event was registered @retval EFI_SUCCESS The filter driver event was registered
@retval EFI_ALREADY_STARTED FilterEvent was previously registered and cannot be registered again. @retval EFI_ALREADY_STARTED FilterEvent was previously registered and cannot be registered again.
@retval EFI_OUT_OF_RESOURCES The filter driver event was not registered @retval EFI_OUT_OF_RESOURCES The filter driver event was not registered
due to lack of system resources. due to lack of system resources.
@ -186,12 +167,10 @@ EFI_STATUS
Stops a filter driver from being notified when data records are logged. Stops a filter driver from being notified when data records are logged.
@param This The EFI_DATA_HUB_PROTOCOL instance. @param This The EFI_DATA_HUB_PROTOCOL instance.
@param FilterEvent The EFI_EVENT to remove from the list of events to be @param FilterEvent The EFI_EVENT to remove from the list of events to be
signaled every time errors are logged. signaled every time errors are logged.
@retval EFI_SUCCESS The filter driver represented by FilterEvent was shut off. @retval EFI_SUCCESS The filter driver represented by FilterEvent was shut off.
@retval EFI_NOT_FOUND FilterEvent did not exist. @retval EFI_NOT_FOUND FilterEvent did not exist.
**/ **/

View File

@ -133,7 +133,6 @@ typedef UINT32 EFI_FV_FILE_ATTRIBUTES;
<br> <br>
If Buffer != NULL and *Buffer != NULL, the output buffer has been If Buffer != NULL and *Buffer != NULL, the output buffer has been
allocated by the caller and is being passed in. allocated by the caller and is being passed in.
@param BufferSize Indicates the buffer size passed in, and on output the size @param BufferSize Indicates the buffer size passed in, and on output the size
required to complete the read required to complete the read
@param FoundType Indicates the type of the file who's data is returned @param FoundType Indicates the type of the file who's data is returned
@ -176,7 +175,6 @@ EFI_STATUS
<br> <br>
If Buffer != NULL and *Buffer != NULL, the output buffer has been If Buffer != NULL and *Buffer != NULL, the output buffer has been
allocated by the caller and is being passed in. allocated by the caller and is being passed in.
@param BufferSize Indicates the buffer size passed in, and on output the size @param BufferSize Indicates the buffer size passed in, and on output the size
required to complete the read required to complete the read
@param AuthenticationStatus Indicates the authentication status of the data @param AuthenticationStatus Indicates the authentication status of the data

View File

@ -56,46 +56,34 @@ typedef struct {
pointer to the calling driver¡¯s callback interface. pointer to the calling driver¡¯s callback interface.
@param This A pointer to the EFI_FORM_BROWSER_PROTOCOL instance. @param This A pointer to the EFI_FORM_BROWSER_PROTOCOL instance.
@param UseDatabase Determines whether the HII database is to be @param UseDatabase Determines whether the HII database is to be
used to gather information. If the value is FALSE, the configuration used to gather information. If the value is FALSE, the configuration
driver will get the information provided in the passed-in Packet parameters. driver will get the information provided in the passed-in Packet parameters.
@param Handle A pointer to an array of HII handles to display. This value @param Handle A pointer to an array of HII handles to display. This value
should correspond to the value of the HII form package that is required to should correspond to the value of the HII form package that is required to
be displayed. be displayed.
@param HandleCount The number of handles in the array specified by Handle. @param HandleCount The number of handles in the array specified by Handle.
@param Packet A pointer to a set of data containing pointers to IFR @param Packet A pointer to a set of data containing pointers to IFR
and/or string data. and/or string data.
@param CallbackHandle The handle to the driver¡¯s callback interface. @param CallbackHandle The handle to the driver¡¯s callback interface.
This parameter is used only when the UseDatabase parameter is FALSE This parameter is used only when the UseDatabase parameter is FALSE
and an application wants to register a callback with the browser and an application wants to register a callback with the browser
@param NvMapOverride This buffer is used only when there is no NV variable @param NvMapOverride This buffer is used only when there is no NV variable
to define the current settings and the caller needs to provide to the browser to define the current settings and the caller needs to provide to the browser
the current settings for the "fake" NV variable. the current settings for the "fake" NV variable.
@param ScreenDimensions Allows the browser to be called so that it occupies @param ScreenDimensions Allows the browser to be called so that it occupies
a portion of the physical screen instead of dynamically determining the a portion of the physical screen instead of dynamically determining the
screen dimensions. screen dimensions.
@param ResetRequired This BOOLEAN value will tell the caller if a reset @param ResetRequired This BOOLEAN value will tell the caller if a reset
is required based on the data that might have been changed. The ResetRequired is required based on the data that might have been changed. The ResetRequired
parameter is primarily applicable for configuration applications, and is an parameter is primarily applicable for configuration applications, and is an
optional parameter. optional parameter.
@retval EFI_SUCCESS The function completed successfully @retval EFI_SUCCESS The function completed successfully
@retval EFI_NOT_FOUND The variable was not found. @retval EFI_NOT_FOUND The variable was not found.
@retval EFI_BUFFER_TOO_SMALL The DataSize is too small for the result. @retval EFI_BUFFER_TOO_SMALL The DataSize is too small for the result.
DataSize has been updated with the size needed to complete the request. DataSize has been updated with the size needed to complete the request.
@retval EFI_INVALID_PARAMETER One of the parameters has an invalid value. @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.
@retval EFI_DEVICE_ERROR The variable could not be saved due to a hardware failure. @retval EFI_DEVICE_ERROR The variable could not be saved due to a hardware failure.
**/ **/
@ -118,28 +106,20 @@ EFI_STATUS
key or string. key or string.
@param NumberOfLines The number of lines for the dialog box. @param NumberOfLines The number of lines for the dialog box.
@param HotKey Defines whether a single character is parsed (TRUE) @param HotKey Defines whether a single character is parsed (TRUE)
and returned in KeyValue or if a string is returned in StringBuffer. and returned in KeyValue or if a string is returned in StringBuffer.
@param MaximumStringSize The maximum size in bytes of a typed-in string. @param MaximumStringSize The maximum size in bytes of a typed-in string.
Because each character is a CHAR16, the minimum string returned is two bytes. Because each character is a CHAR16, the minimum string returned is two bytes.
@param StringBuffer The passed-in pointer to the buffer that will hold @param StringBuffer The passed-in pointer to the buffer that will hold
the typed in string if HotKey is FALSE. the typed in string if HotKey is FALSE.
@param KeyValue The EFI_INPUT_KEY value returned if HotKey is TRUE. @param KeyValue The EFI_INPUT_KEY value returned if HotKey is TRUE.
@param String The pointer to the first string in the list of strings @param String The pointer to the first string in the list of strings
that comprise the dialog box. that comprise the dialog box.
@param ... A series of NumberOfLines text strings that will be used @param ... A series of NumberOfLines text strings that will be used
to construct the dialog box. to construct the dialog box.
@retval EFI_SUCCESS The dialog was displayed and user interaction was received. @retval EFI_SUCCESS The dialog was displayed and user interaction was received.
@retval EFI_DEVICE_ERROR The user typed in an ESC character to exit the routine. @retval EFI_DEVICE_ERROR The user typed in an ESC character to exit the routine.
@retval EFI_INVALID_PARAMETER One of the parameters was invalid @retval EFI_INVALID_PARAMETER One of the parameters was invalid
**/ **/

View File

@ -89,29 +89,20 @@ typedef struct {
Returns the value of a variable. Returns the value of a variable.
@param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance. @param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.
@param VariableName A NULL-terminated Unicode string that is the @param VariableName A NULL-terminated Unicode string that is the
name of the vendor¡¯s variable. name of the vendor¡¯s variable.
@param VendorGuid A unique identifier for the vendor. @param VendorGuid A unique identifier for the vendor.
@param Attributes If not NULL, a pointer to the memory location to @param Attributes If not NULL, a pointer to the memory location to
return the attribute's bit-mask for the variable. return the attribute's bit-mask for the variable.
@param DataSize The size in bytes of the Buffer. A size of zero causes @param DataSize The size in bytes of the Buffer. A size of zero causes
the variable to be deleted. the variable to be deleted.
@param Buffer The buffer to return the contents of the variable. @param Buffer The buffer to return the contents of the variable.
@retval EFI_SUCCESS The function completed successfully. @retval EFI_SUCCESS The function completed successfully.
@retval EFI_NOT_FOUND The variable was not found. @retval EFI_NOT_FOUND The variable was not found.
@retval EFI_BUFFER_TOO_SMALL The DataSize is too small for the result. @retval EFI_BUFFER_TOO_SMALL The DataSize is too small for the result.
DataSize has been updated with the size needed to complete the request. DataSize has been updated with the size needed to complete the request.
@retval EFI_INVALID_PARAMETER One of the parameters has an invalid value. @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.
@retval EFI_DEVICE_ERROR The variable could not be saved due to a hardware failure. @retval EFI_DEVICE_ERROR The variable could not be saved due to a hardware failure.
**/ **/
@ -130,19 +121,13 @@ EFI_STATUS
Sets the value of a variable. Sets the value of a variable.
@param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance. @param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.
@param VariableName A NULL-terminated Unicode string that is the @param VariableName A NULL-terminated Unicode string that is the
name of the vendor's variable. Each VariableName is unique for each VendorGuid. name of the vendor's variable. Each VariableName is unique for each VendorGuid.
@param VendorGuid A unique identifier for the vendor. @param VendorGuid A unique identifier for the vendor.
@param Attributes Attributes bit-mask to set for the variable. @param Attributes Attributes bit-mask to set for the variable.
@param DataSize The size in bytes of the Buffer. A size of zero causes @param DataSize The size in bytes of the Buffer. A size of zero causes
the variable to be deleted. the variable to be deleted.
@param Buffer The buffer containing the contents of the variable. @param Buffer The buffer containing the contents of the variable.
@param ResetRequired Returns a value from the driver that abstracts @param ResetRequired Returns a value from the driver that abstracts
this information and will enable a system to know if a system reset this information and will enable a system to know if a system reset
is required to achieve the configuration changes being enabled through is required to achieve the configuration changes being enabled through
@ -150,13 +135,10 @@ EFI_STATUS
@retval EFI_SUCCESS The firmware has successfully stored the variable and @retval EFI_SUCCESS The firmware has successfully stored the variable and
its data as defined by the Attributes. its data as defined by the Attributes.
@retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold @retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold
the variable and its data. the variable and its data.
@retval EFI_INVALID_PARAMETER An invalid combination of Attributes bits @retval EFI_INVALID_PARAMETER An invalid combination of Attributes bits
was supplied, or the DataSize exceeds the maximum allowed. was supplied, or the DataSize exceeds the maximum allowed.
@retval EFI_DEVICE_ERROR The variable could not be saved due to a hardware failure. @retval EFI_DEVICE_ERROR The variable could not be saved due to a hardware failure.
**/ **/
@ -176,13 +158,10 @@ EFI_STATUS
This function is called to provide results data to the driver. This function is called to provide results data to the driver.
@param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance. @param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.
@param KeyValue A unique value which is sent to the original exporting @param KeyValue A unique value which is sent to the original exporting
driver so that it can identify the type of data to expect. The format of driver so that it can identify the type of data to expect. The format of
the data tends to vary based on the opcode that generated the callback. the data tends to vary based on the opcode that generated the callback.
@param Data A pointer to the data being sent to the original exporting driver. @param Data A pointer to the data being sent to the original exporting driver.
@param Packet A pointer to a packet of information which a driver passes @param Packet A pointer to a packet of information which a driver passes
back to the browser. back to the browser.

View File

@ -413,14 +413,11 @@ typedef struct _EFI_HII_VARIABLE_PACK_LIST {
Registers the various packs that are passed in via the Packages parameter. Registers the various packs that are passed in via the Packages parameter.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Packages A pointer to an EFI_HII_PACKAGES package instance. @param Packages A pointer to an EFI_HII_PACKAGES package instance.
@param Handle A pointer to the EFI_HII_HANDLE instance. @param Handle A pointer to the EFI_HII_HANDLE instance.
@retval EFI_SUCCESS Data was extracted from Packages, the database @retval EFI_SUCCESS Data was extracted from Packages, the database
was updated with the data, and Handle returned successfully. was updated with the data, and Handle returned successfully.
@retval EFI_INVALID_PARAMETER The content of Packages was invalid. @retval EFI_INVALID_PARAMETER The content of Packages was invalid.
**/ **/
@ -436,13 +433,11 @@ EFI_STATUS
Removes a package from the HII database. Removes a package from the HII database.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Handle The handle that was registered to the data that is requested @param Handle The handle that was registered to the data that is requested
for removal. for removal.
@retval EFI_SUCCESS The data associated with the Handle was removed @retval EFI_SUCCESS The data associated with the Handle was removed
from the HII database. from the HII database.
@retval EFI_INVALID_PARAMETER The Handle was not valid. @retval EFI_INVALID_PARAMETER The Handle was not valid.
**/ **/
@ -457,15 +452,12 @@ EFI_STATUS
Determines the handles that are currently active in the database. Determines the handles that are currently active in the database.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_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 that is required buffer. On output, the length of the handle buffer that is required
for the handles found. for the handles found.
@param Handle An array of EFI_HII_HANDLE instances returned. @param Handle An array of EFI_HII_HANDLE instances returned.
@retval EFI_SUCCESS Handle was updated successfully. @retval EFI_SUCCESS Handle was updated successfully.
@retval EFI_BUFFER_TOO_SMALL The HandleBufferLength parameter indicates @retval EFI_BUFFER_TOO_SMALL The HandleBufferLength parameter indicates
that Handle is too small to support the number of handles. that Handle is too small to support the number of handles.
@ -482,20 +474,16 @@ EFI_STATUS
Exports the contents of the database into a buffer. Exports the contents of the database into a buffer.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Handle An EFI_HII_HANDLE that corresponds to the desired @param Handle An EFI_HII_HANDLE that corresponds to the desired
handle to export. If the value is 0, the entire database will be exported. handle to export. If the value is 0, the entire database will be exported.
In either case, the data will be exported in a format described by the In either case, the data will be exported in a format described by the
structure definition of EFI_HII_EXPORT_TABLE. structure definition of EFI_HII_EXPORT_TABLE.
@param BufferSize @param BufferSize
On input, a pointer to the length of the buffer. On output, the length On input, a pointer to the length of the buffer. On output, the length
of the buffer that is required for the export data. of the buffer that is required for the export data.
@param Buffer A pointer to a buffer that will contain the results of the export function. @param Buffer A pointer to a buffer that will contain the results of the export function.
@retval EFI_SUCCESS The buffer was successfully filled with BufferSize amount of data. @retval EFI_SUCCESS The buffer was successfully filled with BufferSize amount of data.
@retval EFI_BUFFER_TOO_SMALL The value in BufferSize was too small to contain the export data. @retval EFI_BUFFER_TOO_SMALL The value in BufferSize was too small to contain the export data.
**/ **/
@ -513,11 +501,9 @@ EFI_STATUS
for this handle. for this handle.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Handle The handle on which the string resides. @param Handle The handle on which the string resides.
@retval EFI_SUCCESS Remove strings from the handle successfully. @retval EFI_SUCCESS Remove strings from the handle successfully.
@retval EFI_INVALID_PARAMETER The Handle was unknown. @retval EFI_INVALID_PARAMETER The Handle was unknown.
**/ **/
@ -532,22 +518,18 @@ EFI_STATUS
Tests if all of the characters in a string have corresponding font characters. Tests if all of the characters in a string have corresponding font characters.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param StringToTest A pointer to a Unicode string. @param StringToTest A pointer to a Unicode string.
@param FirstMissing A pointer to an index into the string. On input, @param FirstMissing A pointer to an index into the string. On input,
the index of the first character in the StringToTest to examine. On exit, the index of the first character in the StringToTest to examine. On exit,
the index of the first character encountered for which a glyph is unavailable. the index of the first character encountered for which a glyph is unavailable.
If all glyphs in the string are available, the index is the index of the If all glyphs in the string are available, the index is the index of the
terminator of the string. terminator of the string.
@param GlyphBufferSize A pointer to a value. On output, if the function @param GlyphBufferSize A pointer to a value. On output, if the function
returns EFI_SUCCESS, it contains the amount of memory that is required to returns EFI_SUCCESS, it contains the amount of memory that is required to
store the string¡¯s glyph equivalent. store the string¡¯s glyph equivalent.
@retval EFI_SUCCESS All glyphs are available. Note that an empty string @retval EFI_SUCCESS All glyphs are available. Note that an empty string
always returns this value. always returns this value.
@retval EFI_NOT_FOUND A glyph was not found for a character. @retval EFI_NOT_FOUND A glyph was not found for a character.
**/ **/
@ -564,26 +546,20 @@ EFI_STATUS
Translates a Unicode character into the corresponding font glyph. Translates a Unicode character into the corresponding font glyph.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Source A pointer to a Unicode string. @param Source A pointer to a Unicode string.
@param Index On input, the offset into the string from which to fetch @param Index On input, the offset into the string from which to fetch
the character.On successful completion, the index is updated to the first the character.On successful completion, the index is updated to the first
character past the character(s) making up the just extracted glyph. character past the character(s) making up the just extracted glyph.
@param GlyphBuffer Pointer to an array where the glyphs corresponding @param GlyphBuffer Pointer to an array where the glyphs corresponding
to the characters in the source may be stored. GlyphBuffer is assumed to the characters in the source may be stored. GlyphBuffer is assumed
to be wide enough to accept a wide glyph character. to be wide enough to accept a wide glyph character.
@param BitWidth If EFI_SUCCESS was returned, the UINT16 pointed to by @param BitWidth If EFI_SUCCESS was returned, the UINT16 pointed to by
this value is filled with the length of the glyph in pixels. It is unchanged this value is filled with the length of the glyph in pixels. It is unchanged
if the call was unsuccessful. if the call was unsuccessful.
@param InternalStatus The cell pointed to by this parameter must be @param InternalStatus The cell pointed to by this parameter must be
initialized to zero prior to invoking the call the first time for any string. initialized to zero prior to invoking the call the first time for any string.
@retval EFI_SUCCESS It worked. @retval EFI_SUCCESS It worked.
@retval EFI_NOT_FOUND A glyph for a character was not found. @retval EFI_NOT_FOUND A glyph for a character was not found.
**/ **/
@ -603,26 +579,18 @@ EFI_STATUS
Graphics Adapter (UGA) Block Transfer (BLT) routines. Graphics Adapter (UGA) Block Transfer (BLT) routines.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param GlyphBuffer A pointer to the buffer that contains glyph data. @param GlyphBuffer A pointer to the buffer that contains glyph data.
@param Foreground The foreground setting requested to be used for the @param Foreground The foreground setting requested to be used for the
generated BltBuffer data. generated BltBuffer data.
@param Background The background setting requested to be used for the @param Background The background setting requested to be used for the
generated BltBuffer data. generated BltBuffer data.
@param Count The entry in the BltBuffer upon which to act. @param Count The entry in the BltBuffer upon which to act.
@param Width The width in bits of the glyph being converted. @param Width The width in bits of the glyph being converted.
@param Height The height in bits of the glyph being converted @param Height The height in bits of the glyph being converted
@param BltBuffer A pointer to the buffer that contains the data that is @param BltBuffer A pointer to the buffer that contains the data that is
ready to be used by the UGA BLT routines. ready to be used by the UGA BLT routines.
@retval EFI_SUCCESS It worked. @retval EFI_SUCCESS It worked.
@retval EFI_NOT_FOUND A glyph for a character was not found. @retval EFI_NOT_FOUND A glyph for a character was not found.
**/ **/
@ -643,21 +611,16 @@ EFI_STATUS
Allows a new string to be added to an already existing string package. Allows a new string to be added to an already existing string package.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Pointer to a NULL-terminated string containing a single ISO 639-2 @param Pointer to a NULL-terminated string containing a single ISO 639-2
language identifier, indicating the language in which the string is translated. language identifier, indicating the language in which the string is translated.
@param Handle The handle of the language pack to which the string is to be added. @param Handle The handle of the language pack to which the string is to be added.
@param Reference The identifier of the string to be added. If the reference @param Reference The identifier of the string to be added. If the reference
value is zero, then the string will be assigned a new identifier on that value is zero, then the string will be assigned a new identifier on that
handle for the language specified. Otherwise, the string will be updated handle for the language specified. Otherwise, the string will be updated
with the NewString Value. with the NewString Value.
@param NewString The string to be added. @param NewString The string to be added.
@retval EFI_SUCCESS The string was effectively registered. @retval EFI_SUCCESS The string was effectively registered.
@retval EFI_INVALID_PARAMETER The Handle was unknown. @retval EFI_INVALID_PARAMETER The Handle was unknown.
**/ **/
@ -676,14 +639,11 @@ EFI_STATUS
on a given handle. on a given handle.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Handle The handle on which the strings reside. @param Handle The handle on which the strings reside.
@param LanguageString A string allocated by GetPrimaryLanguages() that @param LanguageString A string allocated by GetPrimaryLanguages() that
contains a list of all primary languages registered on the handle. contains a list of all primary languages registered on the handle.
@retval EFI_SUCCESS LanguageString was correctly returned. @retval EFI_SUCCESS LanguageString was correctly returned.
@retval EFI_INVALID_PARAMETER The Handle was unknown. @retval EFI_INVALID_PARAMETER The Handle was unknown.
**/ **/
@ -700,17 +660,13 @@ EFI_STATUS
on a given handle for a given primary language. on a given handle for a given primary language.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Handle The handle on which the strings reside. @param Handle The handle on which the strings reside.
@param PrimaryLanguage Pointer to a NULL-terminated string containing a single @param PrimaryLanguage Pointer to a NULL-terminated string containing a single
ISO 639-2 language identifier, indicating the primary language. ISO 639-2 language identifier, indicating the primary language.
@param LanguageString A string allocated by GetSecondaryLanguages() @param LanguageString A string allocated by GetSecondaryLanguages()
containing a list of all secondary languages registered on the handle. containing a list of all secondary languages registered on the handle.
@retval EFI_SUCCESS LanguageString was correctly returned. @retval EFI_SUCCESS LanguageString was correctly returned.
@retval EFI_INVALID_PARAMETER The Handle was unknown. @retval EFI_INVALID_PARAMETER The Handle was unknown.
**/ **/
@ -727,29 +683,21 @@ EFI_STATUS
Extracts a string from a package already registered with the EFI HII database. Extracts a string from a package already registered with the EFI HII database.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Handle The handle on which the string resides. @param Handle The handle on which the string resides.
@param Token The string token assigned to the string. @param Token The string token assigned to the string.
@param Raw If TRUE, the string is returned unedited in the internal @param Raw If TRUE, the string is returned unedited in the internal
storage format described above. If false, the string returned is edited storage format described above. If false, the string returned is edited
by replacing <cr> with <space> and by removing special characters such by replacing <cr> with <space> and by removing special characters such
as the <wide> prefix. as the <wide> prefix.
@param LanguageString Pointer to a NULL-terminated string containing a @param LanguageString Pointer to a NULL-terminated string containing a
single ISO 639-2 language identifier, indicating the language to print. single ISO 639-2 language identifier, indicating the language to print.
If the LanguageString is empty (starts with a NULL), the default system If the LanguageString is empty (starts with a NULL), the default system
language will be used to determine the language. language will be used to determine the language.
@param BufferLength Length of the StringBuffer. @param BufferLength Length of the StringBuffer.
@param StringBuffer The buffer designed to receive the characters in the string. @param StringBuffer The buffer designed to receive the characters in the string.
@retval EFI_SUCCESS StringBuffer is filled with a NULL-terminated string. @retval EFI_SUCCESS StringBuffer is filled with a NULL-terminated string.
@retval EFI_INVALID_PARAMETER The handle or string token is unknown. @retval EFI_INVALID_PARAMETER The handle or string token is unknown.
@retval EFI_BUFFER_TOO_SMALL The buffer provided was not large enough to @retval EFI_BUFFER_TOO_SMALL The buffer provided was not large enough to
allow the entire string to be stored. allow the entire string to be stored.
@ -770,29 +718,20 @@ EFI_STATUS
Allows a program to extract a part of a string of not more than a given width. Allows a program to extract a part of a string of not more than a given width.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Handle The handle on which the string resides. @param Handle The handle on which the string resides.
@param Token The string token assigned to the string. @param Token The string token assigned to the string.
@param Index On input, the offset into the string where the line is to start. @param Index On input, the offset into the string where the line is to start.
On output, the index is updated to point to beyond the last character returned On output, the index is updated to point to beyond the last character returned
in the call. in the call.
@param LineWidth The maximum width of the line in units of narrow glyphs. @param LineWidth The maximum width of the line in units of narrow glyphs.
@param LanguageString Pointer to a NULL-terminated string containing a @param LanguageString Pointer to a NULL-terminated string containing a
single ISO 639-2 language identifier, indicating the language to print. single ISO 639-2 language identifier, indicating the language to print.
@param BufferLength Pointer to the length of the StringBuffer. @param BufferLength Pointer to the length of the StringBuffer.
@param StringBuffer The buffer designed to receive the characters in the string. @param StringBuffer The buffer designed to receive the characters in the string.
@retval EFI_SUCCESS StringBuffer filled with characters that will fit on the line. @retval EFI_SUCCESS StringBuffer filled with characters that will fit on the line.
@retval EFI_NOT_FOUND The font glyph for at least one of the characters in @retval EFI_NOT_FOUND The font glyph for at least one of the characters in
the string is not in the font database. the string is not in the font database.
@retval EFI_BUFFER_TOO_SMALL The buffer provided was not large enough @retval EFI_BUFFER_TOO_SMALL The buffer provided was not large enough
to allow the entire string to be stored. to allow the entire string to be stored.
@ -815,25 +754,18 @@ EFI_STATUS
been registered with the HII database. been registered with the HII database.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Handle Handle on which the form resides. @param Handle Handle on which the form resides.
@param FormId The ID of the form to return. If the ID is zero, @param FormId The ID of the form to return. If the ID is zero,
the entire form package is returned. the entire form package is returned.
@param BufferLength On input, the length of the Buffer. On output, @param BufferLength On input, the length of the Buffer. On output,
the length of the returned buffer, the length of the returned buffer,
@param Buffer The buffer designed to receive the form(s). @param Buffer The buffer designed to receive the form(s).
@retval EFI_SUCCESS Buffer filled with the requested forms. BufferLength @retval EFI_SUCCESS Buffer filled with the requested forms. BufferLength
was updated. was updated.
@retval EFI_INVALID_PARAMETER The handle is unknown. @retval EFI_INVALID_PARAMETER The handle is unknown.
@retval EFI_NOT_FOUND A form on the requested handle cannot be found with @retval EFI_NOT_FOUND A form on the requested handle cannot be found with
the requested FormId. the requested FormId.
@retval EFI_BUFFER_TOO_SMALL The buffer provided was not large enough @retval EFI_BUFFER_TOO_SMALL The buffer provided was not large enough
to allow the form to be stored. to allow the form to be stored.
@ -852,20 +784,15 @@ EFI_STATUS
Extracts the defaults that are associated with a given handle in the HII database. Extracts the defaults that are associated with a given handle in the HII database.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Handle The HII handle from which will have default data retrieved. @param Handle The HII handle from which will have default data retrieved.
@param DefaultMask The mask used to specify some type of default override when extracting @param DefaultMask The mask used to specify some type of default override when extracting
the default image data. the default image data.
@param VariablePackList A indirect pointer to the first entry of a link list with @param VariablePackList A indirect pointer to the first entry of a link list with
type EFI_HII_VARIABLE_PACK_LIST. type EFI_HII_VARIABLE_PACK_LIST.
@retval EFI_SUCCESS The VariablePackList was populated with the appropriate @retval EFI_SUCCESS The VariablePackList was populated with the appropriate
default setting data. default setting data.
@retval EFI_NOT_FOUND The IFR does not have any explicit or default map(s). @retval EFI_NOT_FOUND The IFR does not have any explicit or default map(s).
@retval EFI_INVALID_PARAMETER The HII database entry associated with Handle @retval EFI_INVALID_PARAMETER The HII database entry associated with Handle
contain invalid data. contain invalid data.
@ -884,21 +811,15 @@ EFI_STATUS
registered with the EFI HII database. registered with the EFI HII database.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param Handle Handle of the package where the form to be updated resides. @param Handle Handle of the package where the form to be updated resides.
@param Label The label inside the form package where the update is to take place. @param Label The label inside the form package where the update is to take place.
@param AddData If TRUE, adding data at a given Label; otherwise, @param AddData If TRUE, adding data at a given Label; otherwise,
if FALSE, removing data at a given Label. if FALSE, removing data at a given Label.
@param Data The buffer containing the new tags to insert after the Label @param Data The buffer containing the new tags to insert after the Label
@retval EFI_SUCCESS The form was updated with the new tags. @retval EFI_SUCCESS The form was updated with the new tags.
@retval EFI_INVALID_PARAMETER The buffer for the buffer length does not @retval EFI_INVALID_PARAMETER The buffer for the buffer length does not
contain an integral number of tags. contain an integral number of tags.
@retval EFI_NOT_FOUND The Handle, Label, or FormId was not found. @retval EFI_NOT_FOUND The Handle, Label, or FormId was not found.
**/ **/
@ -916,10 +837,8 @@ EFI_STATUS
Retrieves the current keyboard layout. Retrieves the current keyboard layout.
@param This A pointer to the EFI_HII_PROTOCOL instance. @param This A pointer to the EFI_HII_PROTOCOL instance.
@param DescriptorCount A pointer to the number of Descriptor entries being @param DescriptorCount A pointer to the number of Descriptor entries being
described in the keyboard layout being retrieved. described in the keyboard layout being retrieved.
@param Descriptor A pointer to a buffer containing an array of EFI_KEY_DESCRIPTOR @param Descriptor A pointer to a buffer containing an array of EFI_KEY_DESCRIPTOR
entries. Each entry will reflect the definition of a specific physical key. entries. Each entry will reflect the definition of a specific physical key.

View File

@ -264,17 +264,13 @@ typedef union {
Returns the information about the specified IDE channel. Returns the information about the specified IDE channel.
@param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance. @param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.
@param Channel Zero-based channel number. @param Channel Zero-based channel number.
@param Enabled TRUE if this channel is enabled. Disabled channels are not scanned @param Enabled TRUE if this channel is enabled. Disabled channels are not scanned
to see if any devices are present. to see if any devices are present.
@param MaxDevices The maximum number of IDE devices that the bus driver @param MaxDevices The maximum number of IDE devices that the bus driver
can expect on this channel. can expect on this channel.
@retval EFI_SUCCESS Information was returned without any errors. @retval EFI_SUCCESS Information was returned without any errors.
@retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount). @retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount).
**/ **/
@ -292,17 +288,12 @@ EFI_STATUS
phase of the IDE channel enumeration process. phase of the IDE channel enumeration process.
@param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance. @param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.
@param Phase The phase during enumeration. @param Phase The phase during enumeration.
@param Channel Zero-based channel number. @param Channel Zero-based channel number.
@retval EFI_SUCCESS The notification was accepted without any errors. @retval EFI_SUCCESS The notification was accepted without any errors.
@retval EFI_NOT_SUPPORTED Phase is not supported. @retval EFI_NOT_SUPPORTED Phase is not supported.
@retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount). @retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount).
@retval EFI_NOT_READY This phase cannot be entered at this time. @retval EFI_NOT_READY This phase cannot be entered at this time.
**/ **/
@ -318,15 +309,11 @@ EFI_STATUS
Submits the device information to the IDE controller driver. Submits the device information to the IDE controller driver.
@param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance. @param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.
@param Channel Zero-based channel number. @param Channel Zero-based channel number.
@param Device Zero-based device number on the Channel. @param Device Zero-based device number on the Channel.
@param IdentifyData The device¡¯s response to the ATA IDENTIFY_DEVICE command. @param IdentifyData The device¡¯s response to the ATA IDENTIFY_DEVICE command.
@retval EFI_SUCCESS The information was accepted without any errors. @retval EFI_SUCCESS The information was accepted without any errors.
@retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount). @retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount).
Or Device is invalid. Or Device is invalid.
@ -344,16 +331,12 @@ EFI_STATUS
Disqualifies specific modes for an IDE device. Disqualifies specific modes for an IDE device.
@param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance. @param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.
@param Channel Zero-based channel number. @param Channel Zero-based channel number.
@param Device Zero-based device number on the Channel. @param Device Zero-based device number on the Channel.
@param BadModes The modes that the device does not support and that @param BadModes The modes that the device does not support and that
should be disqualified. should be disqualified.
@retval EFI_SUCCESS The modes were accepted without any errors. @retval EFI_SUCCESS The modes were accepted without any errors.
@retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount). @retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount).
Or Device is invalid. Or Device is invalid.
@ -371,18 +354,13 @@ EFI_STATUS
Returns the information about the optimum modes for the specified IDE device. Returns the information about the optimum modes for the specified IDE device.
@param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance. @param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.
@param Channel Zero-based channel number. @param Channel Zero-based channel number.
@param Device Zero-based device number on the Channel. @param Device Zero-based device number on the Channel.
@param SupportedModes The optimum modes for the device. @param SupportedModes The optimum modes for the device.
@retval EFI_SUCCESS SupportedModes was returned. @retval EFI_SUCCESS SupportedModes was returned.
@retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount). @retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount).
Or Device is invalid. Or SupportedModes is NULL. Or Device is invalid. Or SupportedModes is NULL.
@retval EFI_NOT_READY Modes cannot be calculated due to a lack of data. @retval EFI_NOT_READY Modes cannot be calculated due to a lack of data.
**/ **/
@ -400,20 +378,14 @@ EFI_STATUS
so that the specified device can operate at the specified mode. so that the specified device can operate at the specified mode.
@param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance. @param This Pointer to the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.
@param Channel Zero-based channel number. @param Channel Zero-based channel number.
@param Device Zero-based device number on the Channel. @param Device Zero-based device number on the Channel.
@param Modes The modes to set. @param Modes The modes to set.
@retval EFI_SUCCESS The command was accepted without any errors. @retval EFI_SUCCESS The command was accepted without any errors.
@retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount). @retval EFI_INVALID_PARAMETER Channel is invalid (Channel >= ChannelCount).
Or Device is invalid. Or Device is invalid.
@retval EFI_NOT_READY Modes cannot be set at this time due to lack of data. @retval EFI_NOT_READY Modes cannot be set at this time due to lack of data.
@retval EFI_DEVICE_ERROR Modes cannot be set due to hardware failure. @retval EFI_DEVICE_ERROR Modes cannot be set due to hardware failure.
The IDE bus driver should not use this device. The IDE bus driver should not use this device.

View File

@ -31,17 +31,11 @@ typedef struct _EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL EFI_INCOMPATIBLE_PC
resource configuration requirements for an incompatible PCI device. resource configuration requirements for an incompatible PCI device.
@param This Pointer to the EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL instance. @param This Pointer to the EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL instance.
@param VendorID A unique ID to identify the manufacturer of the PCI device. @param VendorID A unique ID to identify the manufacturer of the PCI device.
@param DeviceID A unique ID to identify the particular PCI device. @param DeviceID A unique ID to identify the particular PCI device.
@param RevisionID A PCI device-specific revision identifier. @param RevisionID A PCI device-specific revision identifier.
@param SubsystemVendorId Specifies the subsystem vendor ID. @param SubsystemVendorId Specifies the subsystem vendor ID.
@param SubsystemDeviceId Specifies the subsystem device ID. @param SubsystemDeviceId Specifies the subsystem device ID.
@param Configuration A list of ACPI resource descriptors that detail @param Configuration A list of ACPI resource descriptors that detail
the configuration requirement. the configuration requirement.

View File

@ -597,7 +597,6 @@ EFI_STATUS
@param LegacyMemoryAddress Region Assigned @param LegacyMemoryAddress Region Assigned
@retval EFI_SUCCESS Region assigned @retval EFI_SUCCESS Region assigned
@retval Other Region not assigned @retval Other Region not assigned
**/ **/
@ -620,7 +619,8 @@ EFI_STATUS
@param LegacyMemoryAddress Legacy Region destination address @param LegacyMemoryAddress Legacy Region destination address
Note: must be in region assigned by Note: must be in region assigned by
LegacyBiosGetLegacyRegion LegacyBiosGetLegacyRegion
@param LegacyMemorySourceAddress Source of data @param LegacyMemorySourceAddress
Source of data
@retval EFI_SUCCESS Region assigned @retval EFI_SUCCESS Region assigned
@retval EFI_ACCESS_DENIED Destination outside assigned region @retval EFI_ACCESS_DENIED Destination outside assigned region

View File

@ -196,7 +196,7 @@ EFI_STATUS
@param LocalPirqTable $PIR table @param LocalPirqTable $PIR table
@param PirqTableSize $PIR table size @param PirqTableSize $PIR table size
@param LocalIrqPriorityTable List of interrupts in priority order to assign @param LocalIrqPriorityTable List of interrupts in priority order to assign
@param IrqPriorityTableEntries- Number of entries in priority table @param IrqPriorityTableEntries Number of entries in priority table
@retval EFI_SUCCESS Data was successfully returned. @retval EFI_SUCCESS Data was successfully returned.

View File

@ -32,11 +32,8 @@ typedef struct _EFI_LEGACY_REGION_PROTOCOL EFI_LEGACY_REGION_PROTOCOL;
Sets hardware to decode or not decode a region. Sets hardware to decode or not decode a region.
@param This Indicates the EFI_LEGACY_REGION_PROTOCOL instance @param This Indicates the EFI_LEGACY_REGION_PROTOCOL instance
@param Start Start of region to decode. @param Start Start of region to decode.
@param Length Size in bytes of the region. @param Length Size in bytes of the region.
@param On Decode/nondecode flag. @param On Decode/nondecode flag.
@retval EFI_SUCCESS Decode range successfully changed. @retval EFI_SUCCESS Decode range successfully changed.
@ -55,11 +52,8 @@ EFI_STATUS
Sets a region to read only. Sets a region to read only.
@param This Indicates the EFI_LEGACY_REGION_PROTOCOL instance @param This Indicates the EFI_LEGACY_REGION_PROTOCOL instance
@param Start Start of region to lock. @param Start Start of region to lock.
@param Length Size in bytes of the region. @param Length Size in bytes of the region.
@param Granularity Lock attribute affects this granularity in bytes. @param Granularity Lock attribute affects this granularity in bytes.
@retval EFI_SUCCESS The region was made read only. @retval EFI_SUCCESS The region was made read only.
@ -79,11 +73,8 @@ EFI_STATUS
inadvertently modified. inadvertently modified.
@param This Indicates the EFI_LEGACY_REGION_PROTOCOL instance @param This Indicates the EFI_LEGACY_REGION_PROTOCOL instance
@param Start Start of region to lock. @param Start Start of region to lock.
@param Length Size in bytes of the region. @param Length Size in bytes of the region.
@param Granularity Lock attribute affects this granularity in bytes. @param Granularity Lock attribute affects this granularity in bytes.
@retval EFI_SUCCESS The region was made read only and flash is locked. @retval EFI_SUCCESS The region was made read only and flash is locked.
@ -102,11 +93,8 @@ EFI_STATUS
Sets a region to read-write. Sets a region to read-write.
@param This Indicates the EFI_LEGACY_REGION_PROTOCOL instance @param This Indicates the EFI_LEGACY_REGION_PROTOCOL instance
@param Start Start of region to lock. @param Start Start of region to lock.
@param Length Size in bytes of the region. @param Length Size in bytes of the region.
@param Granularity Lock attribute affects this granularity in bytes. @param Granularity Lock attribute affects this granularity in bytes.
@retval EFI_SUCCESS The region was successfully made read-write. @retval EFI_SUCCESS The region was successfully made read-write.

View File

@ -303,7 +303,6 @@ EFI_STATUS
@retval EFI_INVALID_PARAMETER One or more parameters are invalid. @retval EFI_INVALID_PARAMETER One or more parameters are invalid.
@retval EFI_UNSUPPORTED One or more options in the OptionList are in the @retval EFI_UNSUPPORTED One or more options in the OptionList are in the
unsupported list of structure EFI_MTFTP4_MODE_DATA. unsupported list of structure EFI_MTFTP4_MODE_DATA.
@retval EFI_NOT_STARTED The EFI MTFTPv4 Protocol driver has not been started. @retval EFI_NOT_STARTED The EFI MTFTPv4 Protocol driver has not been started.
@retval EFI_NO_MAPPING When using a default address, configuration (DHCP, BOOTP, @retval EFI_NO_MAPPING When using a default address, configuration (DHCP, BOOTP,
RARP, etc.) has not finished yet. RARP, etc.) has not finished yet.

View File

@ -52,16 +52,12 @@ typedef enum{
during the boot process. during the boot process.
@param This Pointer to the EFI_PCI_HOT_PLUG_INIT_PROTOCOL instance. @param This Pointer to the EFI_PCI_HOT_PLUG_INIT_PROTOCOL instance.
@param HpcCount The number of root HPCs that were returned. @param HpcCount The number of root HPCs that were returned.
@param HpcList The list of root HPCs. HpcCount defines the number of @param HpcList The list of root HPCs. HpcCount defines the number of
elements in this list. elements in this list.
@retval EFI_SUCCESS HpcList was returned. @retval EFI_SUCCESS HpcList was returned.
@retval EFI_OUT_OF_RESOURCES HpcList was not returned due to insufficient resources. @retval EFI_OUT_OF_RESOURCES HpcList was not returned due to insufficient resources.
@retval EFI_INVALID_PARAMETER HpcCount is NULL or HpcList is NULL. @retval EFI_INVALID_PARAMETER HpcCount is NULL or HpcList is NULL.
**/ **/
@ -78,26 +74,19 @@ EFI_STATUS
initialization of its subordinate buses. initialization of its subordinate buses.
@param This Pointer to the EFI_PCI_HOT_PLUG_INIT_PROTOCOL instance. @param This Pointer to the EFI_PCI_HOT_PLUG_INIT_PROTOCOL instance.
@param HpcDevicePath The device path to the HPC that is being initialized. @param HpcDevicePath The device path to the HPC that is being initialized.
@param HpcPciAddress The address of the HPC function on the PCI bus. @param HpcPciAddress The address of the HPC function on the PCI bus.
@param Event The event that should be signaled when the HPC initialization @param Event The event that should be signaled when the HPC initialization
is complete. is complete.
@param HpcState The state of the HPC hardware. @param HpcState The state of the HPC hardware.
@retval EFI_SUCCESS If Event is NULL, the specific HPC was successfully @retval EFI_SUCCESS If Event is NULL, the specific HPC was successfully
initialized. If Event is not NULL, Event will be signaled at a later time initialized. If Event is not NULL, Event will be signaled at a later time
when initialization is complete. when initialization is complete.
@retval EFI_UNSUPPORTED This instance of EFI_PCI_HOT_PLUG_INIT_PROTOCOL @retval EFI_UNSUPPORTED This instance of EFI_PCI_HOT_PLUG_INIT_PROTOCOL
does not support the specified HPC. does not support the specified HPC.
@retval EFI_OUT_OF_RESOURCES Initialization failed due to insufficient @retval EFI_OUT_OF_RESOURCES Initialization failed due to insufficient
resources. resources.
@retval EFI_INVALID_PARAMETER HpcState is NULL. @retval EFI_INVALID_PARAMETER HpcState is NULL.
**/ **/
@ -116,28 +105,19 @@ EFI_STATUS
by the specified Hot Plug Controller (HPC). by the specified Hot Plug Controller (HPC).
@param This Pointer to the EFI_PCI_HOT_PLUG_INIT_PROTOCOL instance. @param This Pointer to the EFI_PCI_HOT_PLUG_INIT_PROTOCOL instance.
@param HpcDevicePath The device path to the HPC. @param HpcDevicePath The device path to the HPC.
@param HpcPciAddress The address of the HPC function on the PCI bus. @param HpcPciAddress The address of the HPC function on the PCI bus.
@param HpcState The state of the HPC hardware. @param HpcState The state of the HPC hardware.
@param Padding The amount of resource padding that is required by the @param Padding The amount of resource padding that is required by the
PCI bus under the control of the specified HPC. PCI bus under the control of the specified HPC.
@param Attributes Describes how padding is accounted for. The padding @param Attributes Describes how padding is accounted for. The padding
is returned in the form of ACPI 2.0 resource descriptors. is returned in the form of ACPI 2.0 resource descriptors.
@retval EFI_SUCCESS The resource padding was successfully returned. @retval EFI_SUCCESS The resource padding was successfully returned.
@retval EFI_UNSUPPORTED This instance of the EFI_PCI_HOT_PLUG_INIT_PROTOCOL @retval EFI_UNSUPPORTED This instance of the EFI_PCI_HOT_PLUG_INIT_PROTOCOL
does not support the specified HPC. does not support the specified HPC.
@retval EFI_NOT_READY This function was called before HPC initialization is complete. @retval EFI_NOT_READY This function was called before HPC initialization is complete.
@retval EFI_INVALID_PARAMETER HpcState or Padding or Attributes is NULL. @retval EFI_INVALID_PARAMETER HpcState or Padding or Attributes is NULL.
@retval EFI_OUT_OF_RESOURCES ACPI 2.0 resource descriptors for Padding @retval EFI_OUT_OF_RESOURCES ACPI 2.0 resource descriptors for Padding
cannot be allocated due to insufficient resources. cannot be allocated due to insufficient resources.

View File

@ -185,7 +185,6 @@ EFI_STATUS
FC target. FC target.
@param Lun The LUN of the SCSI device for which a device path node is to be @param Lun The LUN of the SCSI device for which a device path node is to be
allocated and built. allocated and built.
@param DevicePath A pointer to a single device path node that describes the SCSI device @param DevicePath A pointer to a single device path node that describes the SCSI device
specified by Target and Lun. This function is responsible for specified by Target and Lun. This function is responsible for
allocating the buffer DevicePath with the boot service allocating the buffer DevicePath with the boot service

View File

@ -118,10 +118,8 @@ EFI_STATUS
@param This Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance. @param This Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.
@param SectionStreamHandle Indicates the section stream to close. @param SectionStreamHandle Indicates the section stream to close.
@retval EFI_SUCCESS The SectionStream was successfully processed and @retval EFI_SUCCESS The SectionStream was successfully processed and
the section stream handle was returned. the section stream handle was returned.
@retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist. @retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist.
**/ **/

View File

@ -32,43 +32,30 @@ typedef struct _EFI_SMBUS_HC_PROTOCOL EFI_SMBUS_HC_PROTOCOL;
Executes an SMBus operation to an SMBus controller. Executes an SMBus operation to an SMBus controller.
@param This A pointer to the EFI_SMBUS_HC_PROTOCOL instance. @param This A pointer to the EFI_SMBUS_HC_PROTOCOL instance.
@param SlaveAddress The SMBus slave address of the device with which to communicate. @param SlaveAddress The SMBus slave address of the device with which to communicate.
@param Command This command is transmitted by the SMBus host @param Command This command is transmitted by the SMBus host
controller to the SMBus slave device and the interpretation is controller to the SMBus slave device and the interpretation is
SMBus slave device specific. SMBus slave device specific.
@param Operation Signifies which particular SMBus hardware protocol @param Operation Signifies which particular SMBus hardware protocol
instance that it will use to execute the SMBus transactions. instance that it will use to execute the SMBus transactions.
@param PecCheck Defines if Packet Error Code (PEC) checking is required @param PecCheck Defines if Packet Error Code (PEC) checking is required
for this operation. for this operation.
@param Length Signifies the number of bytes that this operation will do. @param Length Signifies the number of bytes that this operation will do.
@param Buffer Contains the value of data to execute to the SMBus slave device. @param Buffer Contains the value of data to execute to the SMBus slave device.
@retval EFI_SUCCESS The last data that was returned from the access @retval EFI_SUCCESS The last data that was returned from the access
matched the poll exit criteria. matched the poll exit criteria.
@retval EFI_CRC_ERROR The checksum is not correct (PEC is incorrect) @retval EFI_CRC_ERROR The checksum is not correct (PEC is incorrect)
@retval EFI_TIMEOUT Timeout expired before the operation was completed. @retval EFI_TIMEOUT Timeout expired before the operation was completed.
Timeout is determined by the SMBus host controller device. Timeout is determined by the SMBus host controller device.
@retval EFI_OUT_OF_RESOURCES The request could not be completed @retval EFI_OUT_OF_RESOURCES The request could not be completed
due to a lack of resources. due to a lack of resources.
@retval EFI_DEVICE_ERROR The request was not completed because @retval EFI_DEVICE_ERROR The request was not completed because
a failure reflected in the Host Status Register bit. a failure reflected in the Host Status Register bit.
@retval EFI_INVALID_PARAMETER Operation is not defined in EFI_SMBUS_OPERATION. @retval EFI_INVALID_PARAMETER Operation is not defined in EFI_SMBUS_OPERATION.
Or Length/Buffer is NULL for operations except for EfiSmbusQuickRead and Or Length/Buffer is NULL for operations except for EfiSmbusQuickRead and
EfiSmbusQuickWrite. Length is outside the range of valid values. EfiSmbusQuickWrite. Length is outside the range of valid values.
@retval EFI_UNSUPPORTED The SMBus operation or PEC is not supported. @retval EFI_UNSUPPORTED The SMBus operation or PEC is not supported.
@retval EFI_BUFFER_TOO_SMALL Buffer is not sufficient for this operation. @retval EFI_BUFFER_TOO_SMALL Buffer is not sufficient for this operation.
**/ **/
@ -100,7 +87,6 @@ typedef struct {
@param SlaveAddress The SMBUS hardware address to which the SMBUS @param SlaveAddress The SMBUS hardware address to which the SMBUS
device is preassigned or allocated. device is preassigned or allocated.
@param Data Data of the SMBus host notify command that @param Data Data of the SMBus host notify command that
the caller wants to be called. the caller wants to be called.
@ -119,27 +105,20 @@ EFI_STATUS
or enumerates the entire bus. or enumerates the entire bus.
@param This A pointer to the EFI_SMBUS_HC_PROTOCOL instance. @param This A pointer to the EFI_SMBUS_HC_PROTOCOL instance.
@param ArpAll A Boolean expression that indicates if the host drivers need @param ArpAll A Boolean expression that indicates if the host drivers need
to enumerate all the devices or enumerate only the device that is identified to enumerate all the devices or enumerate only the device that is identified
by SmbusUdid. If ArpAll is TRUE, SmbusUdid and SlaveAddress are optional. by SmbusUdid. If ArpAll is TRUE, SmbusUdid and SlaveAddress are optional.
If ArpAll is FALSE, ArpDevice will enumerate SmbusUdid and the address If ArpAll is FALSE, ArpDevice will enumerate SmbusUdid and the address
will be at SlaveAddress. will be at SlaveAddress.
@param SmbusUdid The Unique Device Identifier (UDID) that is associated @param SmbusUdid The Unique Device Identifier (UDID) that is associated
with this device. with this device.
@param SlaveAddress The SMBus slave address that is associated with an SMBus UDID. @param SlaveAddress The SMBus slave address that is associated with an SMBus UDID.
@retval EFI_SUCCESS The SMBus slave device address was set. @retval EFI_SUCCESS The SMBus slave device address was set.
@retval EFI_INVALID_PARAMETER SlaveAddress is NULL. @retval EFI_INVALID_PARAMETER SlaveAddress is NULL.
@retval EFI_OUT_OF_RESOURCES The request could not be completed @retval EFI_OUT_OF_RESOURCES The request could not be completed
due to a lack of resources. due to a lack of resources.
@retval EFI_TIMEOUT The SMBus slave device did not respond. @retval EFI_TIMEOUT The SMBus slave device did not respond.
@retval EFI_DEVICE_ERROR The request was not completed because the transaction failed. @retval EFI_DEVICE_ERROR The request was not completed because the transaction failed.
**/ **/
@ -162,9 +141,7 @@ typedef struct {
that are enumerated by the SMBus host driver. that are enumerated by the SMBus host driver.
@param This A pointer to the EFI_SMBUS_HC_PROTOCOL instance. @param This A pointer to the EFI_SMBUS_HC_PROTOCOL instance.
@param Length Size of the buffer that contains the SMBus device map. @param Length Size of the buffer that contains the SMBus device map.
@param SmbusDeviceMap The pointer to the device map as enumerated @param SmbusDeviceMap The pointer to the device map as enumerated
by the SMBus controller driver. by the SMBus controller driver.
@ -184,13 +161,10 @@ EFI_STATUS
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 This A pointer to the EFI_SMBUS_HC_PROTOCOL instance. @param This A pointer to the EFI_SMBUS_HC_PROTOCOL 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.
@param Data Data that the host controller detects as sending a message @param Data Data that the host controller detects as sending a message
and calls all the registered functions. and calls all the registered functions.
@param NotifyFunction The function to call when the bus driver @param NotifyFunction The function to call when the bus driver
detects the SlaveAddress and Data pair. detects the SlaveAddress and Data pair.

View File

@ -47,14 +47,11 @@ typedef struct _EFI_SMM_ACCESS_PROTOCOL EFI_SMM_ACCESS_PROTOCOL;
Opens the SMRAM area to be accessible by a boot-service driver. Opens the SMRAM area to be accessible by a boot-service driver.
@param This The EFI_SMM_ACCESS_PROTOCOL instance. @param This The EFI_SMM_ACCESS_PROTOCOL instance.
@param DescriptorIndex Indicates that the driver wishes to open @param DescriptorIndex Indicates that the driver wishes to open
the memory tagged by this index. the memory tagged by this index.
@retval EFI_SUCCESS The operation was successful. @retval EFI_SUCCESS The operation was successful.
@retval EFI_INVALID_PARAMETER The given DescriptorIndex is not supported. @retval EFI_INVALID_PARAMETER The given DescriptorIndex is not supported.
@retval EFI_NOT_STARTED The SMM base service has not been initialized. @retval EFI_NOT_STARTED The SMM base service has not been initialized.
**/ **/
@ -69,16 +66,12 @@ EFI_STATUS
Inhibits access to the SMRAM. Inhibits access to the SMRAM.
@param This The EFI_SMM_ACCESS_PROTOCOL instance. @param This The EFI_SMM_ACCESS_PROTOCOL instance.
@param DescriptorIndex Indicates that the driver wishes to open @param DescriptorIndex Indicates that the driver wishes to open
the memory tagged by this index. the memory tagged by this index.
@retval EFI_SUCCESS The operation was successful. @retval EFI_SUCCESS The operation was successful.
@retval EFI_DEVICE_ERROR The given DescriptorIndex is not open. @retval EFI_DEVICE_ERROR The given DescriptorIndex is not open.
@retval EFI_INVALID_PARAMETER The given DescriptorIndex is not supported. @retval EFI_INVALID_PARAMETER The given DescriptorIndex is not supported.
@retval EFI_NOT_STARTED The SMM base service has not been initialized. @retval EFI_NOT_STARTED The SMM base service has not been initialized.
**/ **/
@ -91,18 +84,13 @@ EFI_STATUS
/** /**
Inhibits access to the SMRAM. Inhibits access to the SMRAM.
@param This The EFI_SMM_ACCESS_PROTOCOL instance. @param This The EFI_SMM_ACCESS_PROTOCOL instance.
@param DescriptorIndex Indicates that the driver wishes to open @param DescriptorIndex Indicates that the driver wishes to open
the memory tagged by this index. the memory tagged by this index.
@retval EFI_SUCCESS The operation was successful. @retval EFI_SUCCESS The operation was successful.
@retval EFI_DEVICE_ERROR The given DescriptorIndex is not open. @retval EFI_DEVICE_ERROR The given DescriptorIndex is not open.
@retval EFI_INVALID_PARAMETER The given DescriptorIndex is not supported. @retval EFI_INVALID_PARAMETER The given DescriptorIndex is not supported.
@retval EFI_NOT_STARTED The SMM base service has not been initialized. @retval EFI_NOT_STARTED The SMM base service has not been initialized.
**/ **/
@ -117,13 +105,10 @@ EFI_STATUS
Queries the memory controller for the possible regions that will support SMRAM. Queries the memory controller for the possible regions that will support SMRAM.
@param This The EFI_SMM_ACCESS_PROTOCOL instance. @param This The EFI_SMM_ACCESS_PROTOCOL instance.
@param SmramMapSize A pointer to the size, in bytes, of the SmramMemoryMap buffer. @param SmramMapSize A pointer to the size, in bytes, of the SmramMemoryMap buffer.
@param SmramMap A pointer to the buffer in which firmware places the current memory map. @param SmramMap A pointer to the buffer in which firmware places the current memory map.
@retval EFI_SUCCESS The chipset supported the given resource. @retval EFI_SUCCESS The chipset supported the given resource.
@retval EFI_BUFFER_TOO_SMALL The SmramMap parameter was too small. @retval EFI_BUFFER_TOO_SMALL The SmramMap parameter was too small.
**/ **/

View File

@ -42,11 +42,9 @@ typedef struct _EFI_SMM_BASE_PROTOCOL EFI_SMM_BASE_PROTOCOL;
@param SmmImageHandle A handle allocated by the SMM infrastructure code @param SmmImageHandle A handle allocated by the SMM infrastructure code
to uniquely designate a specific DXE SMM driver. to uniquely designate a specific DXE SMM driver.
@param CommunicationBuffer A pointer to a collection of data in memory @param CommunicationBuffer A pointer to a collection of data in memory
that will be conveyed from a non-SMM environment into an SMM environment. that will be conveyed from a non-SMM environment into an SMM environment.
The buffer must be contiguous, physically mapped, and be a physical address. The buffer must be contiguous, physically mapped, and be a physical address.
@param SourceSize The size of the CommunicationBuffer. @param SourceSize The size of the CommunicationBuffer.
@return Status code @return Status code

View File

@ -42,22 +42,15 @@ typedef struct {
Invokes SMI activation from either the preboot or runtime environment. Invokes SMI activation from either the preboot or runtime environment.
@param This The EFI_SMM_CONTROL_PROTOCOL instance. @param This The EFI_SMM_CONTROL_PROTOCOL instance.
@param ArgumentBuffer Optional sized data to pass into the protocol activation. @param ArgumentBuffer Optional sized data to pass into the protocol activation.
@param ArgumentBufferSize Optional size of the data. @param ArgumentBufferSize Optional size of the data.
@param Periodic Optional mechanism to engender a periodic stream. @param Periodic Optional mechanism to engender a periodic stream.
@param ActivationInterval Optional parameter to repeat at this period one @param ActivationInterval Optional parameter to repeat at this period one
time or, if the Periodic Boolean is set, periodically. time or, if the Periodic Boolean is set, periodically.
@retval EFI_SUCCESS The SMI/PMI has been engendered. @retval EFI_SUCCESS The SMI/PMI has been engendered.
@retval EFI_DEVICE_ERROR The timing is unsupported. @retval EFI_DEVICE_ERROR The timing is unsupported.
@retval EFI_INVALID_PARAMETER The activation period is unsupported. @retval EFI_INVALID_PARAMETER The activation period is unsupported.
@retval EFI_NOT_STARTED The SMM base service has not been initialized. @retval EFI_NOT_STARTED The SMM base service has not been initialized.
**/ **/
@ -75,13 +68,10 @@ EFI_STATUS
Clears any system state that was created in response to the Active call. Clears any system state that was created in response to the Active call.
@param This The EFI_SMM_CONTROL_PROTOCOL instance. @param This The EFI_SMM_CONTROL_PROTOCOL instance.
@param Periodic Optional parameter to repeat at this period one time @param Periodic Optional parameter to repeat at this period one time
@retval EFI_SUCCESS The SMI/PMI has been engendered. @retval EFI_SUCCESS The SMI/PMI has been engendered.
@retval EFI_DEVICE_ERROR The source could not be cleared. @retval EFI_DEVICE_ERROR The source could not be cleared.
@retval EFI_INVALID_PARAMETER The service did not support the Periodic input argument. @retval EFI_INVALID_PARAMETER The service did not support the Periodic input argument.
**/ **/
@ -96,7 +86,6 @@ EFI_STATUS
Provides information on the source register used to generate the SMI. Provides information on the source register used to generate the SMI.
@param This The EFI_SMM_CONTROL_PROTOCOL instance. @param This The EFI_SMM_CONTROL_PROTOCOL instance.
@param SmiRegister Pointer to the SMI register description structure @param SmiRegister Pointer to the SMI register description structure
@retval EFI_SUCCESS The register structure has been returned. @retval EFI_SUCCESS The register structure has been returned.

View File

@ -37,24 +37,18 @@ typedef struct _EFI_SMM_STATUS_CODE_PROTOCOL EFI_SMM_STATUS_CODE_PROTOCOL;
Service to emit the status code in SMM. Service to emit the status code in SMM.
@param This Pointer to EFI_SMM_STATUS_CODE_PROTOCOL instance. @param This Pointer to EFI_SMM_STATUS_CODE_PROTOCOL instance.
@param CodeType Indicates the type of status code being reported. @param CodeType Indicates the type of status code being reported.
@param Value Describes the current status of a hardware or software entity. @param Value Describes the current status of a hardware or software entity.
This included information about the class and subclass that is used to This included information about the class and subclass that is used to
classify the entity as well as an operation. classify the entity as well as an operation.
@param Instance The enumeration of a hardware or software entity within @param Instance The enumeration of a hardware or software entity within
the system. Valid instance numbers start with 1. the system. Valid instance numbers start with 1.
@param CallerId This optional parameter may be used to identify the caller. @param CallerId This optional parameter may be used to identify the caller.
This parameter allows the status code driver to apply different rules to This parameter allows the status code driver to apply different rules to
different callers. different callers.
@param Data This optional parameter may be used to pass additional data. @param Data This optional parameter may be used to pass additional data.
@retval EFI_SUCCESS The function completed successfully @retval EFI_SUCCESS The function completed successfully
@retval EFI_DEVICE_ERROR The function should not be completed due to a device error. @retval EFI_DEVICE_ERROR The function should not be completed due to a device error.
**/ **/

View File

@ -190,7 +190,6 @@ EFI_STATUS
transfer endpoint is capable of sending or receiving. transfer endpoint is capable of sending or receiving.
@param IsNewTransfer If TRUE, an asynchronous interrupt pipe is built between the host @param IsNewTransfer If TRUE, an asynchronous interrupt pipe is built between the host
and the target interrupt endpoint. If FALSE, the specified and the target interrupt endpoint. If FALSE, the specified
@param DataToggle A pointer to the data toggle value. @param DataToggle A pointer to the data toggle value.
@param PollingInterval Indicates the interval, in milliseconds, that the asynchronous @param PollingInterval Indicates the interval, in milliseconds, that the asynchronous
interrupt transfer is polled. asynchronous interrupt pipe is canceled. interrupt transfer is polled. asynchronous interrupt pipe is canceled.