MdePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
Include file matches things in PI.
|
||||
|
||||
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
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.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@par Revision Reference:
|
||||
PI Version 1.6
|
||||
@@ -49,8 +49,8 @@ typedef enum {
|
||||
///
|
||||
EfiGcdMemoryTypeMemoryMappedIo,
|
||||
///
|
||||
/// A memory region that is visible to the boot processor.
|
||||
/// This memory supports byte-addressable non-volatility.
|
||||
/// A memory region that is visible to the boot processor.
|
||||
/// This memory supports byte-addressable non-volatility.
|
||||
///
|
||||
EfiGcdMemoryTypePersistent,
|
||||
//
|
||||
@@ -89,7 +89,7 @@ typedef enum {
|
||||
|
||||
///
|
||||
/// The type of allocation to perform.
|
||||
///
|
||||
///
|
||||
typedef enum {
|
||||
///
|
||||
/// The GCD memory space map is searched from the lowest address up to the highest address
|
||||
@@ -97,22 +97,22 @@ typedef enum {
|
||||
///
|
||||
EfiGcdAllocateAnySearchBottomUp,
|
||||
///
|
||||
/// The GCD memory space map is searched from the lowest address up
|
||||
/// The GCD memory space map is searched from the lowest address up
|
||||
/// to the specified MaxAddress looking for unallocated memory ranges.
|
||||
///
|
||||
EfiGcdAllocateMaxAddressSearchBottomUp,
|
||||
///
|
||||
/// The GCD memory space map is checked to see if the memory range starting
|
||||
/// The GCD memory space map is checked to see if the memory range starting
|
||||
/// at the specified Address is available.
|
||||
///
|
||||
EfiGcdAllocateAddress,
|
||||
///
|
||||
/// The GCD memory space map is searched from the highest address down to the lowest address
|
||||
/// The GCD memory space map is searched from the highest address down to the lowest address
|
||||
/// looking for unallocated memory ranges.
|
||||
///
|
||||
EfiGcdAllocateAnySearchTopDown,
|
||||
///
|
||||
/// The GCD memory space map is searched from the specified MaxAddress
|
||||
/// The GCD memory space map is searched from the specified MaxAddress
|
||||
/// down to the lowest address looking for unallocated memory ranges.
|
||||
///
|
||||
EfiGcdAllocateMaxAddressSearchTopDown,
|
||||
@@ -121,35 +121,35 @@ typedef enum {
|
||||
|
||||
///
|
||||
/// EFI_GCD_MEMORY_SPACE_DESCRIPTOR.
|
||||
///
|
||||
///
|
||||
typedef struct {
|
||||
///
|
||||
/// The physical address of the first byte in the memory region. Type
|
||||
/// EFI_PHYSICAL_ADDRESS is defined in the AllocatePages() function
|
||||
/// description in the UEFI 2.0 specification.
|
||||
///
|
||||
///
|
||||
EFI_PHYSICAL_ADDRESS BaseAddress;
|
||||
|
||||
///
|
||||
/// The number of bytes in the memory region.
|
||||
///
|
||||
///
|
||||
UINT64 Length;
|
||||
|
||||
///
|
||||
/// The bit mask of attributes that the memory region is capable of supporting. The bit
|
||||
/// mask of available attributes is defined in the GetMemoryMap() function description
|
||||
/// in the UEFI 2.0 specification.
|
||||
///
|
||||
///
|
||||
UINT64 Capabilities;
|
||||
///
|
||||
/// The bit mask of attributes that the memory region is currently using. The bit mask of
|
||||
/// available attributes is defined in GetMemoryMap().
|
||||
///
|
||||
///
|
||||
UINT64 Attributes;
|
||||
///
|
||||
/// Type of the memory region. Type EFI_GCD_MEMORY_TYPE is defined in the
|
||||
/// AddMemorySpace() function description.
|
||||
///
|
||||
///
|
||||
EFI_GCD_MEMORY_TYPE GcdMemoryType;
|
||||
|
||||
///
|
||||
@@ -157,7 +157,7 @@ typedef struct {
|
||||
/// PhysicalStart and NumberOfBytes. If this field is NULL, then the memory
|
||||
/// resource is not currently allocated. Type EFI_HANDLE is defined in
|
||||
/// InstallProtocolInterface() in the UEFI 2.0 specification.
|
||||
///
|
||||
///
|
||||
EFI_HANDLE ImageHandle;
|
||||
|
||||
///
|
||||
@@ -166,19 +166,19 @@ typedef struct {
|
||||
/// field is NULL, then the memory resource is not associated with a device that is
|
||||
/// described by a device handle. Type EFI_HANDLE is defined in
|
||||
/// InstallProtocolInterface() in the UEFI 2.0 specification.
|
||||
///
|
||||
///
|
||||
EFI_HANDLE DeviceHandle;
|
||||
} EFI_GCD_MEMORY_SPACE_DESCRIPTOR;
|
||||
|
||||
///
|
||||
/// EFI_GCD_IO_SPACE_DESCRIPTOR.
|
||||
///
|
||||
///
|
||||
typedef struct {
|
||||
///
|
||||
/// Physical address of the first byte in the I/O region. Type
|
||||
/// EFI_PHYSICAL_ADDRESS is defined in the AllocatePages() function
|
||||
/// description in the UEFI 2.0 specification.
|
||||
///
|
||||
///
|
||||
EFI_PHYSICAL_ADDRESS BaseAddress;
|
||||
|
||||
///
|
||||
@@ -186,18 +186,18 @@ typedef struct {
|
||||
///
|
||||
UINT64 Length;
|
||||
|
||||
///
|
||||
///
|
||||
/// Type of the I/O region. Type EFI_GCD_IO_TYPE is defined in the
|
||||
/// AddIoSpace() function description.
|
||||
///
|
||||
///
|
||||
EFI_GCD_IO_TYPE GcdIoType;
|
||||
|
||||
///
|
||||
///
|
||||
/// The image handle of the agent that allocated the I/O resource described by
|
||||
/// PhysicalStart and NumberOfBytes. If this field is NULL, then the I/O
|
||||
/// resource is not currently allocated. Type EFI_HANDLE is defined in
|
||||
/// InstallProtocolInterface() in the UEFI 2.0 specification.
|
||||
///
|
||||
///
|
||||
EFI_HANDLE ImageHandle;
|
||||
|
||||
///
|
||||
@@ -206,7 +206,7 @@ typedef struct {
|
||||
/// the I/O resource is not associated with a device that is described by a device handle.
|
||||
/// Type EFI_HANDLE is defined in InstallProtocolInterface() in the UEFI
|
||||
/// 2.0 specification.
|
||||
///
|
||||
///
|
||||
EFI_HANDLE DeviceHandle;
|
||||
} EFI_GCD_IO_SPACE_DESCRIPTOR;
|
||||
|
||||
@@ -220,7 +220,7 @@ typedef struct {
|
||||
of the memory resource being added.
|
||||
@param Length The size, in bytes, of the memory resource that
|
||||
is being added.
|
||||
@param Capabilities The bit mask of attributes that the memory
|
||||
@param Capabilities The bit mask of attributes that the memory
|
||||
resource region supports.
|
||||
|
||||
@retval EFI_SUCCESS The memory resource was added to the global
|
||||
@@ -228,13 +228,13 @@ typedef struct {
|
||||
@retval EFI_INVALID_PARAMETER GcdMemoryType is invalid.
|
||||
@retval EFI_INVALID_PARAMETER Length is zero.
|
||||
@retval EFI_OUT_OF_RESOURCES There are not enough system resources to add
|
||||
the memory resource to the global coherency
|
||||
the memory resource to the global coherency
|
||||
domain of the processor.
|
||||
@retval EFI_UNSUPPORTED The processor does not support one or more bytes
|
||||
of the memory resource range specified by
|
||||
of the memory resource range specified by
|
||||
BaseAddress and Length.
|
||||
@retval EFI_ACCESS_DENIED One or more bytes of the memory resource range
|
||||
specified by BaseAddress and Length conflicts
|
||||
specified by BaseAddress and Length conflicts
|
||||
with a memory resource range that was previously
|
||||
added to the global coherency domain of the processor.
|
||||
@retval EFI_ACCESS_DENIED One or more bytes of the memory resource range
|
||||
@@ -262,7 +262,7 @@ EFI_STATUS
|
||||
@param Length The size in bytes of the memory resource range that
|
||||
is being allocated.
|
||||
@param BaseAddress A pointer to a physical address to allocate.
|
||||
@param Imagehandle The image handle of the agent that is allocating
|
||||
@param Imagehandle The image handle of the agent that is allocating
|
||||
the memory resource.
|
||||
@param DeviceHandle The device handle for which the memory resource
|
||||
is being allocated.
|
||||
@@ -302,7 +302,7 @@ EFI_STATUS
|
||||
|
||||
@retval EFI_SUCCESS The memory resource was freed from the global coherency domain of
|
||||
the processor.
|
||||
@retval EFI_INVALID_PARAMETER Length is zero.
|
||||
@retval EFI_INVALID_PARAMETER Length is zero.
|
||||
@retval EFI_UNSUPPORTED The processor does not support one or more bytes of the memory
|
||||
resource range specified by BaseAddress and Length.
|
||||
@retval EFI_NOT_FOUND The memory resource range specified by BaseAddress and
|
||||
@@ -327,7 +327,7 @@ EFI_STATUS
|
||||
|
||||
@retval EFI_SUCCESS The memory resource was removed from the global coherency
|
||||
domain of the processor.
|
||||
@retval EFI_INVALID_PARAMETER Length is zero.
|
||||
@retval EFI_INVALID_PARAMETER Length is zero.
|
||||
@retval EFI_UNSUPPORTED The processor does not support one or more bytes of the memory
|
||||
resource range specified by BaseAddress and Length.
|
||||
@retval EFI_NOT_FOUND One or more bytes of the memory resource range specified by
|
||||
@@ -374,7 +374,7 @@ EFI_STATUS
|
||||
@param Attributes The bit mask of attributes to set for the memory region.
|
||||
|
||||
@retval EFI_SUCCESS The attributes were set for the memory region.
|
||||
@retval EFI_INVALID_PARAMETER Length is zero.
|
||||
@retval EFI_INVALID_PARAMETER Length is zero.
|
||||
@retval EFI_UNSUPPORTED The processor does not support one or more bytes of the memory
|
||||
resource range specified by BaseAddress and Length.
|
||||
@retval EFI_UNSUPPORTED The bit mask of attributes is not support for the memory resource
|
||||
@@ -610,8 +610,8 @@ EFI_STATUS
|
||||
/**
|
||||
Loads and executed DXE drivers from firmware volumes.
|
||||
|
||||
The Dispatch() function searches for DXE drivers in firmware volumes that have been
|
||||
installed since the last time the Dispatch() service was called. It then evaluates
|
||||
The Dispatch() function searches for DXE drivers in firmware volumes that have been
|
||||
installed since the last time the Dispatch() service was called. It then evaluates
|
||||
the dependency expressions of all the DXE drivers and loads and executes those DXE
|
||||
drivers whose dependency expression evaluate to TRUE. This service must interact with
|
||||
the Security Architectural Protocol to authenticate DXE drivers before they are executed.
|
||||
@@ -679,7 +679,7 @@ EFI_STATUS
|
||||
@retval EFI_VOLUME_CORRUPTED The firmware volume described by FirmwareVolumeHeader
|
||||
and Size is corrupted.
|
||||
@retval EFI_OUT_OF_RESOURCES There are not enough system resources available to produce the
|
||||
EFI_FIRMWARE_VOLUME_PROTOCOL and EFI_DEVICE_PATH_PROTOCOL
|
||||
EFI_FIRMWARE_VOLUME_PROTOCOL and EFI_DEVICE_PATH_PROTOCOL
|
||||
for the firmware volume described by FirmwareVolumeHeader and Size.
|
||||
|
||||
**/
|
||||
|
Reference in New Issue
Block a user