ARM Packages: Removed trailing spaces
Trailing spaces create issue/warning when generating/applying patches. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron <ronald.cron@arm.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15833 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
62d441fb17
commit
3402aac7d9
@@ -1,10 +1,10 @@
|
||||
/** @file
|
||||
Platform specific Debug Agent abstraction for timer used by the agent.
|
||||
Platform specific Debug Agent abstraction for timer used by the agent.
|
||||
|
||||
The timer is used by the debugger to break into a running program.
|
||||
|
||||
Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
|
||||
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -31,33 +31,32 @@ EFIAPI
|
||||
DebugAgentTimerIntialize (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Set the period for the debug agent timer. Zero means disable the timer.
|
||||
|
||||
@param[in] TimerPeriodMilliseconds Frequency of the debug agent timer.
|
||||
|
||||
**/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DebugAgentTimerSetPeriod (
|
||||
IN UINT32 TimerPeriodMilliseconds
|
||||
);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Perform End Of Interrupt for the debug agent timer. This is called in the
|
||||
interrupt handler after the interrupt has been processed.
|
||||
Perform End Of Interrupt for the debug agent timer. This is called in the
|
||||
interrupt handler after the interrupt has been processed.
|
||||
|
||||
**/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DebugAgentTimerEndOfInterrupt (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
@@ -1,13 +1,13 @@
|
||||
/** @file
|
||||
DMA abstraction library APIs. Based on UEFI PCI IO protocol DMA abstractions.
|
||||
At some point these functions will probably end up in a non PCI protocol
|
||||
At some point these functions will probably end up in a non PCI protocol
|
||||
for embedded systems.
|
||||
|
||||
DMA Bus Master Read Operation:
|
||||
Call DmaMap() for MapOperationBusMasterRead.
|
||||
Program the DMA Bus Master with the DeviceAddress returned by DmaMap().
|
||||
Start the DMA Bus Master.
|
||||
Wait for DMA Bus Master to complete the read operation.
|
||||
Call DmaMap() for MapOperationBusMasterRead.
|
||||
Program the DMA Bus Master with the DeviceAddress returned by DmaMap().
|
||||
Start the DMA Bus Master.
|
||||
Wait for DMA Bus Master to complete the read operation.
|
||||
Call DmaUnmap().
|
||||
|
||||
DMA Bus Master Write Operation:
|
||||
@@ -18,11 +18,11 @@
|
||||
Call DmaUnmap().
|
||||
|
||||
DMA Bus Master Common Buffer Operation:
|
||||
Call DmaAllocateBuffer() to allocate a common buffer.
|
||||
Call DmaMap() for MapOperationBusMasterCommonBuffer.
|
||||
Program the DMA Bus Master with the DeviceAddress returned by DmaMap().
|
||||
The common buffer can now be accessed equally by the processor and the DMA bus master.
|
||||
Call DmaUnmap().
|
||||
Call DmaAllocateBuffer() to allocate a common buffer.
|
||||
Call DmaMap() for MapOperationBusMasterCommonBuffer.
|
||||
Program the DMA Bus Master with the DeviceAddress returned by DmaMap().
|
||||
The common buffer can now be accessed equally by the processor and the DMA bus master.
|
||||
Call DmaUnmap().
|
||||
Call DmaFreeBuffer().
|
||||
|
||||
Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
|
||||
@@ -60,25 +60,25 @@ typedef enum {
|
||||
|
||||
|
||||
|
||||
/**
|
||||
/**
|
||||
Provides the DMA controller-specific addresses needed to access system memory.
|
||||
|
||||
|
||||
Operation is relative to the DMA bus master.
|
||||
|
||||
|
||||
@param Operation Indicates if the bus master is going to read or write to system memory.
|
||||
@param HostAddress The system memory address to map to the DMA controller.
|
||||
@param NumberOfBytes On input the number of bytes to map. On output the number of bytes
|
||||
that were mapped.
|
||||
that were mapped.
|
||||
@param DeviceAddress The resulting map address for the bus master controller to use to
|
||||
access the hosts HostAddress.
|
||||
access the hosts HostAddress.
|
||||
@param Mapping A resulting value to pass to DmaUnmap().
|
||||
|
||||
|
||||
@retval EFI_SUCCESS The range was mapped for the returned NumberOfBytes.
|
||||
@retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
|
||||
@retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer.
|
||||
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.
|
||||
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
|
||||
@retval EFI_DEVICE_ERROR The system hardware could not map the requested address.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
@@ -93,15 +93,15 @@ DmaMap (
|
||||
|
||||
|
||||
|
||||
/**
|
||||
/**
|
||||
Completes the DmaMapBusMasterRead, DmaMapBusMasterWrite, or DmaMapBusMasterCommonBuffer
|
||||
operation and releases any corresponding resources.
|
||||
|
||||
|
||||
@param Mapping The mapping value returned from DmaMap().
|
||||
|
||||
|
||||
@retval EFI_SUCCESS The range was unmapped.
|
||||
@retval EFI_DEVICE_ERROR The data was not committed to the target system memory.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
@@ -110,22 +110,22 @@ DmaUnmap (
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
/**
|
||||
Allocates pages that are suitable for an DmaMap() of type MapOperationBusMasterCommonBuffer.
|
||||
mapping.
|
||||
|
||||
mapping.
|
||||
|
||||
@param MemoryType The type of memory to allocate, EfiBootServicesData or
|
||||
EfiRuntimeServicesData.
|
||||
@param Pages The number of pages to allocate.
|
||||
EfiRuntimeServicesData.
|
||||
@param Pages The number of pages to allocate.
|
||||
@param HostAddress A pointer to store the base system memory address of the
|
||||
allocated range.
|
||||
allocated range.
|
||||
|
||||
@retval EFI_SUCCESS The requested memory pages were allocated.
|
||||
@retval EFI_UNSUPPORTED Attributes is unsupported. The only legal attribute bits are
|
||||
MEMORY_WRITE_COMBINE and MEMORY_CACHED.
|
||||
MEMORY_WRITE_COMBINE and MEMORY_CACHED.
|
||||
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.
|
||||
@retval EFI_OUT_OF_RESOURCES The memory pages could not be allocated.
|
||||
|
||||
@retval EFI_OUT_OF_RESOURCES The memory pages could not be allocated.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
@@ -136,16 +136,16 @@ DmaAllocateBuffer (
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
/**
|
||||
Frees memory that was allocated with DmaAllocateBuffer().
|
||||
|
||||
@param Pages The number of pages to free.
|
||||
@param HostAddress The base system memory address of the allocated range.
|
||||
|
||||
|
||||
@param Pages The number of pages to free.
|
||||
@param HostAddress The base system memory address of the allocated range.
|
||||
|
||||
@retval EFI_SUCCESS The requested memory pages were freed.
|
||||
@retval EFI_INVALID_PARAMETER The memory range specified by HostAddress and Pages
|
||||
was not allocated with DmaAllocateBuffer().
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
@@ -155,5 +155,5 @@ DmaFreeBuffer (
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@@ -42,7 +42,7 @@ EblAddExternalCommands (
|
||||
|
||||
@param TimeoutInSec Number of seconds to wait to timeout
|
||||
|
||||
@param CallBack Callback called every second during the timeout wait
|
||||
@param CallBack Callback called every second during the timeout wait
|
||||
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ EblGetCharKey (
|
||||
|
||||
string. This depends on the last print done before calling this function.
|
||||
|
||||
CurrentRow is updated by one on a call or set back to zero if a prompt is
|
||||
CurrentRow is updated by one on a call or set back to zero if a prompt is
|
||||
|
||||
needed.
|
||||
|
||||
|
@@ -34,7 +34,7 @@ EblAddCommands (
|
||||
|
||||
|
||||
//
|
||||
// LIbrary constructor called directly from Ebl Code.
|
||||
// LIbrary constructor called directly from Ebl Code.
|
||||
// This module calls EblAddCommand () or EblAddCommands () to register new commands
|
||||
//
|
||||
VOID
|
||||
|
@@ -49,7 +49,7 @@ EblSetStationIp (
|
||||
IN EFI_IP_ADDRESS *NewStationIp, OPTIONAL
|
||||
IN EFI_IP_ADDRESS *NewSubnetMask OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
EblMtftp (
|
||||
@@ -63,6 +63,6 @@ EblMtftp (
|
||||
IN EFI_PXE_BASE_CODE_MTFTP_INFO *Info OPTIONAL,
|
||||
IN BOOLEAN DontUseBuffer
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @file
|
||||
Library functions that perform file IO. Memory buffer, file system, and
|
||||
fimrware volume operations are supproted.
|
||||
Library functions that perform file IO. Memory buffer, file system, and
|
||||
fimrware volume operations are supproted.
|
||||
|
||||
Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
||||
@@ -18,7 +18,7 @@
|
||||
current mounted device concept of current working directory concept implement
|
||||
by this library.
|
||||
|
||||
Device names are case insensative and only check the leading characters for
|
||||
Device names are case insensative and only check the leading characters for
|
||||
unique matches. Thus the following are all the same:
|
||||
LoadFile0:
|
||||
l0:
|
||||
@@ -32,7 +32,7 @@
|
||||
fs3: - EFI Simple File System device 3
|
||||
Fv2: - EFI Firmware VOlume device 2
|
||||
1.2.3.4:name - TFTP IP and file name
|
||||
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __EFI_FILE_LIB_H__
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
#define MAX_PATHNAME 0x200
|
||||
|
||||
/// Type of the file that has been opened
|
||||
/// Type of the file that has been opened
|
||||
typedef enum {
|
||||
EfiOpenLoadFile,
|
||||
EfiOpenMemoryBuffer,
|
||||
@@ -64,11 +64,11 @@ typedef enum {
|
||||
|
||||
/// Public information about the open file
|
||||
typedef struct {
|
||||
UINTN Version; // Common information
|
||||
UINTN Version; // Common information
|
||||
EFI_OPEN_FILE_TYPE Type;
|
||||
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
|
||||
EFI_STATUS LastError;
|
||||
EFI_HANDLE EfiHandle;
|
||||
EFI_HANDLE EfiHandle;
|
||||
CHAR8 *DeviceName;
|
||||
CHAR8 *FileName;
|
||||
|
||||
@@ -76,18 +76,18 @@ typedef struct {
|
||||
UINT64 MaxPosition;
|
||||
|
||||
UINTN BaseOffset; // Base offset for hexdump command
|
||||
|
||||
|
||||
UINTN Size; // Valid for all types other than l#:
|
||||
UINT8 *Buffer; // Information valid for A#:
|
||||
|
||||
EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; // Information valid for Fv#:
|
||||
EFI_GUID FvNameGuid;
|
||||
EFI_SECTION_TYPE FvSectionType;
|
||||
EFI_FV_FILETYPE FvType;
|
||||
EFI_FV_FILE_ATTRIBUTES FvAttributes;
|
||||
EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv; // Information valid for Fv#:
|
||||
EFI_GUID FvNameGuid;
|
||||
EFI_SECTION_TYPE FvSectionType;
|
||||
EFI_FV_FILETYPE FvType;
|
||||
EFI_FV_FILE_ATTRIBUTES FvAttributes;
|
||||
|
||||
EFI_PHYSICAL_ADDRESS FvStart;
|
||||
UINTN FvSize;
|
||||
EFI_PHYSICAL_ADDRESS FvStart;
|
||||
UINTN FvSize;
|
||||
UINTN FvHeaderSize;
|
||||
|
||||
EFI_FILE *FsFileHandle; // Information valid for Fs#:
|
||||
@@ -99,11 +99,11 @@ typedef struct {
|
||||
UINTN DiskOffset; // Information valid for B#:
|
||||
|
||||
EFI_LOAD_FILE_PROTOCOL *LoadFile; // Information valid for l#:
|
||||
|
||||
|
||||
EFI_IP_ADDRESS ServerIp; // Information valid for t:
|
||||
BOOLEAN IsDirty;
|
||||
BOOLEAN IsBufferValid;
|
||||
|
||||
|
||||
} EFI_OPEN_FILE;
|
||||
|
||||
|
||||
@@ -117,17 +117,17 @@ typedef enum {
|
||||
|
||||
|
||||
/**
|
||||
Open a device named by PathName. The PathName includes a device name and
|
||||
Open a device named by PathName. The PathName includes a device name and
|
||||
path separated by a :. See file header for more details on the PathName
|
||||
syntax. There is no checking to prevent a file from being opened more than
|
||||
one type.
|
||||
one type.
|
||||
|
||||
SectionType is only used to open an FV. Each file in an FV contains multiple
|
||||
sections and only the SectionType section is opened.
|
||||
|
||||
For any file that is opened with EfiOpen() must be closed with EfiClose().
|
||||
|
||||
@param PathName Path to parse to open
|
||||
@param PathName Path to parse to open
|
||||
@param OpenMode Same as EFI_FILE.Open()
|
||||
@param SectionType Section in FV to open.
|
||||
|
||||
@@ -182,9 +182,9 @@ EfiClose (
|
||||
|
||||
|
||||
/**
|
||||
Return the size of the file represented by Stream. Also return the current
|
||||
Return the size of the file represented by Stream. Also return the current
|
||||
Seek position. Opening a file will enable a valid file size to be returned.
|
||||
LoadFile is an exception as a load file size is set to zero.
|
||||
LoadFile is an exception as a load file size is set to zero.
|
||||
|
||||
@param Stream Open File Handle
|
||||
|
||||
@@ -200,16 +200,16 @@ EfiTell (
|
||||
|
||||
/**
|
||||
Seek to the Offset location in the file. LoadFile and FV device types do
|
||||
not support EfiSeek(). It is not possible to grow the file size using
|
||||
not support EfiSeek(). It is not possible to grow the file size using
|
||||
EfiSeek().
|
||||
|
||||
|
||||
SeekType defines how use Offset to calculate the new file position:
|
||||
EfiSeekStart : Position = Offset
|
||||
EfiSeekCurrent: Position is Offset bytes from the current position
|
||||
EfiSeekEnd : Only supported if Offset is zero to seek to end of file.
|
||||
|
||||
@param Stream Open File Handle
|
||||
@param Offset Offset to seek too.
|
||||
@param Offset Offset to seek too.
|
||||
@param SeekType Type of seek to perform
|
||||
|
||||
|
||||
@@ -229,10 +229,10 @@ EfiSeek (
|
||||
|
||||
/**
|
||||
Read BufferSize bytes from the current location in the file. For load file
|
||||
and FV case you must read the entire file.
|
||||
and FV case you must read the entire file.
|
||||
|
||||
@param Stream Open File Handle
|
||||
@param Buffer Caller allocated buffer.
|
||||
@param Buffer Caller allocated buffer.
|
||||
@param BufferSize Size of buffer in bytes.
|
||||
|
||||
|
||||
@@ -253,13 +253,13 @@ EfiRead (
|
||||
|
||||
/**
|
||||
Read the entire file into a buffer. This routine allocates the buffer and
|
||||
returns it to the user full of the read data.
|
||||
returns it to the user full of the read data.
|
||||
|
||||
This is very useful for load file where it's hard to know how big the buffer
|
||||
must be.
|
||||
|
||||
@param Stream Open File Handle
|
||||
@param Buffer Pointer to buffer to return.
|
||||
@param Buffer Pointer to buffer to return.
|
||||
@param BufferSize Pointer to Size of buffer return..
|
||||
|
||||
|
||||
@@ -279,10 +279,10 @@ EfiReadAllocatePool (
|
||||
|
||||
|
||||
/**
|
||||
Write data back to the file.
|
||||
Write data back to the file.
|
||||
|
||||
@param Stream Open File Handle
|
||||
@param Buffer Pointer to buffer to return.
|
||||
@param Buffer Pointer to buffer to return.
|
||||
@param BufferSize Pointer to Size of buffer return..
|
||||
|
||||
|
||||
@@ -313,12 +313,12 @@ UINTN
|
||||
EfiGetDeviceCounts (
|
||||
IN EFI_OPEN_FILE_TYPE Type
|
||||
);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Set the Current Working Directory (CWD). If a call is made to EfiOpen () and
|
||||
the path does not contain a device name, The CWD is prepended to the path.
|
||||
|
||||
|
||||
@param Cwd Current Working Directory to set
|
||||
|
||||
|
||||
@@ -329,22 +329,22 @@ EfiGetDeviceCounts (
|
||||
EFI_STATUS
|
||||
EfiSetCwd (
|
||||
IN CHAR8 *Cwd
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
Set the Current Working Directory (CWD). If a call is made to EfiOpen () and
|
||||
the path does not contain a device name, The CWD is prepended to the path.
|
||||
|
||||
@param Cwd Current Working Directory
|
||||
|
||||
@param Cwd Current Working Directory
|
||||
|
||||
|
||||
@return NULL No CWD set
|
||||
@return 'other' malloc'ed buffer contains CWD.
|
||||
|
||||
|
||||
**/
|
||||
CHAR8 *
|
||||
EfiGetCwd (
|
||||
VOID
|
||||
);
|
||||
);
|
||||
|
||||
#endif
|
||||
|
@@ -36,7 +36,7 @@ LibResetSystem (
|
||||
IN UINTN DataSize,
|
||||
IN CHAR16 *ResetData OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@@ -44,7 +44,7 @@ LibResetSystem (
|
||||
|
||||
@param ImageHandle The firmware allocated handle for the EFI image.
|
||||
@param SystemTable A pointer to the EFI System Table.
|
||||
|
||||
|
||||
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
|
||||
|
||||
**/
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
/**
|
||||
Sets the baud rate, receive FIFO depth, transmit/receice time out, parity,
|
||||
Sets the baud rate, receive FIFO depth, transmit/receice time out, parity,
|
||||
data buts, and stop bits on a serial device. This call is optional as the serial
|
||||
port will be set up with defaults base on PCD values.
|
||||
|
||||
@@ -40,11 +40,11 @@
|
||||
RETURN_STATUS
|
||||
EFIAPI
|
||||
GdbSerialInit (
|
||||
IN UINT64 BaudRate,
|
||||
IN UINT8 Parity,
|
||||
IN UINT8 DataBits,
|
||||
IN UINT8 StopBits
|
||||
);
|
||||
IN UINT64 BaudRate,
|
||||
IN UINT8 Parity,
|
||||
IN UINT8 DataBits,
|
||||
IN UINT8 StopBits
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
@@ -53,7 +53,7 @@ GdbSerialInit (
|
||||
|
||||
@return TRUE - Character availible
|
||||
@return FALSE - Character not availible
|
||||
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
EFIAPI
|
||||
@@ -65,7 +65,7 @@ GdbIsCharAvailable (
|
||||
Get a character from GDB. This function must be able to run in interrupt context.
|
||||
|
||||
@return A character from GDB
|
||||
|
||||
|
||||
**/
|
||||
CHAR8
|
||||
EFIAPI
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
*
|
||||
* Copyright (c) 2011, ARM Limited. All rights reserved.
|
||||
*
|
||||
* This program and the accompanying materials
|
||||
* are licensed and made available under the terms and conditions of the BSD License
|
||||
* which accompanies this distribution. The full text of the license may be found at
|
||||
* http://opensource.org/licenses/bsd-license.php
|
||||
*
|
||||
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
* This program and the accompanying materials
|
||||
* are licensed and made available under the terms and conditions of the BSD License
|
||||
* which accompanies this distribution. The full text of the license may be found at
|
||||
* http://opensource.org/licenses/bsd-license.php
|
||||
*
|
||||
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
*
|
||||
**/
|
||||
|
||||
@@ -33,7 +33,7 @@ PrePeiGetHobList (
|
||||
Updates the pointer to the HOB list.
|
||||
|
||||
@param HobList Hob list pointer to store
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
|
@@ -83,7 +83,7 @@ FfsFindSectionData (
|
||||
|
||||
/**
|
||||
Find a file in the volume by name
|
||||
|
||||
|
||||
@param FileName A pointer to the name of the file to
|
||||
find within the firmware volume.
|
||||
|
||||
@@ -117,15 +117,15 @@ FfsFindByName (
|
||||
information.
|
||||
|
||||
@retval EFI_SUCCESS File information returned.
|
||||
|
||||
|
||||
@retval EFI_INVALID_PARAMETER If FileHandle does not
|
||||
represent a valid file.
|
||||
|
||||
|
||||
@retval EFI_INVALID_PARAMETER If FileInfo is NULL.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
EFIAPI
|
||||
FfsGetFileInfo (
|
||||
IN CONST EFI_PEI_FILE_HANDLE FileHandle,
|
||||
OUT EFI_FV_FILE_INFO *FileInfo
|
||||
@@ -141,10 +141,10 @@ FfsGetFileInfo (
|
||||
information.
|
||||
|
||||
@retval EFI_SUCCESS File information returned.
|
||||
|
||||
|
||||
@retval EFI_INVALID_PARAMETER If FileHandle does not
|
||||
represent a valid file.
|
||||
|
||||
|
||||
@retval EFI_INVALID_PARAMETER If FileInfo is NULL.
|
||||
|
||||
**/
|
||||
@@ -180,7 +180,7 @@ FfsProcessFvFile (
|
||||
@param FileType File handle of a Fv type file.
|
||||
@param Volumehandle On succes Volume Handle of the match
|
||||
@param FileHandle On success File Handle of the match
|
||||
|
||||
|
||||
@retval EFI_NOT_FOUND FV image can't be found.
|
||||
@retval EFI_SUCCESS Successfully found FileType
|
||||
|
||||
@@ -212,10 +212,10 @@ FfsProcessFvFile (
|
||||
|
||||
|
||||
/**
|
||||
This service enables PEIMs to ascertain the present value of the boot mode.
|
||||
This service enables PEIMs to ascertain the present value of the boot mode.
|
||||
|
||||
|
||||
@retval BootMode
|
||||
@retval BootMode
|
||||
|
||||
**/
|
||||
EFI_BOOT_MODE
|
||||
@@ -226,7 +226,7 @@ GetBootMode (
|
||||
|
||||
|
||||
/**
|
||||
This service enables PEIMs to update the boot mode variable.
|
||||
This service enables PEIMs to update the boot mode variable.
|
||||
|
||||
@param BootMode The value of the boot mode to set.
|
||||
|
||||
@@ -251,7 +251,7 @@ SetBootMode (
|
||||
VOID *
|
||||
EFIAPI
|
||||
GetHobList (
|
||||
VOID
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
@@ -259,7 +259,7 @@ GetHobList (
|
||||
Updates the pointer to the HOB list.
|
||||
|
||||
@param HobList Hob list pointer to store
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
@@ -313,7 +313,7 @@ CreateHob (
|
||||
/**
|
||||
Returns the next instance of a HOB type from the starting HOB.
|
||||
|
||||
This function searches the first instance of a HOB type from the starting HOB pointer.
|
||||
This function searches the first instance of a HOB type from the starting HOB pointer.
|
||||
If there does not exist such HOB type from the starting HOB pointer, it will return NULL.
|
||||
In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer
|
||||
unconditionally: it returns HobStart back if HobStart itself meets the requirement;
|
||||
@@ -336,8 +336,8 @@ GetNextHob (
|
||||
/**
|
||||
Returns the first instance of a HOB type among the whole HOB list.
|
||||
|
||||
This function searches the first instance of a HOB type among the whole HOB list.
|
||||
If there does not exist such HOB type in the HOB list, it will return NULL.
|
||||
This function searches the first instance of a HOB type among the whole HOB list.
|
||||
If there does not exist such HOB type in the HOB list, it will return NULL.
|
||||
|
||||
@param Type The HOB type to return.
|
||||
|
||||
@@ -351,10 +351,10 @@ GetFirstHob (
|
||||
);
|
||||
|
||||
/**
|
||||
This function searches the first instance of a HOB from the starting HOB pointer.
|
||||
Such HOB should satisfy two conditions:
|
||||
its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.
|
||||
If there does not exist such HOB from the starting HOB pointer, it will return NULL.
|
||||
This function searches the first instance of a HOB from the starting HOB pointer.
|
||||
Such HOB should satisfy two conditions:
|
||||
its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.
|
||||
If there does not exist such HOB from the starting HOB pointer, it will return NULL.
|
||||
Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()
|
||||
to extract the data section and its size info respectively.
|
||||
In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer
|
||||
@@ -377,7 +377,7 @@ GetNextGuidHob (
|
||||
);
|
||||
|
||||
/**
|
||||
This function searches the first instance of a HOB among the whole HOB list.
|
||||
This function searches the first instance of a HOB among the whole HOB list.
|
||||
Such HOB should satisfy two conditions:
|
||||
its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.
|
||||
If there does not exist such HOB from the starting HOB pointer, it will return NULL.
|
||||
@@ -447,8 +447,8 @@ BuildResourceDescriptorHob (
|
||||
/**
|
||||
Builds a GUID HOB with a certain data length.
|
||||
|
||||
This function builds a customized HOB tagged with a GUID for identification
|
||||
and returns the start address of GUID HOB data so that caller can fill the customized data.
|
||||
This function builds a customized HOB tagged with a GUID for identification
|
||||
and returns the start address of GUID HOB data so that caller can fill the customized data.
|
||||
The HOB Header and Name field is already stripped.
|
||||
It can only be invoked during PEI phase;
|
||||
for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
|
||||
@@ -517,7 +517,7 @@ BuildFvHob (
|
||||
);
|
||||
|
||||
/**
|
||||
Builds a Firmware Volume HOB and a resrouce descriptor hob
|
||||
Builds a Firmware Volume HOB and a resrouce descriptor hob
|
||||
|
||||
This function builds a Firmware Volume HOB.
|
||||
It can only be invoked during PEI phase;
|
||||
@@ -530,11 +530,11 @@ BuildFvHob (
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
BuildFvHobs (
|
||||
BuildFvHobs (
|
||||
IN EFI_PHYSICAL_ADDRESS PhysicalStart,
|
||||
IN UINT64 NumberOfBytes,
|
||||
IN EFI_RESOURCE_ATTRIBUTE_TYPE *ResourceAttribute OPTIONAL
|
||||
);
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
@@ -549,7 +549,7 @@ BuildFvHobs (
|
||||
@param Length The size of the Firmware Volume in bytes.
|
||||
@param FvName The name of the Firmware Volume.
|
||||
@param FileName The name of the file.
|
||||
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
@@ -702,12 +702,12 @@ BuildPeCoffLoaderHob (
|
||||
@return A pointer to the allocated buffer or NULL if allocation fails.
|
||||
|
||||
**/
|
||||
VOID *
|
||||
VOID *
|
||||
EFIAPI
|
||||
AllocatePages (
|
||||
IN UINTN Pages
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Allocates a buffer of type EfiBootServicesData.
|
||||
|
||||
@@ -725,8 +725,8 @@ EFIAPI
|
||||
AllocatePool (
|
||||
IN UINTN AllocationSize
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Allocates one or more 4KB pages of type EfiBootServicesData at a specified alignment.
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @file
|
||||
Implement EFI RealTimeClock runtime services via Lib.
|
||||
|
||||
|
||||
Currently this driver does not support runtime virtual calling.
|
||||
|
||||
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
|
||||
Copyright (c) 2012, ARM Ltd. All rights reserved.
|
||||
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
Reference in New Issue
Block a user