MdePkg: Apply uncrustify changes

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the MdePkg package

Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Michael Kubacki
2021-12-05 14:54:05 -08:00
committed by mergify[bot]
parent 1436aea4d5
commit 2f88bd3a12
975 changed files with 55681 additions and 57790 deletions

View File

@ -236,5 +236,3 @@ typedef INT32 INTN;
#endif #endif
#endif #endif

View File

@ -12,7 +12,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#ifndef __BASE_H__ #ifndef __BASE_H__
#define __BASE_H__ #define __BASE_H__
@ -592,7 +591,9 @@ struct _LIST_ENTRY {
typedef int *va_list[1]; typedef int *va_list[1];
#define VA_LIST va_list #define VA_LIST va_list
#else #else
typedef struct __va_list { void *__ap; } va_list; typedef struct __va_list {
void *__ap;
} va_list;
#define VA_LIST va_list #define VA_LIST va_list
#endif #endif
@ -911,7 +912,6 @@ STATIC_ASSERT (sizeof (__VERIFY_UINT32_ENUM_SIZE) == 4, "Size of enum does not m
**/ **/
#define ALIGN_VARIABLE(Value) ALIGN_VALUE ((Value), sizeof (UINTN)) #define ALIGN_VARIABLE(Value) ALIGN_VALUE ((Value), sizeof (UINTN))
/** /**
Return the maximum of two operands. Return the maximum of two operands.
@ -1204,7 +1204,6 @@ typedef UINTN RETURN_STATUS;
/// ///
#define RETURN_WARN_FILE_SYSTEM ENCODE_WARNING (6) #define RETURN_WARN_FILE_SYSTEM ENCODE_WARNING (6)
/** /**
Returns a 16-bit signature built from 2 ASCII characters. Returns a 16-bit signature built from 2 ASCII characters.
@ -1259,8 +1258,13 @@ typedef UINTN RETURN_STATUS;
(SIGNATURE_32 (A, B, C, D) | ((UINT64) (SIGNATURE_32 (E, F, G, H)) << 32)) (SIGNATURE_32 (A, B, C, D) | ((UINT64) (SIGNATURE_32 (E, F, G, H)) << 32))
#if defined (_MSC_EXTENSIONS) && !defined (__INTEL_COMPILER) && !defined (MDE_CPU_EBC) #if defined (_MSC_EXTENSIONS) && !defined (__INTEL_COMPILER) && !defined (MDE_CPU_EBC)
void * _ReturnAddress(void); void *
_ReturnAddress (
void
);
#pragma intrinsic(_ReturnAddress) #pragma intrinsic(_ReturnAddress)
/** /**
Get the return address of the calling function. Get the return address of the calling function.
@ -1275,6 +1279,7 @@ typedef UINTN RETURN_STATUS;
**/ **/
#define RETURN_ADDRESS(L) ((L == 0) ? _ReturnAddress() : (VOID *) 0) #define RETURN_ADDRESS(L) ((L == 0) ? _ReturnAddress() : (VOID *) 0)
#elif defined (__GNUC__) || defined (__clang__) #elif defined (__GNUC__) || defined (__clang__)
/** /**
Get the return address of the calling function. Get the return address of the calling function.
@ -1288,6 +1293,7 @@ typedef UINTN RETURN_STATUS;
**/ **/
#define RETURN_ADDRESS(L) __builtin_return_address (L) #define RETURN_ADDRESS(L) __builtin_return_address (L)
#else #else
/** /**
Get the return address of the calling function. Get the return address of the calling function.
@ -1313,4 +1319,3 @@ typedef UINTN RETURN_STATUS;
#define ARRAY_SIZE(Array) (sizeof (Array) / sizeof ((Array)[0])) #define ARRAY_SIZE(Array) (sizeof (Array) / sizeof ((Array)[0]))
#endif #endif

View File

@ -153,4 +153,3 @@ typedef unsigned long UINTN;
#endif #endif
#endif #endif

View File

@ -17,7 +17,6 @@
#define PEI_APRIORI_FILE_NAME_GUID \ #define PEI_APRIORI_FILE_NAME_GUID \
{ 0x1b45cc0a, 0x156a, 0x428a, { 0x62, 0XAF, 0x49, 0x86, 0x4d, 0xa0, 0xe6, 0xe6 } } { 0x1b45cc0a, 0x156a, 0x428a, { 0x62, 0XAF, 0x49, 0x86, 0x4d, 0xa0, 0xe6, 0xe6 } }
/// ///
/// This file must be of type EFI_FV_FILETYPE_FREEFORM and must /// This file must be of type EFI_FV_FILETYPE_FREEFORM and must
/// contain a single section of type EFI_SECTION_RAW. For details on /// contain a single section of type EFI_SECTION_RAW. For details on
@ -35,4 +34,3 @@ typedef struct {
extern EFI_GUID gPeiAprioriFileNameGuid; extern EFI_GUID gPeiAprioriFileNameGuid;
#endif #endif

View File

@ -9,7 +9,6 @@
**/ **/
#ifndef _CAPSULE_REPORT_GUID_H__ #ifndef _CAPSULE_REPORT_GUID_H__
#define _CAPSULE_REPORT_GUID_H__ #define _CAPSULE_REPORT_GUID_H__
@ -21,9 +20,7 @@
0x39b68c46, 0xf7fb, 0x441b, {0xb6, 0xec, 0x16, 0xb0, 0xf6, 0x98, 0x21, 0xf3 } \ 0x39b68c46, 0xf7fb, 0x441b, {0xb6, 0xec, 0x16, 0xb0, 0xf6, 0x98, 0x21, 0xf3 } \
} }
typedef struct { typedef struct {
/// ///
/// Size in bytes of the variable including any data beyond header as specified by CapsuleGuid /// Size in bytes of the variable including any data beyond header as specified by CapsuleGuid
/// ///
@ -51,9 +48,7 @@ typedef struct {
EFI_STATUS CapsuleStatus; EFI_STATUS CapsuleStatus;
} EFI_CAPSULE_RESULT_VARIABLE_HEADER; } EFI_CAPSULE_RESULT_VARIABLE_HEADER;
typedef struct { typedef struct {
/// ///
/// Version of this structure, currently 0x00000001 /// Version of this structure, currently 0x00000001
/// ///
@ -94,7 +89,6 @@ typedef struct {
} EFI_CAPSULE_RESULT_VARIABLE_FMP; } EFI_CAPSULE_RESULT_VARIABLE_FMP;
typedef struct { typedef struct {
/// ///
/// Version of this structure, currently 0x00000001 /// Version of this structure, currently 0x00000001
/// ///

View File

@ -327,7 +327,6 @@ typedef struct {
UINT64 InstructionIP; UINT64 InstructionIP;
} EFI_PROCESSOR_GENERIC_ERROR_DATA; } EFI_PROCESSOR_GENERIC_ERROR_DATA;
#if defined (MDE_CPU_IA32) || defined (MDE_CPU_X64) #if defined (MDE_CPU_IA32) || defined (MDE_CPU_X64)
/// ///
/// IA32 and x64 Specific definitions. /// IA32 and x64 Specific definitions.

View File

@ -9,25 +9,21 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#ifndef __EVENT_GROUP_GUID__ #ifndef __EVENT_GROUP_GUID__
#define __EVENT_GROUP_GUID__ #define __EVENT_GROUP_GUID__
#define EFI_EVENT_GROUP_EXIT_BOOT_SERVICES \ #define EFI_EVENT_GROUP_EXIT_BOOT_SERVICES \
{ 0x27abf055, 0xb1b8, 0x4c26, { 0x80, 0x48, 0x74, 0x8f, 0x37, 0xba, 0xa2, 0xdf } } { 0x27abf055, 0xb1b8, 0x4c26, { 0x80, 0x48, 0x74, 0x8f, 0x37, 0xba, 0xa2, 0xdf } }
extern EFI_GUID gEfiEventExitBootServicesGuid; extern EFI_GUID gEfiEventExitBootServicesGuid;
#define EFI_EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE \ #define EFI_EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE \
{ 0x13fa7698, 0xc831, 0x49c7, { 0x87, 0xea, 0x8f, 0x43, 0xfc, 0xc2, 0x51, 0x96 } } { 0x13fa7698, 0xc831, 0x49c7, { 0x87, 0xea, 0x8f, 0x43, 0xfc, 0xc2, 0x51, 0x96 } }
extern EFI_GUID gEfiEventVirtualAddressChangeGuid; extern EFI_GUID gEfiEventVirtualAddressChangeGuid;
#define EFI_EVENT_GROUP_MEMORY_MAP_CHANGE \ #define EFI_EVENT_GROUP_MEMORY_MAP_CHANGE \
{ 0x78bee926, 0x692f, 0x48fd, { 0x9e, 0xdb, 0x1, 0x42, 0x2e, 0xf0, 0xd7, 0xab } } { 0x78bee926, 0x692f, 0x48fd, { 0x9e, 0xdb, 0x1, 0x42, 0x2e, 0xf0, 0xd7, 0xab } }
extern EFI_GUID gEfiEventMemoryMapChangeGuid; extern EFI_GUID gEfiEventMemoryMapChangeGuid;
#define EFI_EVENT_GROUP_READY_TO_BOOT \ #define EFI_EVENT_GROUP_READY_TO_BOOT \
{ 0x7ce88fb3, 0x4bd7, 0x4679, { 0x87, 0xa8, 0xa8, 0xd8, 0xde, 0xe5, 0x0d, 0x2b } } { 0x7ce88fb3, 0x4bd7, 0x4679, { 0x87, 0xa8, 0xa8, 0xd8, 0xde, 0xe5, 0x0d, 0x2b } }

View File

@ -27,7 +27,6 @@
#define EFI_FFS_VOLUME_TOP_FILE_GUID \ #define EFI_FFS_VOLUME_TOP_FILE_GUID \
{ 0x1BA0062E, 0xC779, 0x4582, { 0x85, 0x66, 0x33, 0x6A, 0xE8, 0xF7, 0x8F, 0x9 } } { 0x1BA0062E, 0xC779, 0x4582, { 0x85, 0x66, 0x33, 0x6A, 0xE8, 0xF7, 0x8F, 0x9 } }
extern EFI_GUID gEfiFirmwareFileSystem2Guid; extern EFI_GUID gEfiFirmwareFileSystem2Guid;
extern EFI_GUID gEfiFirmwareVolumeTopFileGuid; extern EFI_GUID gEfiFirmwareVolumeTopFileGuid;

View File

@ -10,7 +10,6 @@
**/ **/
#ifndef _FMP_CAPSULE_GUID_H__ #ifndef _FMP_CAPSULE_GUID_H__
#define _FMP_CAPSULE_GUID_H__ #define _FMP_CAPSULE_GUID_H__
@ -90,7 +89,6 @@ typedef struct {
#pragma pack() #pragma pack()
#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER_INIT_VERSION 0x00000001 #define EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER_INIT_VERSION 0x00000001
#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION 0x00000003 #define EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION 0x00000003
#define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001 #define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001

View File

@ -316,7 +316,6 @@ typedef struct {
/// ///
} EFI_IMAGE_EXECUTION_INFO; } EFI_IMAGE_EXECUTION_INFO;
typedef struct { typedef struct {
/// ///
/// Number of EFI_IMAGE_EXECUTION_INFO structures. /// Number of EFI_IMAGE_EXECUTION_INFO structures.

View File

@ -31,7 +31,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
{0x67d6f4cd, 0xd6b8, 0x4573, \ {0x67d6f4cd, 0xd6b8, 0x4573, \
{0xbf, 0x4a, 0xde, 0x5e, 0x25, 0x2d, 0x61, 0xae }} {0xbf, 0x4a, 0xde, 0x5e, 0x25, 0x2d, 0x61, 0xae }}
#pragma pack(1) #pragma pack(1)
typedef struct { typedef struct {
@ -94,5 +93,4 @@ extern EFI_GUID gEfiJsonCapsuleDataTableGuid;
extern EFI_GUID gEfiJsonCapsuleResultTableGuid; extern EFI_GUID gEfiJsonCapsuleResultTableGuid;
extern EFI_GUID gEfiJsonCapsuleIdGuid; extern EFI_GUID gEfiJsonCapsuleIdGuid;
#endif #endif

View File

@ -22,9 +22,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
{ 0xeb66918a, 0x7eef, 0x402a, \ { 0xeb66918a, 0x7eef, 0x402a, \
{ 0x84, 0x2e, 0x93, 0x1d, 0x21, 0xc3, 0x8a, 0xe9 }} { 0x84, 0x2e, 0x93, 0x1d, 0x21, 0xc3, 0x8a, 0xe9 }}
#pragma pack(1) #pragma pack(1)
typedef struct { typedef struct {

View File

@ -42,4 +42,3 @@ typedef struct {
extern EFI_GUID gEfiSmmSmramMemoryGuid; extern EFI_GUID gEfiSmmSmramMemoryGuid;
#endif #endif

View File

@ -10,7 +10,6 @@
**/ **/
#ifndef _SYSTEM_RESOURCE_TABLE_H__ #ifndef _SYSTEM_RESOURCE_TABLE_H__
#define _SYSTEM_RESOURCE_TABLE_H__ #define _SYSTEM_RESOURCE_TABLE_H__

View File

@ -61,7 +61,6 @@ typedef struct {
UINT8 Signature[256]; UINT8 Signature[256];
} EFI_CERT_BLOCK_RSA_2048_SHA256; } EFI_CERT_BLOCK_RSA_2048_SHA256;
/// ///
/// Certificate which encapsulates a GUID-specific digital signature /// Certificate which encapsulates a GUID-specific digital signature
/// ///
@ -85,7 +84,6 @@ typedef struct {
UINT8 CertData[1]; UINT8 CertData[1];
} WIN_CERTIFICATE_UEFI_GUID; } WIN_CERTIFICATE_UEFI_GUID;
/// ///
/// Certificate which encapsulates the RSASSA_PKCS1-v1_5 digital signature. /// Certificate which encapsulates the RSASSA_PKCS1-v1_5 digital signature.
/// ///

View File

@ -48,7 +48,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#endif #endif
#if defined (_MSC_EXTENSIONS) #if defined (_MSC_EXTENSIONS)
// //
@ -109,7 +108,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#endif #endif
#if defined (_MSC_EXTENSIONS) #if defined (_MSC_EXTENSIONS)
// //
@ -319,4 +317,3 @@ typedef INT32 INTN;
#endif #endif
#endif #endif

View File

@ -2039,7 +2039,7 @@ typedef struct {
EFI_ACPI_6_2_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure; EFI_ACPI_6_2_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure;
UINT8 NumberOfHardwareBanks; UINT8 NumberOfHardwareBanks;
UINT8 Reserved1[3]; UINT8 Reserved1[3];
} EFI_ACPI_6_2_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK_STRUCTURE;; } EFI_ACPI_6_2_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK_STRUCTURE;
/// ///
/// HMAT - Heterogeneous Memory Attribute Table /// HMAT - Heterogeneous Memory Attribute Table

View File

@ -2003,7 +2003,7 @@ typedef struct {
EFI_ACPI_6_3_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure; EFI_ACPI_6_3_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure;
UINT8 NumberOfHardwareBanks; UINT8 NumberOfHardwareBanks;
UINT8 Reserved1[3]; UINT8 Reserved1[3];
} EFI_ACPI_6_3_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK_STRUCTURE;; } EFI_ACPI_6_3_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK_STRUCTURE;
/// ///
/// HMAT - Heterogeneous Memory Attribute Table /// HMAT - Heterogeneous Memory Attribute Table

View File

@ -2084,7 +2084,7 @@ typedef struct {
EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure; EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure;
UINT8 NumberOfHardwareBanks; UINT8 NumberOfHardwareBanks;
UINT8 Reserved1[3]; UINT8 Reserved1[3];
} EFI_ACPI_6_4_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK_STRUCTURE;; } EFI_ACPI_6_4_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK_STRUCTURE;
/// ///
/// HMAT - Heterogeneous Memory Attribute Table /// HMAT - Heterogeneous Memory Attribute Table

View File

@ -93,7 +93,6 @@ typedef struct {
/// ///
} EFI_ACPI_ASF_RCTL; } EFI_ACPI_ASF_RCTL;
/// ///
/// Remote Control Capabilities /// Remote Control Capabilities
/// ///

View File

@ -249,7 +249,6 @@ typedef struct {
UINT16 integrity_word; UINT16 integrity_word;
} ATAPI_IDENTIFY_DATA; } ATAPI_IDENTIFY_DATA;
/// ///
/// Standard Quiry Data format, defined in SFF-8070i(ATAPI Removable Rewritable Specification). /// Standard Quiry Data format, defined in SFF-8070i(ATAPI Removable Rewritable Specification).
/// ///
@ -466,7 +465,6 @@ typedef union {
#pragma pack() #pragma pack()
#define ATAPI_MAX_DMA_EXT_CMD_SECTORS 0x10000 #define ATAPI_MAX_DMA_EXT_CMD_SECTORS 0x10000
#define ATAPI_MAX_DMA_CMD_SECTORS 0x100 #define ATAPI_MAX_DMA_CMD_SECTORS 0x100

View File

@ -19,4 +19,3 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define CXL_DVSEC_VENDOR_ID 0x1E98 #define CXL_DVSEC_VENDOR_ID 0x1E98
#endif #endif

View File

@ -169,7 +169,6 @@ typedef union {
UINT32 Uint32; UINT32 Uint32;
} CXL_DVSEC_FLEX_BUS_DEVICE_RANGE1_BASE_LOW; } CXL_DVSEC_FLEX_BUS_DEVICE_RANGE1_BASE_LOW;
typedef union { typedef union {
struct { struct {
UINT32 MemorySizeHigh : 32; // bit 0..31 UINT32 MemorySizeHigh : 32; // bit 0..31

View File

@ -8,7 +8,6 @@
**/ **/
#ifndef _DEBUG_PORT_2_TABLE_H_ #ifndef _DEBUG_PORT_2_TABLE_H_
#define _DEBUG_PORT_2_TABLE_H_ #define _DEBUG_PORT_2_TABLE_H_

View File

@ -7,7 +7,6 @@
**/ **/
#ifndef _DEBUG_PORT_TABLE_H_ #ifndef _DEBUG_PORT_TABLE_H_
#define _DEBUG_PORT_TABLE_H_ #define _DEBUG_PORT_TABLE_H_

View File

@ -97,7 +97,6 @@
#define DHCP4_TAG_UUID 97 /// Client Machine Identifier, RFC 4578 #define DHCP4_TAG_UUID 97 /// Client Machine Identifier, RFC 4578
#define DHCP4_TAG_CLASSLESS_ROUTE 121 /// Classless Route #define DHCP4_TAG_CLASSLESS_ROUTE 121 /// Classless Route
/// ///
/// Dynamic Host Configuration Protocol for IPv6 (DHCPv6) /// Dynamic Host Configuration Protocol for IPv6 (DHCPv6)
/// ///

View File

@ -14,6 +14,7 @@
- HPET - High Precision Event Timer - HPET - High Precision Event Timer
- NUMA - Non-uniform Memory Access - NUMA - Non-uniform Memory Access
**/ **/
#ifndef _DMA_REMAPPING_REPORTING_TABLE_H_ #ifndef _DMA_REMAPPING_REPORTING_TABLE_H_
#define _DMA_REMAPPING_REPORTING_TABLE_H_ #define _DMA_REMAPPING_REPORTING_TABLE_H_
@ -97,6 +98,7 @@ typedef struct {
**/ **/
typedef struct { typedef struct {
EFI_ACPI_DMAR_STRUCTURE_HEADER Header; EFI_ACPI_DMAR_STRUCTURE_HEADER Header;
/** /**
- Bit[0]: INCLUDE_PCI_ALL - Bit[0]: INCLUDE_PCI_ALL
- If Set, this remapping hardware unit has under its scope all - If Set, this remapping hardware unit has under its scope all
@ -138,6 +140,7 @@ typedef struct {
/// Base address of 4KB-aligned reserved memory region /// Base address of 4KB-aligned reserved memory region
/// ///
UINT64 ReservedMemoryRegionBaseAddress; UINT64 ReservedMemoryRegionBaseAddress;
/** /**
Last address of the reserved memory region. Value in this field must be Last address of the reserved memory region. Value in this field must be
greater than the value in Reserved Memory Region Base Address field. greater than the value in Reserved Memory Region Base Address field.
@ -159,6 +162,7 @@ typedef struct {
**/ **/
typedef struct { typedef struct {
EFI_ACPI_DMAR_STRUCTURE_HEADER Header; EFI_ACPI_DMAR_STRUCTURE_HEADER Header;
/** /**
- Bit[0]: ALL_PORTS: - Bit[0]: ALL_PORTS:
- If Set, indicates all PCI Express Root Ports in the specified - If Set, indicates all PCI Express Root Ports in the specified
@ -206,6 +210,7 @@ typedef struct {
typedef struct { typedef struct {
EFI_ACPI_DMAR_STRUCTURE_HEADER Header; EFI_ACPI_DMAR_STRUCTURE_HEADER Header;
UINT8 Reserved[3]; UINT8 Reserved[3];
/** /**
Each ACPI device enumerated through an ANDD structure must have a unique Each ACPI device enumerated through an ANDD structure must have a unique
value for this field. To report an ACPI device with ACPI Device Number value for this field. To report an ACPI device with ACPI Device Number
@ -223,6 +228,7 @@ typedef struct {
**/ **/
typedef struct { typedef struct {
EFI_ACPI_DMAR_STRUCTURE_HEADER Header; EFI_ACPI_DMAR_STRUCTURE_HEADER Header;
/** /**
- Bit[0]: ATC_REQUIRED: - Bit[0]: ATC_REQUIRED:
- If Set, indicates that every SoC integrated device enumerated - If Set, indicates that every SoC integrated device enumerated
@ -258,6 +264,7 @@ typedef struct {
**/ **/
typedef struct { typedef struct {
EFI_ACPI_DESCRIPTION_HEADER Header; EFI_ACPI_DESCRIPTION_HEADER Header;
/** /**
This field indicates the maximum DMA physical addressability supported by This field indicates the maximum DMA physical addressability supported by
this platform. The system address map reported by the BIOS indicates what this platform. The system address map reported by the BIOS indicates what
@ -268,6 +275,7 @@ typedef struct {
the value of 100111b is reported in this field. the value of 100111b is reported in this field.
**/ **/
UINT8 HostAddressWidth; UINT8 HostAddressWidth;
/** /**
- Bit[0]: INTR_REMAP - If Clear, the platform does not support interrupt - Bit[0]: INTR_REMAP - If Clear, the platform does not support interrupt
remapping. If Set, the platform supports interrupt remapping. remapping. If Set, the platform supports interrupt remapping.

View File

@ -48,7 +48,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define ELTORITO_28_DISKETTE 0x03 #define ELTORITO_28_DISKETTE 0x03
#define ELTORITO_HARD_DISK 0x04 #define ELTORITO_HARD_DISK 0x04
#pragma pack(1) #pragma pack(1)
/// ///
@ -87,7 +86,6 @@ typedef union {
UINT8 Unused2[8]; ///< Must be 0 UINT8 Unused2[8]; ///< Must be 0
UINT32 VolSpaceSize[2]; ///< the number of Logical Blocks UINT32 VolSpaceSize[2]; ///< the number of Logical Blocks
} PrimaryVolume; } PrimaryVolume;
} CDROM_VOLUME_DESCRIPTOR; } CDROM_VOLUME_DESCRIPTOR;
/// ///
@ -133,7 +131,6 @@ typedef union {
UINT16 SectionEntries; ///< Number of section entries following this header UINT16 SectionEntries; ///< Number of section entries following this header
CHAR8 Id[28]; CHAR8 Id[28];
} Section; } Section;
} ELTORITO_CATALOG; } ELTORITO_CATALOG;
#pragma pack() #pragma pack()

View File

@ -31,7 +31,6 @@ typedef union {
UINT32 Uint32; UINT32 Uint32;
} EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_BLOCK_ID; } EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_BLOCK_ID;
/// ///
/// High Precision Event Timer Table header definition. /// High Precision Event Timer Table header definition.
/// ///

View File

@ -51,7 +51,6 @@
/// ///
#define HTTP_HEADER_ACCEPT "Accept" #define HTTP_HEADER_ACCEPT "Accept"
/// ///
/// Accept-Charset Request Header /// Accept-Charset Request Header
/// The Accept-Charset request-header field can be used to indicate what character sets /// The Accept-Charset request-header field can be used to indicate what character sets
@ -76,7 +75,6 @@
/// ///
#define HTTP_HEADER_ACCEPT_RANGES "Accept-Ranges" #define HTTP_HEADER_ACCEPT_RANGES "Accept-Ranges"
/// ///
/// Accept-Encoding Request Header /// Accept-Encoding Request Header
/// The Accept-Encoding request-header field is similar to Accept, /// The Accept-Encoding request-header field is similar to Accept,
@ -105,7 +103,6 @@
#define HTTP_CONTENT_ENCODING_DEFLATE "deflate" /// The "zlib" format defined in RFC 1950 in combination with the "deflate" #define HTTP_CONTENT_ENCODING_DEFLATE "deflate" /// The "zlib" format defined in RFC 1950 in combination with the "deflate"
/// compression mechanism described in RFC 1951. /// compression mechanism described in RFC 1951.
/// ///
/// Content-Type Header /// Content-Type Header
/// The Content-Type entity-header field indicates the media type of the entity-body sent to /// The Content-Type entity-header field indicates the media type of the entity-body sent to
@ -129,7 +126,6 @@
#define HTTP_CONTENT_TYPE_IMAGE_PNG "image/png" #define HTTP_CONTENT_TYPE_IMAGE_PNG "image/png"
#define HTTP_CONTENT_TYPE_IMAGE_SVG_XML "image/svg+xml" #define HTTP_CONTENT_TYPE_IMAGE_SVG_XML "image/svg+xml"
/// ///
/// Content-Length Header /// Content-Length Header
/// The Content-Length entity-header field indicates the size of the entity-body, /// The Content-Length entity-header field indicates the size of the entity-body,
@ -197,7 +193,6 @@
/// ///
#define HTTP_HEADER_IF_MATCH "If-Match" #define HTTP_HEADER_IF_MATCH "If-Match"
/// ///
/// The If-None-Match request-header field is used with a method to make it conditional. /// The If-None-Match request-header field is used with a method to make it conditional.
/// A client that has one or more entities previously obtained from the resource can verify /// A client that has one or more entities previously obtained from the resource can verify
@ -209,8 +204,6 @@
/// ///
#define HTTP_HEADER_IF_NONE_MATCH "If-None-Match" #define HTTP_HEADER_IF_NONE_MATCH "If-None-Match"
/// ///
/// Authorization Request Header /// Authorization Request Header
/// The Authorization field value consists of credentials /// The Authorization field value consists of credentials

View File

@ -158,4 +158,3 @@ typedef struct {
#pragma pack() #pragma pack()
#endif #endif

View File

@ -80,7 +80,6 @@ typedef struct {
UINT32 AuxFirmwareRevInfo; UINT32 AuxFirmwareRevInfo;
} IPMI_GET_DEVICE_ID_RESPONSE; } IPMI_GET_DEVICE_ID_RESPONSE;
// //
// Definitions for Cold Reset command // Definitions for Cold Reset command
// //

View File

@ -596,7 +596,6 @@ typedef union {
UINT8 Uint8; UINT8 Uint8;
} IPMI_TAP_DIAL_STRING_SERVICE_SELECTOR; } IPMI_TAP_DIAL_STRING_SERVICE_SELECTOR;
typedef struct { typedef struct {
UINT8 TapSelector; UINT8 TapSelector;
IPMI_TAP_DIAL_STRING_SERVICE_SELECTOR TapDialStringServiceSelector; IPMI_TAP_DIAL_STRING_SERVICE_SELECTOR TapDialStringServiceSelector;

View File

@ -12,6 +12,7 @@
- GAS - Generic Address Structure - GAS - Generic Address Structure
- LPI - Low Power Idle - LPI - Low Power Idle
**/ **/
#ifndef _LOW_POWER_IDLE_TABLE_H_ #ifndef _LOW_POWER_IDLE_TABLE_H_
#define _LOW_POWER_IDLE_TABLE_H_ #define _LOW_POWER_IDLE_TABLE_H_
@ -30,6 +31,7 @@
typedef union { typedef union {
struct { struct {
UINT32 Disabled : 1; ///< If set, LPI state is not used UINT32 Disabled : 1; ///< If set, LPI state is not used
/** /**
If set, Residency counter is not available for this LPI state and If set, Residency counter is not available for this LPI state and
Residency Counter Frequency is invalid Residency Counter Frequency is invalid
@ -52,6 +54,7 @@ typedef struct {
UINT16 UniqueId; UINT16 UniqueId;
UINT8 Reserved[2]; ///< Must be Zero UINT8 Reserved[2]; ///< Must be Zero
ACPI_LPI_STATE_FLAGS Flags; ///< LPI state flags ACPI_LPI_STATE_FLAGS Flags; ///< LPI state flags
/** /**
The LPI entry trigger, matching an existing _CST.Register object, represented as a The LPI entry trigger, matching an existing _CST.Register object, represented as a
Generic Address Structure. All processors must request this state or deeper to trigger. Generic Address Structure. All processors must request this state or deeper to trigger.
@ -59,11 +62,13 @@ typedef struct {
EFI_ACPI_6_1_GENERIC_ADDRESS_STRUCTURE EntryTrigger; EFI_ACPI_6_1_GENERIC_ADDRESS_STRUCTURE EntryTrigger;
UINT32 Residency; ///< Minimum residency or break-even in uSec UINT32 Residency; ///< Minimum residency or break-even in uSec
UINT32 Latency; ///< Worst case exit latency in uSec UINT32 Latency; ///< Worst case exit latency in uSec
/** /**
[optional] Residency counter, represented as a Generic Address Structure. [optional] Residency counter, represented as a Generic Address Structure.
If not present, Flags[1] bit should be set. If not present, Flags[1] bit should be set.
**/ **/
EFI_ACPI_6_1_GENERIC_ADDRESS_STRUCTURE ResidencyCounter; EFI_ACPI_6_1_GENERIC_ADDRESS_STRUCTURE ResidencyCounter;
/** /**
[optional] Residency counter frequency in cycles per second. Value 0 indicates that [optional] Residency counter frequency in cycles per second. Value 0 indicates that
counter runs at TSC frequency. Valid only if Residency Counter is present. counter runs at TSC frequency. Valid only if Residency Counter is present.

View File

@ -38,7 +38,6 @@
#define NVME_SQTDBL_OFFSET(QID, DSTRD) 0x1000 + ((2 * (QID)) * (4 << (DSTRD))) // Submission Queue y (NVM) Tail Doorbell #define NVME_SQTDBL_OFFSET(QID, DSTRD) 0x1000 + ((2 * (QID)) * (4 << (DSTRD))) // Submission Queue y (NVM) Tail Doorbell
#define NVME_CQHDBL_OFFSET(QID, DSTRD) 0x1000 + (((2 * (QID)) + 1) * (4 << (DSTRD))) // Completion Queue y (NVM) Head Doorbell #define NVME_CQHDBL_OFFSET(QID, DSTRD) 0x1000 + (((2 * (QID)) + 1) * (4 << (DSTRD))) // Completion Queue y (NVM) Head Doorbell
#pragma pack(1) #pragma pack(1)
// //
@ -695,7 +694,6 @@ typedef struct {
UINT64 Prp[2]; // First and second PRP entries UINT64 Prp[2]; // First and second PRP entries
NVME_PAYLOAD Payload; NVME_PAYLOAD Payload;
} NVME_SQ; } NVME_SQ;
// //

View File

@ -309,6 +309,7 @@ typedef struct {
**/ **/
#define IS_CLASS1(_p, c) ((_p)->Hdr.ClassCode[2] == (c)) #define IS_CLASS1(_p, c) ((_p)->Hdr.ClassCode[2] == (c))
/** /**
Macro that checks whether the Base Class code and Sub-Class code of device matched. Macro that checks whether the Base Class code and Sub-Class code of device matched.
@ -321,6 +322,7 @@ typedef struct {
**/ **/
#define IS_CLASS2(_p, c, s) (IS_CLASS1 (_p, c) && ((_p)->Hdr.ClassCode[1] == (s))) #define IS_CLASS2(_p, c, s) (IS_CLASS1 (_p, c) && ((_p)->Hdr.ClassCode[1] == (s)))
/** /**
Macro that checks whether the Base Class code, Sub-Class code and Interface code of device matched. Macro that checks whether the Base Class code, Sub-Class code and Interface code of device matched.
@ -345,6 +347,7 @@ typedef struct {
**/ **/
#define IS_PCI_DISPLAY(_p) IS_CLASS1 (_p, PCI_CLASS_DISPLAY) #define IS_PCI_DISPLAY(_p) IS_CLASS1 (_p, PCI_CLASS_DISPLAY)
/** /**
Macro that checks whether device is a VGA-compatible controller. Macro that checks whether device is a VGA-compatible controller.
@ -355,6 +358,7 @@ typedef struct {
**/ **/
#define IS_PCI_VGA(_p) IS_CLASS3 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_VGA, PCI_IF_VGA_VGA) #define IS_PCI_VGA(_p) IS_CLASS3 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_VGA, PCI_IF_VGA_VGA)
/** /**
Macro that checks whether device is an 8514-compatible controller. Macro that checks whether device is an 8514-compatible controller.
@ -365,6 +369,7 @@ typedef struct {
**/ **/
#define IS_PCI_8514(_p) IS_CLASS3 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_VGA, PCI_IF_VGA_8514) #define IS_PCI_8514(_p) IS_CLASS3 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_VGA, PCI_IF_VGA_8514)
/** /**
Macro that checks whether device is built before the Class Code field was defined. Macro that checks whether device is built before the Class Code field was defined.
@ -375,6 +380,7 @@ typedef struct {
**/ **/
#define IS_PCI_OLD(_p) IS_CLASS1 (_p, PCI_CLASS_OLD) #define IS_PCI_OLD(_p) IS_CLASS1 (_p, PCI_CLASS_OLD)
/** /**
Macro that checks whether device is a VGA-compatible device built before the Class Code field was defined. Macro that checks whether device is a VGA-compatible device built before the Class Code field was defined.
@ -385,6 +391,7 @@ typedef struct {
**/ **/
#define IS_PCI_OLD_VGA(_p) IS_CLASS2 (_p, PCI_CLASS_OLD, PCI_CLASS_OLD_VGA) #define IS_PCI_OLD_VGA(_p) IS_CLASS2 (_p, PCI_CLASS_OLD, PCI_CLASS_OLD_VGA)
/** /**
Macro that checks whether device is an IDE controller. Macro that checks whether device is an IDE controller.
@ -395,6 +402,7 @@ typedef struct {
**/ **/
#define IS_PCI_IDE(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_IDE) #define IS_PCI_IDE(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_IDE)
/** /**
Macro that checks whether device is a SCSI bus controller. Macro that checks whether device is a SCSI bus controller.
@ -405,6 +413,7 @@ typedef struct {
**/ **/
#define IS_PCI_SCSI(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_SCSI) #define IS_PCI_SCSI(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_SCSI)
/** /**
Macro that checks whether device is a RAID controller. Macro that checks whether device is a RAID controller.
@ -415,6 +424,7 @@ typedef struct {
**/ **/
#define IS_PCI_RAID(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_RAID) #define IS_PCI_RAID(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_RAID)
/** /**
Macro that checks whether device is an ISA bridge. Macro that checks whether device is an ISA bridge.
@ -425,6 +435,7 @@ typedef struct {
**/ **/
#define IS_PCI_LPC(_p) IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA) #define IS_PCI_LPC(_p) IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA)
/** /**
Macro that checks whether device is a PCI-to-PCI bridge. Macro that checks whether device is a PCI-to-PCI bridge.
@ -435,6 +446,7 @@ typedef struct {
**/ **/
#define IS_PCI_P2P(_p) IS_CLASS3 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_P2P, PCI_IF_BRIDGE_P2P) #define IS_PCI_P2P(_p) IS_CLASS3 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_P2P, PCI_IF_BRIDGE_P2P)
/** /**
Macro that checks whether device is a Subtractive Decode PCI-to-PCI bridge. Macro that checks whether device is a Subtractive Decode PCI-to-PCI bridge.
@ -445,6 +457,7 @@ typedef struct {
**/ **/
#define IS_PCI_P2P_SUB(_p) IS_CLASS3 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_P2P, PCI_IF_BRIDGE_P2P_SUBTRACTIVE) #define IS_PCI_P2P_SUB(_p) IS_CLASS3 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_P2P, PCI_IF_BRIDGE_P2P_SUBTRACTIVE)
/** /**
Macro that checks whether device is a 16550-compatible serial controller. Macro that checks whether device is a 16550-compatible serial controller.
@ -455,6 +468,7 @@ typedef struct {
**/ **/
#define IS_PCI_16550_SERIAL(_p) IS_CLASS3 (_p, PCI_CLASS_SCC, PCI_SUBCLASS_SERIAL, PCI_IF_16550) #define IS_PCI_16550_SERIAL(_p) IS_CLASS3 (_p, PCI_CLASS_SCC, PCI_SUBCLASS_SERIAL, PCI_IF_16550)
/** /**
Macro that checks whether device is a Universal Serial Bus controller. Macro that checks whether device is a Universal Serial Bus controller.
@ -477,6 +491,7 @@ typedef struct {
// Mask of Header type // Mask of Header type
// //
#define HEADER_LAYOUT_CODE 0x7f #define HEADER_LAYOUT_CODE 0x7f
/** /**
Macro that checks whether device is a PCI-PCI bridge. Macro that checks whether device is a PCI-PCI bridge.
@ -487,6 +502,7 @@ typedef struct {
**/ **/
#define IS_PCI_BRIDGE(_p) (((_p)->Hdr.HeaderType & HEADER_LAYOUT_CODE) == (HEADER_TYPE_PCI_TO_PCI_BRIDGE)) #define IS_PCI_BRIDGE(_p) (((_p)->Hdr.HeaderType & HEADER_LAYOUT_CODE) == (HEADER_TYPE_PCI_TO_PCI_BRIDGE))
/** /**
Macro that checks whether device is a CardBus bridge. Macro that checks whether device is a CardBus bridge.
@ -497,6 +513,7 @@ typedef struct {
**/ **/
#define IS_CARDBUS_BRIDGE(_p) (((_p)->Hdr.HeaderType & HEADER_LAYOUT_CODE) == (HEADER_TYPE_CARDBUS_BRIDGE)) #define IS_CARDBUS_BRIDGE(_p) (((_p)->Hdr.HeaderType & HEADER_LAYOUT_CODE) == (HEADER_TYPE_CARDBUS_BRIDGE))
/** /**
Macro that checks whether device is a multiple functions device. Macro that checks whether device is a multiple functions device.

View File

@ -9,7 +9,6 @@
#ifndef __PCI30_H__ #ifndef __PCI30_H__
#define __PCI30_H__ #define __PCI30_H__
#include <IndustryStandard/Pci23.h> #include <IndustryStandard/Pci23.h>
/// ///

View File

@ -10,7 +10,6 @@
#ifndef __PCI_CODE_ID_H__ #ifndef __PCI_CODE_ID_H__
#define __PCI_CODE_ID_H__ #define __PCI_CODE_ID_H__
/// ///
/// PCI_CLASS_MASS_STORAGE, Base Class 01h. /// PCI_CLASS_MASS_STORAGE, Base Class 01h.
/// ///

View File

@ -640,7 +640,6 @@ typedef union {
UINT32 Uint32; UINT32 Uint32;
} PCI_EXPRESS_EXTENDED_CAPABILITIES_RESIZABLE_BAR_CAPABILITY; } PCI_EXPRESS_EXTENDED_CAPABILITIES_RESIZABLE_BAR_CAPABILITY;
typedef union { typedef union {
struct { struct {
UINT32 BarIndex : 3; UINT32 BarIndex : 3;
@ -688,7 +687,6 @@ typedef struct {
#define PCI_EXPRESS_EXTENDED_CAPABILITY_DYNAMIC_POWER_ALLOCATION_GET_SUBSTATE_MAX(POWER) (UINT16)(((POWER->DpaCapability)&0x0000000F)) #define PCI_EXPRESS_EXTENDED_CAPABILITY_DYNAMIC_POWER_ALLOCATION_GET_SUBSTATE_MAX(POWER) (UINT16)(((POWER->DpaCapability)&0x0000000F))
#define PCI_EXPRESS_EXTENDED_CAPABILITY_LATENCE_TOLERANCE_REPORTING_ID 0x0018 #define PCI_EXPRESS_EXTENDED_CAPABILITY_LATENCE_TOLERANCE_REPORTING_ID 0x0018
#define PCI_EXPRESS_EXTENDED_CAPABILITY_LATENCE_TOLERANCE_REPORTING_VER1 0x1 #define PCI_EXPRESS_EXTENDED_CAPABILITY_LATENCE_TOLERANCE_REPORTING_VER1 0x1

View File

@ -26,7 +26,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 12 #define EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 12
#define EFI_IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER 13///< defined PI Specification, 1.0 #define EFI_IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER 13///< defined PI Specification, 1.0
// //
// PE32+ Machine type for EFI images // PE32+ Machine type for EFI images
// //
@ -232,7 +231,6 @@ typedef struct {
EFI_IMAGE_DATA_DIRECTORY DataDirectory[EFI_IMAGE_NUMBER_OF_DIRECTORY_ENTRIES]; EFI_IMAGE_DATA_DIRECTORY DataDirectory[EFI_IMAGE_NUMBER_OF_DIRECTORY_ENTRIES];
} EFI_IMAGE_OPTIONAL_HEADER64; } EFI_IMAGE_OPTIONAL_HEADER64;
/// ///
/// @attention /// @attention
/// EFI_IMAGE_NT_HEADERS32 is for use ONLY by tools. /// EFI_IMAGE_NT_HEADERS32 is for use ONLY by tools.
@ -549,7 +547,6 @@ typedef struct {
/// ///
#define EFI_IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR 60 #define EFI_IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR 60
// //
// DLL Support // DLL Support
// //
@ -605,7 +602,6 @@ typedef struct {
EFI_IMAGE_THUNK_DATA *FirstThunk; EFI_IMAGE_THUNK_DATA *FirstThunk;
} EFI_IMAGE_IMPORT_DESCRIPTOR; } EFI_IMAGE_IMPORT_DESCRIPTOR;
/// ///
/// Debug Directory Format. /// Debug Directory Format.
/// ///
@ -652,7 +648,6 @@ typedef struct {
// //
} EFI_IMAGE_DEBUG_CODEVIEW_RSDS_ENTRY; } EFI_IMAGE_DEBUG_CODEVIEW_RSDS_ENTRY;
/// ///
/// Debug Data Structure defined by Apple Mach-O to Coff utility. /// Debug Data Structure defined by Apple Mach-O to Coff utility.
/// ///
@ -733,7 +728,6 @@ typedef struct {
EFI_IMAGE_DATA_DIRECTORY DataDirectory[2]; ///< Only base relocation and debug directory. EFI_IMAGE_DATA_DIRECTORY DataDirectory[2]; ///< Only base relocation and debug directory.
} EFI_TE_IMAGE_HEADER; } EFI_TE_IMAGE_HEADER;
#define EFI_TE_IMAGE_HEADER_SIGNATURE SIGNATURE_16('V', 'Z') #define EFI_TE_IMAGE_HEADER_SIGNATURE SIGNATURE_16('V', 'Z')
// //
@ -742,7 +736,6 @@ typedef struct {
#define EFI_TE_IMAGE_DIRECTORY_ENTRY_BASERELOC 0 #define EFI_TE_IMAGE_DIRECTORY_ENTRY_BASERELOC 0
#define EFI_TE_IMAGE_DIRECTORY_ENTRY_DEBUG 1 #define EFI_TE_IMAGE_DIRECTORY_ENTRY_DEBUG 1
/// ///
/// Union of PE32, PE32+, and TE headers. /// Union of PE32, PE32+, and TE headers.
/// ///

View File

@ -377,7 +377,6 @@ typedef struct {
UINT8 Reserved[4]; UINT8 Reserved[4];
} EFI_SCSI_DISK_UNMAP_BLOCK_DESP; } EFI_SCSI_DISK_UNMAP_BLOCK_DESP;
#pragma pack() #pragma pack()
// //

View File

@ -11,7 +11,6 @@
#ifndef _SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_H_ #ifndef _SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_H_
#define _SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_H_ #define _SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_H_
#include <IndustryStandard/Acpi.h> #include <IndustryStandard/Acpi.h>
// //
@ -70,7 +69,6 @@ typedef struct {
/// ///
#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_16450 1 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_16450 1
// //
// The Serial Port Subtypes for ARM are documented in Table 3 of the DBG2 Specification // The Serial Port Subtypes for ARM are documented in Table 3 of the DBG2 Specification
// //

View File

@ -10,6 +10,7 @@
v2.0 Revision 1.1, Dated October 2013. v2.0 Revision 1.1, Dated October 2013.
https://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/ipmi-intelligent-platform-mgt-interface-spec-2nd-gen-v2-0-spec-update.pdf https://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/ipmi-intelligent-platform-mgt-interface-spec-2nd-gen-v2-0-spec-update.pdf
**/ **/
#ifndef _SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_ #ifndef _SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_
#define _SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_ #define _SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_
@ -37,7 +38,6 @@ typedef union {
UINT32 Uid; UINT32 Uid;
} EFI_ACPI_SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_DEVICE_ID; } EFI_ACPI_SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_DEVICE_ID;
/// ///
/// Definition for Service Processor Management Interface Description Table /// Definition for Service Processor Management Interface Description Table
/// ///

View File

@ -454,7 +454,6 @@ typedef struct {
UINT8 ContainedElementMaximum; UINT8 ContainedElementMaximum;
} CONTAINED_ELEMENT; } CONTAINED_ELEMENT;
/// ///
/// System Enclosure or Chassis (Type 3). /// System Enclosure or Chassis (Type 3).
/// ///
@ -1509,7 +1508,6 @@ typedef struct {
UINT8 StringCount; UINT8 StringCount;
} SMBIOS_TABLE_TYPE12; } SMBIOS_TABLE_TYPE12;
/// ///
/// BIOS Language Information (Type 13). /// BIOS Language Information (Type 13).
/// ///
@ -1786,7 +1784,6 @@ typedef enum {
// Optane DC Persistent Memory in SMBIOS spec 3.4.0 // Optane DC Persistent Memory in SMBIOS spec 3.4.0
// //
MemoryTechnologyIntelOptanePersistentMemory = 0x07 MemoryTechnologyIntelOptanePersistentMemory = 0x07
} MEMORY_DEVICE_TECHNOLOGY; } MEMORY_DEVICE_TECHNOLOGY;
/// ///
@ -2584,7 +2581,6 @@ typedef struct {
UINT8 InterfaceTypeSpecificData[4]; ///< This field has a minimum of four bytes UINT8 InterfaceTypeSpecificData[4]; ///< This field has a minimum of four bytes
} SMBIOS_TABLE_TYPE42; } SMBIOS_TABLE_TYPE42;
/// ///
/// Processor Specific Block - Processor Architecture Type /// Processor Specific Block - Processor Architecture Type
/// ///

View File

@ -10,7 +10,6 @@
#ifndef _SMBUS_H_ #ifndef _SMBUS_H_
#define _SMBUS_H_ #define _SMBUS_H_
/// ///
/// UDID of SMBUS device. /// UDID of SMBUS device.
/// ///
@ -72,4 +71,3 @@ typedef enum _EFI_SMBUS_OPERATION {
typedef UINTN EFI_SMBUS_DEVICE_COMMAND; typedef UINTN EFI_SMBUS_DEVICE_COMMAND;
#endif #endif

View File

@ -7,7 +7,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#ifndef __SPDM_H__ #ifndef __SPDM_H__
#define __SPDM_H__ #define __SPDM_H__
@ -317,4 +316,3 @@ typedef struct {
#pragma pack() #pragma pack()
#endif #endif

View File

@ -77,7 +77,6 @@ typedef union {
TCG_TINY_ATOM_BITS TinyAtomBits; TCG_TINY_ATOM_BITS TinyAtomBits;
} TCG_SIMPLE_TOKEN_TINY_ATOM; } TCG_SIMPLE_TOKEN_TINY_ATOM;
typedef struct { typedef struct {
UINT8 Length : 4; UINT8 Length : 4;
UINT8 SignOrCont : 1; UINT8 SignOrCont : 1;
@ -91,7 +90,6 @@ typedef union {
TCG_SHORT_ATOM_BITS ShortAtomBits; TCG_SHORT_ATOM_BITS ShortAtomBits;
} TCG_SIMPLE_TOKEN_SHORT_ATOM; } TCG_SIMPLE_TOKEN_SHORT_ATOM;
#define TCG_MEDIUM_ATOM_LENGTH_HIGH_SHIFT 0x8 #define TCG_MEDIUM_ATOM_LENGTH_HIGH_SHIFT 0x8
#define TCG_MEDIUM_ATOM_LENGTH_HIGH_MASK 0x7 #define TCG_MEDIUM_ATOM_LENGTH_HIGH_MASK 0x7
@ -110,7 +108,6 @@ typedef union {
TCG_MEDIUM_ATOM_BITS MediumAtomBits; TCG_MEDIUM_ATOM_BITS MediumAtomBits;
} TCG_SIMPLE_TOKEN_MEDIUM_ATOM; } TCG_SIMPLE_TOKEN_MEDIUM_ATOM;
#define TCG_LONG_ATOM_LENGTH_HIGH_SHIFT 16 #define TCG_LONG_ATOM_LENGTH_HIGH_SHIFT 16
#define TCG_LONG_ATOM_LENGTH_MID_SHIFT 8 #define TCG_LONG_ATOM_LENGTH_MID_SHIFT 8
@ -132,7 +129,6 @@ typedef union {
TCG_LONG_ATOM_BITS LongAtomBits; TCG_LONG_ATOM_BITS LongAtomBits;
} TCG_SIMPLE_TOKEN_LONG_ATOM; } TCG_SIMPLE_TOKEN_LONG_ATOM;
// TCG Core Spec v2 - Table 04 - Token Types // TCG Core Spec v2 - Table 04 - Token Types
typedef enum { typedef enum {
TcgTokenTypeReserved, TcgTokenTypeReserved,
@ -215,7 +211,6 @@ typedef enum {
#define TCG_METHOD_STATUS_CODE_AUTHORITY_LOCKED_OUT 0x12 #define TCG_METHOD_STATUS_CODE_AUTHORITY_LOCKED_OUT 0x12
#define TCG_METHOD_STATUS_CODE_FAIL 0x3F #define TCG_METHOD_STATUS_CODE_FAIL 0x3F
// Feature Codes // Feature Codes
#define TCG_FEATURE_INVALID (UINT16)0x0000 #define TCG_FEATURE_INVALID (UINT16)0x0000
#define TCG_FEATURE_TPER (UINT16)0x0001 #define TCG_FEATURE_TPER (UINT16)0x0001
@ -274,7 +269,6 @@ typedef struct {
UINT8 List[504]; // 8... UINT8 List[504]; // 8...
} TCG_SUPPORTED_SECURITY_PROTOCOLS; } TCG_SUPPORTED_SECURITY_PROTOCOLS;
// Level 0 Discovery // Level 0 Discovery
typedef struct { typedef struct {
UINT32 LengthBE; // number of valid bytes in discovery response, not including length field UINT32 LengthBE; // number of valid bytes in discovery response, not including length field
@ -291,7 +285,6 @@ typedef struct _TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER {
UINT8 Length; // length of feature dependent data in bytes UINT8 Length; // length of feature dependent data in bytes
} TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER; } TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER;
typedef struct { typedef struct {
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header; TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header;
UINT8 LockingSupported : 1; UINT8 LockingSupported : 1;
@ -314,7 +307,6 @@ typedef struct {
UINT8 Reserved615[10]; UINT8 Reserved615[10];
} TCG_BLOCK_SID_FEATURE_DESCRIPTOR; } TCG_BLOCK_SID_FEATURE_DESCRIPTOR;
typedef struct { typedef struct {
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header; TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header;
UINT8 SyncSupported : 1; UINT8 SyncSupported : 1;

View File

@ -64,7 +64,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define OPAL_LOCKING_SP_LOCKING_GLOBALRANGE TCG_TO_UID( 0x00, 0x00, 0x08, 0x02, 0x00, 0x00, 0x00, 0x01 ) #define OPAL_LOCKING_SP_LOCKING_GLOBALRANGE TCG_TO_UID( 0x00, 0x00, 0x08, 0x02, 0x00, 0x00, 0x00, 0x01 )
#define OPAL_LOCKING_SP_LOCKING_RANGE1 TCG_TO_UID( 0x00, 0x00, 0x08, 0x02, 0x00, 0x03, 0x00, 0x01 ) #define OPAL_LOCKING_SP_LOCKING_RANGE1 TCG_TO_UID( 0x00, 0x00, 0x08, 0x02, 0x00, 0x03, 0x00, 0x01 )
// LOCKING SP ACE Table Preconfiguration // LOCKING SP ACE Table Preconfiguration
#define OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_GET_ALL TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xD0, 0x00 ) #define OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_GET_ALL TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xD0, 0x00 )
#define OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_SET_RDLOCKED TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xE0, 0x00 ) #define OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_SET_RDLOCKED TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xE0, 0x00 )
@ -73,7 +72,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define OPAL_LOCKING_SP_ACE_K_AES_256_GLOBALRANGE_GENKEY TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xB8, 0x00 ) #define OPAL_LOCKING_SP_ACE_K_AES_256_GLOBALRANGE_GENKEY TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xB8, 0x00 )
#define OPAL_LOCKING_SP_ACE_K_AES_128_GLOBALRANGE_GENKEY TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xB0, 0x00 ) #define OPAL_LOCKING_SP_ACE_K_AES_128_GLOBALRANGE_GENKEY TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xB0, 0x00 )
// LOCKING SP LockingInfo Table Preconfiguration // LOCKING SP LockingInfo Table Preconfiguration
#define OPAL_LOCKING_SP_LOCKING_INFO TCG_TO_UID( 0x00, 0x00, 0x08, 0x01, 0x00, 0x00, 0x00, 0x01 ) #define OPAL_LOCKING_SP_LOCKING_INFO TCG_TO_UID( 0x00, 0x00, 0x08, 0x01, 0x00, 0x00, 0x00, 0x01 )

View File

@ -98,4 +98,3 @@ typedef struct {
#pragma pack() #pragma pack()
#endif #endif

View File

@ -6,7 +6,6 @@
SPDX-License-Identifier: BSD-2-Clause-Patent SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#ifndef _TPM12_H_ #ifndef _TPM12_H_
#define _TPM12_H_ #define _TPM12_H_
@ -431,7 +430,6 @@ typedef struct tdTPM_VERSION {
UINT8 revMinor; UINT8 revMinor;
} TPM_VERSION; } TPM_VERSION;
#define TPM_SHA1_160_HASH_LEN 0x14 #define TPM_SHA1_160_HASH_LEN 0x14
#define TPM_SHA1BASED_NONCE_LEN TPM_SHA1_160_HASH_LEN #define TPM_SHA1BASED_NONCE_LEN TPM_SHA1_160_HASH_LEN
@ -1086,7 +1084,8 @@ typedef struct tdTPM_STORE_PRIVKEY {
/// ///
/// Part 2, section 10.6: TPM_STORE_ASYMKEY /// Part 2, section 10.6: TPM_STORE_ASYMKEY
/// ///
typedef struct tdTPM_STORE_ASYMKEY { // pos len total typedef struct tdTPM_STORE_ASYMKEY {
// pos len total
TPM_PAYLOAD_TYPE payload; // 0 1 1 TPM_PAYLOAD_TYPE payload; // 0 1 1
TPM_SECRET usageAuth; // 1 20 21 TPM_SECRET usageAuth; // 1 20 21
TPM_SECRET migrationAuth; // 21 20 41 TPM_SECRET migrationAuth; // 21 20 41
@ -1098,7 +1097,8 @@ typedef struct tdTPM_STORE_ASYMKEY { // pos len total
/// Part 2, section 10.8: TPM_MIGRATE_ASYMKEY /// Part 2, section 10.8: TPM_MIGRATE_ASYMKEY
/// [size_is(partPrivKeyLen)] BYTE* partPrivKey; /// [size_is(partPrivKeyLen)] BYTE* partPrivKey;
/// ///
typedef struct tdTPM_MIGRATE_ASYMKEY { // pos len total typedef struct tdTPM_MIGRATE_ASYMKEY {
// pos len total
TPM_PAYLOAD_TYPE payload; // 0 1 1 TPM_PAYLOAD_TYPE payload; // 0 1 1
TPM_SECRET usageAuth; // 1 20 21 TPM_SECRET usageAuth; // 1 20 21
TPM_DIGEST pubDataDigest; // 21 20 41 TPM_DIGEST pubDataDigest; // 21 20 41
@ -1203,7 +1203,6 @@ typedef struct tdTPM_EK_BLOB_AUTH {
TPM_SECRET authValue; TPM_SECRET authValue;
} TPM_EK_BLOB_AUTH; } TPM_EK_BLOB_AUTH;
/// ///
/// Part 2, section 12.5 TPM_IDENTITY_CONTENTS /// Part 2, section 12.5 TPM_IDENTITY_CONTENTS
/// ///
@ -2130,7 +2129,6 @@ typedef struct tdTPM_DAA_SENSITIVE {
UINT8 *internalData; UINT8 *internalData;
} TPM_DAA_SENSITIVE; } TPM_DAA_SENSITIVE;
// //
// Part 2, section 23: Redirection // Part 2, section 23: Redirection
// //

View File

@ -10,7 +10,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#ifndef _TPM20_H_ #ifndef _TPM20_H_
#define _TPM20_H_ #define _TPM20_H_
@ -1784,7 +1783,6 @@ typedef struct {
TPMS_CREATION_DATA creationData; TPMS_CREATION_DATA creationData;
} TPM2B_CREATION_DATA; } TPM2B_CREATION_DATA;
// //
// Command Header // Command Header
// //

View File

@ -148,7 +148,6 @@ typedef union {
#define INTERFACE_CAPABILITY_INTERFACE_VERSION_TIS_13 0x2 #define INTERFACE_CAPABILITY_INTERFACE_VERSION_TIS_13 0x2
#define INTERFACE_CAPABILITY_INTERFACE_VERSION_PTP 0x3 #define INTERFACE_CAPABILITY_INTERFACE_VERSION_PTP 0x3
// //
// Define bits of ACCESS and STATUS registers // Define bits of ACCESS and STATUS registers
// //
@ -230,7 +229,6 @@ typedef union {
/// ///
#define PTP_FIFO_STS_EX_CANCEL BIT0 #define PTP_FIFO_STS_EX_CANCEL BIT0
// //
// PTP CRB definition // PTP CRB definition
// //

View File

@ -65,7 +65,6 @@
#define EFI_EXIT_BOOT_SERVICES_SUCCEEDED \ #define EFI_EXIT_BOOT_SERVICES_SUCCEEDED \
"Exit Boot Services Returned with Success" "Exit Boot Services Returned with Success"
#define EV_POSTCODE_INFO_POST_CODE "POST CODE" #define EV_POSTCODE_INFO_POST_CODE "POST CODE"
#define POST_CODE_STR_LEN (sizeof(EV_POSTCODE_INFO_POST_CODE) - 1) #define POST_CODE_STR_LEN (sizeof(EV_POSTCODE_INFO_POST_CODE) - 1)
@ -471,7 +470,6 @@ typedef struct tdTCG_Sp800_155_PlatformId_Event2 {
#define TCG_EfiStartupLocalityEvent_SIGNATURE "StartupLocality" #define TCG_EfiStartupLocalityEvent_SIGNATURE "StartupLocality"
// //
// The Locality Indicator which sent the TPM2_Startup command // The Locality Indicator which sent the TPM2_Startup command
// //
@ -489,12 +487,9 @@ typedef struct tdTCG_EfiStartupLocalityEvent{
UINT8 StartupLocality; UINT8 StartupLocality;
} TCG_EfiStartupLocalityEvent; } TCG_EfiStartupLocalityEvent;
// //
// Restore original structure alignment // Restore original structure alignment
// //
#pragma pack () #pragma pack ()
#endif #endif

View File

@ -78,7 +78,6 @@
#define USB_DEV_SYNCH_FRAME 0x0C #define USB_DEV_SYNCH_FRAME 0x0C
#define USB_DEV_SYNCH_FRAME_REQ_TYPE 0x82 #define USB_DEV_SYNCH_FRAME_REQ_TYPE 0x82
// //
// USB standard descriptors and reqeust // USB standard descriptors and reqeust
// //
@ -173,7 +172,6 @@ typedef struct {
#pragma pack() #pragma pack()
typedef enum { typedef enum {
// //
// USB request type // USB request type
@ -239,7 +237,6 @@ typedef enum {
EFI_USB_INTERRUPT_DELAY = 2000000 EFI_USB_INTERRUPT_DELAY = 2000000
} USB_TYPES_DEFINITION; } USB_TYPES_DEFINITION;
// //
// HID constants definition, see Device Class Definition // HID constants definition, see Device Class Definition
// for Human Interface Devices (HID) rev1.11 // for Human Interface Devices (HID) rev1.11

View File

@ -6,7 +6,6 @@
SPDX-License-Identifier: BSD-2-Clause-Patent SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#ifndef _WATCHDOG_ACTION_TABLE_H_ #ifndef _WATCHDOG_ACTION_TABLE_H_
#define _WATCHDOG_ACTION_TABLE_H_ #define _WATCHDOG_ACTION_TABLE_H_

View File

@ -7,7 +7,6 @@
**/ **/
#ifndef _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_ #ifndef _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_
#define _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_ #define _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_

View File

@ -7,7 +7,6 @@
**/ **/
#ifndef _WINDOWS_UX_CAPSULE_GUID_H_ #ifndef _WINDOWS_UX_CAPSULE_GUID_H_
#define _WINDOWS_UX_CAPSULE_GUID_H_ #define _WINDOWS_UX_CAPSULE_GUID_H_

File diff suppressed because it is too large Load Diff

View File

@ -41,5 +41,4 @@ CpuFlushTlb (
VOID VOID
); );
#endif #endif

View File

@ -129,7 +129,6 @@ DebugPrint (
... ...
); );
/** /**
Prints a debug message to the debug output device if the specified Prints a debug message to the debug output device if the specified
error level is enabled. error level is enabled.
@ -153,7 +152,6 @@ DebugVPrint (
IN VA_LIST VaListMarker IN VA_LIST VaListMarker
); );
/** /**
Prints a debug message to the debug output device if the specified Prints a debug message to the debug output device if the specified
error level is enabled. error level is enabled.
@ -179,7 +177,6 @@ DebugBPrint (
IN BASE_LIST BaseListMarker IN BASE_LIST BaseListMarker
); );
/** /**
Prints an assert message containing a filename, line number, and description. Prints an assert message containing a filename, line number, and description.
This may be followed by a breakpoint or a dead loop. This may be followed by a breakpoint or a dead loop.
@ -209,7 +206,6 @@ DebugAssert (
IN CONST CHAR8 *Description IN CONST CHAR8 *Description
); );
/** /**
Fills a target buffer with PcdDebugClearMemoryValue, and returns the target buffer. Fills a target buffer with PcdDebugClearMemoryValue, and returns the target buffer.
@ -232,7 +228,6 @@ DebugClearMemory (
IN UINTN Length IN UINTN Length
); );
/** /**
Returns TRUE if ASSERT() macros are enabled. Returns TRUE if ASSERT() macros are enabled.
@ -249,7 +244,6 @@ DebugAssertEnabled (
VOID VOID
); );
/** /**
Returns TRUE if DEBUG() macros are enabled. Returns TRUE if DEBUG() macros are enabled.
@ -266,7 +260,6 @@ DebugPrintEnabled (
VOID VOID
); );
/** /**
Returns TRUE if DEBUG_CODE() macros are enabled. Returns TRUE if DEBUG_CODE() macros are enabled.
@ -283,7 +276,6 @@ DebugCodeEnabled (
VOID VOID
); );
/** /**
Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled. Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled.
@ -325,6 +317,7 @@ DebugPrintLevelEnabled (
**/ **/
#if defined (EDKII_UNIT_TEST_FRAMEWORK_ENABLED) #if defined (EDKII_UNIT_TEST_FRAMEWORK_ENABLED)
/** /**
Unit test library replacement for DebugAssert() in DebugLib. Unit test library replacement for DebugAssert() in DebugLib.
@ -538,7 +531,6 @@ UnitTestDebugAssert (
**/ **/
#define DEBUG_CODE_BEGIN() do { if (DebugCodeEnabled ()) { UINT8 __DebugCodeLocal #define DEBUG_CODE_BEGIN() do { if (DebugCodeEnabled ()) { UINT8 __DebugCodeLocal
/** /**
The macro that marks the end of debug source code. The macro that marks the end of debug source code.
@ -550,7 +542,6 @@ UnitTestDebugAssert (
**/ **/
#define DEBUG_CODE_END() __DebugCodeLocal = 0; __DebugCodeLocal++; } } while (FALSE) #define DEBUG_CODE_END() __DebugCodeLocal = 0; __DebugCodeLocal++; } } while (FALSE)
/** /**
The macro that declares a section of debug source code. The macro that declares a section of debug source code.
@ -564,7 +555,6 @@ UnitTestDebugAssert (
Expression \ Expression \
DEBUG_CODE_END () DEBUG_CODE_END ()
/** /**
The macro that calls DebugClearMemory() to clear a buffer to a default value. The macro that calls DebugClearMemory() to clear a buffer to a default value.
@ -582,7 +572,6 @@ UnitTestDebugAssert (
} \ } \
} while (FALSE) } while (FALSE)
/** /**
Macro that calls DebugAssert() if the containing record does not have a Macro that calls DebugAssert() if the containing record does not have a
matching signature. If the signatures matches, then a pointer to the data matching signature. If the signatures matches, then a pointer to the data

View File

@ -5,6 +5,7 @@
SPDX-License-Identifier: BSD-2-Clause-Patent SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#ifndef _DEBUG_PRINT_ERROR_LEVEL_LIB_H_ #ifndef _DEBUG_PRINT_ERROR_LEVEL_LIB_H_
#define _DEBUG_PRINT_ERROR_LEVEL_LIB_H_ #define _DEBUG_PRINT_ERROR_LEVEL_LIB_H_
@ -34,4 +35,5 @@ EFIAPI
SetDebugPrintErrorLevel ( SetDebugPrintErrorLevel (
UINT32 ErrorLevel UINT32 ErrorLevel
); );
#endif #endif

View File

@ -14,7 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
/// ///
extern VOID *gHobList; extern VOID *gHobList;
/** /**
The entry point of PE/COFF Image for the DXE Core. The entry point of PE/COFF Image for the DXE Core.
@ -33,7 +32,6 @@ _ModuleEntryPoint (
IN VOID *HobStart IN VOID *HobStart
); );
/** /**
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint(). Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
@ -48,7 +46,6 @@ EfiMain (
IN VOID *HobStart IN VOID *HobStart
); );
/** /**
Autogenerated function that calls the library constructors for all of the module's dependent libraries. Autogenerated function that calls the library constructors for all of the module's dependent libraries.
@ -72,7 +69,6 @@ ProcessLibraryConstructorList (
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
); );
/** /**
Autogenerated function that calls a set of module entry points. Autogenerated function that calls a set of module entry points.

View File

@ -169,7 +169,6 @@ GetSectionFromFv (
OUT UINTN *Size OUT UINTN *Size
); );
/** /**
Searches the FFS file the currently executing module was loaded from and returns the first matching FFS section. Searches the FFS file the currently executing module was loaded from and returns the first matching FFS section.
@ -221,7 +220,6 @@ GetSectionFromFfs (
OUT UINTN *Size OUT UINTN *Size
); );
/** /**
Get the image file buffer data and buffer size by its device path. Get the image file buffer data and buffer size by its device path.

View File

@ -25,4 +25,3 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
extern EFI_DXE_SERVICES *gDS; extern EFI_DXE_SERVICES *gDS;
#endif #endif

View File

@ -14,6 +14,7 @@ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#ifndef __EXTRACT_GUIDED_SECTION_H__ #ifndef __EXTRACT_GUIDED_SECTION_H__
#define __EXTRACT_GUIDED_SECTION_H__ #define __EXTRACT_GUIDED_SECTION_H__

View File

@ -214,6 +214,7 @@ FileHandleGetPosition (
IN EFI_FILE_HANDLE FileHandle, IN EFI_FILE_HANDLE FileHandle,
OUT UINT64 *Position OUT UINT64 *Position
); );
/** /**
Flushes data on a file. Flushes data on a file.
@ -498,4 +499,3 @@ FileHandleEof(
); );
#endif //_FILE_HANDLE_LIBRARY_HEADER_ #endif //_FILE_HANDLE_LIBRARY_HEADER_

View File

@ -2804,6 +2804,4 @@ MmioWriteBuffer64 (
IN CONST UINT64 *Buffer IN CONST UINT64 *Buffer
); );
#endif #endif

View File

@ -82,7 +82,6 @@ INTN
IN CONST VOID *UserStruct IN CONST VOID *UserStruct
); );
// //
// Some functions below are read-only, while others are read-write. If any // Some functions below are read-only, while others are read-write. If any
// write operation is expected to run concurrently with any other operation on // write operation is expected to run concurrently with any other operation on
@ -107,7 +106,6 @@ OrderedCollectionUserStruct (
IN CONST ORDERED_COLLECTION_ENTRY *Entry IN CONST ORDERED_COLLECTION_ENTRY *Entry
); );
/** /**
Allocate and initialize the ORDERED_COLLECTION structure. Allocate and initialize the ORDERED_COLLECTION structure.
@ -132,7 +130,6 @@ OrderedCollectionInit (
IN ORDERED_COLLECTION_KEY_COMPARE KeyCompare IN ORDERED_COLLECTION_KEY_COMPARE KeyCompare
); );
/** /**
Check whether the collection is empty (has no entries). Check whether the collection is empty (has no entries).
@ -150,7 +147,6 @@ OrderedCollectionIsEmpty (
IN CONST ORDERED_COLLECTION *Collection IN CONST ORDERED_COLLECTION *Collection
); );
/** /**
Uninitialize and release an empty ORDERED_COLLECTION structure. Uninitialize and release an empty ORDERED_COLLECTION structure.
@ -167,7 +163,6 @@ OrderedCollectionUninit (
IN ORDERED_COLLECTION *Collection IN ORDERED_COLLECTION *Collection
); );
/** /**
Look up the collection entry that links the user structure that matches the Look up the collection entry that links the user structure that matches the
specified standalone key. specified standalone key.
@ -192,7 +187,6 @@ OrderedCollectionFind (
IN CONST VOID *StandaloneKey IN CONST VOID *StandaloneKey
); );
/** /**
Find the collection entry of the minimum user structure stored in the Find the collection entry of the minimum user structure stored in the
collection. collection.
@ -214,7 +208,6 @@ OrderedCollectionMin (
IN CONST ORDERED_COLLECTION *Collection IN CONST ORDERED_COLLECTION *Collection
); );
/** /**
Find the collection entry of the maximum user structure stored in the Find the collection entry of the maximum user structure stored in the
collection. collection.
@ -237,7 +230,6 @@ OrderedCollectionMax (
IN CONST ORDERED_COLLECTION *Collection IN CONST ORDERED_COLLECTION *Collection
); );
/** /**
Get the collection entry of the least user structure that is greater than the Get the collection entry of the least user structure that is greater than the
one linked by Entry. one linked by Entry.
@ -258,7 +250,6 @@ OrderedCollectionNext (
IN CONST ORDERED_COLLECTION_ENTRY *Entry IN CONST ORDERED_COLLECTION_ENTRY *Entry
); );
/** /**
Get the collection entry of the greatest user structure that is less than the Get the collection entry of the greatest user structure that is less than the
one linked by Entry. one linked by Entry.
@ -279,7 +270,6 @@ OrderedCollectionPrev (
IN CONST ORDERED_COLLECTION_ENTRY *Entry IN CONST ORDERED_COLLECTION_ENTRY *Entry
); );
/** /**
Insert (link) a user structure into the collection, allocating a new Insert (link) a user structure into the collection, allocating a new
collection entry. collection entry.
@ -349,7 +339,6 @@ OrderedCollectionInsert (
IN VOID *UserStruct IN VOID *UserStruct
); );
/** /**
Delete an entry from the collection, unlinking the associated user structure. Delete an entry from the collection, unlinking the associated user structure.

View File

@ -22,7 +22,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#ifndef __PCD_LIB_H__ #ifndef __PCD_LIB_H__
#define __PCD_LIB_H__ #define __PCD_LIB_H__
/** /**
Retrieves a token number based on a token name. Retrieves a token number based on a token name.
@ -36,7 +35,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdToken(TokenName) _PCD_TOKEN_##TokenName #define PcdToken(TokenName) _PCD_TOKEN_##TokenName
/** /**
Retrieves a Boolean PCD feature flag based on a token name. Retrieves a Boolean PCD feature flag based on a token name.
@ -51,7 +49,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define FeaturePcdGet(TokenName) _PCD_GET_MODE_BOOL_##TokenName #define FeaturePcdGet(TokenName) _PCD_GET_MODE_BOOL_##TokenName
/** /**
Retrieves an 8-bit fixed PCD token value based on a token name. Retrieves an 8-bit fixed PCD token value based on a token name.
@ -66,7 +63,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define FixedPcdGet8(TokenName) _PCD_VALUE_##TokenName #define FixedPcdGet8(TokenName) _PCD_VALUE_##TokenName
/** /**
Retrieves a 16-bit fixed PCD token value based on a token name. Retrieves a 16-bit fixed PCD token value based on a token name.
@ -81,7 +77,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define FixedPcdGet16(TokenName) _PCD_VALUE_##TokenName #define FixedPcdGet16(TokenName) _PCD_VALUE_##TokenName
/** /**
Retrieves a 32-bit fixed PCD token value based on a token name. Retrieves a 32-bit fixed PCD token value based on a token name.
@ -96,7 +91,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define FixedPcdGet32(TokenName) _PCD_VALUE_##TokenName #define FixedPcdGet32(TokenName) _PCD_VALUE_##TokenName
/** /**
Retrieves a 64-bit fixed PCD token value based on a token name. Retrieves a 64-bit fixed PCD token value based on a token name.
@ -111,7 +105,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define FixedPcdGet64(TokenName) _PCD_VALUE_##TokenName #define FixedPcdGet64(TokenName) _PCD_VALUE_##TokenName
/** /**
Retrieves a Boolean fixed PCD token value based on a token name. Retrieves a Boolean fixed PCD token value based on a token name.
@ -126,7 +119,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define FixedPcdGetBool(TokenName) _PCD_VALUE_##TokenName #define FixedPcdGetBool(TokenName) _PCD_VALUE_##TokenName
/** /**
Retrieves a pointer to a fixed PCD token buffer based on a token name. Retrieves a pointer to a fixed PCD token buffer based on a token name.
@ -141,7 +133,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define FixedPcdGetPtr(TokenName) ((VOID *)_PCD_VALUE_##TokenName) #define FixedPcdGetPtr(TokenName) ((VOID *)_PCD_VALUE_##TokenName)
/** /**
Retrieves an 8-bit binary patchable PCD token value based on a token name. Retrieves an 8-bit binary patchable PCD token value based on a token name.
@ -170,7 +161,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PatchPcdGet16(TokenName) _gPcd_BinaryPatch_##TokenName #define PatchPcdGet16(TokenName) _gPcd_BinaryPatch_##TokenName
/** /**
Retrieves a 32-bit binary patchable PCD token value based on a token name. Retrieves a 32-bit binary patchable PCD token value based on a token name.
@ -185,7 +175,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PatchPcdGet32(TokenName) _gPcd_BinaryPatch_##TokenName #define PatchPcdGet32(TokenName) _gPcd_BinaryPatch_##TokenName
/** /**
Retrieves a 64-bit binary patchable PCD token value based on a token name. Retrieves a 64-bit binary patchable PCD token value based on a token name.
@ -200,7 +189,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PatchPcdGet64(TokenName) _gPcd_BinaryPatch_##TokenName #define PatchPcdGet64(TokenName) _gPcd_BinaryPatch_##TokenName
/** /**
Retrieves a Boolean binary patchable PCD token value based on a token name. Retrieves a Boolean binary patchable PCD token value based on a token name.
@ -215,7 +203,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PatchPcdGetBool(TokenName) _gPcd_BinaryPatch_##TokenName #define PatchPcdGetBool(TokenName) _gPcd_BinaryPatch_##TokenName
/** /**
Retrieves a pointer to a binary patchable PCD token buffer based on a token name. Retrieves a pointer to a binary patchable PCD token buffer based on a token name.
@ -230,7 +217,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PatchPcdGetPtr(TokenName) ((VOID *)_gPcd_BinaryPatch_##TokenName) #define PatchPcdGetPtr(TokenName) ((VOID *)_gPcd_BinaryPatch_##TokenName)
/** /**
Sets an 8-bit binary patchable PCD token value based on a token name. Sets an 8-bit binary patchable PCD token value based on a token name.
@ -246,7 +232,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PatchPcdSet8(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value)) #define PatchPcdSet8(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value))
/** /**
Sets a 16-bit binary patchable PCD token value based on a token name. Sets a 16-bit binary patchable PCD token value based on a token name.
@ -262,7 +247,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PatchPcdSet16(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value)) #define PatchPcdSet16(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value))
/** /**
Sets a 32-bit binary patchable PCD token value based on a token name. Sets a 32-bit binary patchable PCD token value based on a token name.
@ -278,7 +262,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PatchPcdSet32(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value)) #define PatchPcdSet32(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value))
/** /**
Sets a 64-bit binary patchable PCD token value based on a token name. Sets a 64-bit binary patchable PCD token value based on a token name.
@ -294,7 +277,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PatchPcdSet64(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value)) #define PatchPcdSet64(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value))
/** /**
Sets a Boolean binary patchable PCD token value based on a token name. Sets a Boolean binary patchable PCD token value based on a token name.
@ -310,7 +292,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PatchPcdSetBool(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value)) #define PatchPcdSetBool(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value))
/** /**
Sets a pointer to a binary patchable PCD token buffer based on a token name. Sets a pointer to a binary patchable PCD token buffer based on a token name.
@ -340,6 +321,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
(Size), \ (Size), \
(Buffer) \ (Buffer) \
) )
/** /**
Retrieves an 8-bit PCD token value based on a token name. Retrieves an 8-bit PCD token value based on a token name.
@ -353,7 +335,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGet8(TokenName) _PCD_GET_MODE_8_##TokenName #define PcdGet8(TokenName) _PCD_GET_MODE_8_##TokenName
/** /**
Retrieves a 16-bit PCD token value based on a token name. Retrieves a 16-bit PCD token value based on a token name.
@ -367,7 +348,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGet16(TokenName) _PCD_GET_MODE_16_##TokenName #define PcdGet16(TokenName) _PCD_GET_MODE_16_##TokenName
/** /**
Retrieves a 32-bit PCD token value based on a token name. Retrieves a 32-bit PCD token value based on a token name.
@ -381,7 +361,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGet32(TokenName) _PCD_GET_MODE_32_##TokenName #define PcdGet32(TokenName) _PCD_GET_MODE_32_##TokenName
/** /**
Retrieves a 64-bit PCD token value based on a token name. Retrieves a 64-bit PCD token value based on a token name.
@ -395,7 +374,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGet64(TokenName) _PCD_GET_MODE_64_##TokenName #define PcdGet64(TokenName) _PCD_GET_MODE_64_##TokenName
/** /**
Retrieves a pointer to a PCD token buffer based on a token name. Retrieves a pointer to a PCD token buffer based on a token name.
@ -409,7 +387,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGetPtr(TokenName) _PCD_GET_MODE_PTR_##TokenName #define PcdGetPtr(TokenName) _PCD_GET_MODE_PTR_##TokenName
/** /**
Retrieves a Boolean PCD token value based on a token name. Retrieves a Boolean PCD token value based on a token name.
@ -423,7 +400,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGetBool(TokenName) _PCD_GET_MODE_BOOL_##TokenName #define PcdGetBool(TokenName) _PCD_GET_MODE_BOOL_##TokenName
/** /**
Retrieves the size of a fixed PCD token based on a token name. Retrieves the size of a fixed PCD token based on a token name.
@ -437,7 +413,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define FixedPcdGetSize(TokenName) _PCD_SIZE_##TokenName #define FixedPcdGetSize(TokenName) _PCD_SIZE_##TokenName
/** /**
Retrieves the size of a binary patchable PCD token based on a token name. Retrieves the size of a binary patchable PCD token based on a token name.
@ -451,7 +426,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PatchPcdGetSize(TokenName) _gPcd_BinaryPatch_Size_##TokenName #define PatchPcdGetSize(TokenName) _gPcd_BinaryPatch_Size_##TokenName
/** /**
Retrieves the size of the PCD token based on a token name. Retrieves the size of the PCD token based on a token name.
@ -465,7 +439,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGetSize(TokenName) _PCD_GET_MODE_SIZE_##TokenName #define PcdGetSize(TokenName) _PCD_GET_MODE_SIZE_##TokenName
/** /**
Retrieve the size of a given PCD token. Retrieve the size of a given PCD token.
@ -561,8 +534,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define PcdSetPtrS(TokenName, SizeOfBuffer, Buffer) \ #define PcdSetPtrS(TokenName, SizeOfBuffer, Buffer) \
_PCD_SET_MODE_PTR_S_##TokenName ((SizeOfBuffer), (Buffer)) _PCD_SET_MODE_PTR_S_##TokenName ((SizeOfBuffer), (Buffer))
/** /**
Sets a boolean PCD token value based on a token name. Sets a boolean PCD token value based on a token name.
@ -628,7 +599,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGetEx16(Guid, TokenName) LibPcdGetEx16 ((Guid), PcdTokenEx(Guid,TokenName)) #define PcdGetEx16(Guid, TokenName) LibPcdGetEx16 ((Guid), PcdTokenEx(Guid,TokenName))
/** /**
Retrieves a 32-bit PCD token value based on a GUID and a token name. Retrieves a 32-bit PCD token value based on a GUID and a token name.
@ -647,7 +617,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGetEx32(Guid, TokenName) LibPcdGetEx32 ((Guid), PcdTokenEx(Guid,TokenName)) #define PcdGetEx32(Guid, TokenName) LibPcdGetEx32 ((Guid), PcdTokenEx(Guid,TokenName))
/** /**
Retrieves a 64-bit PCD token value based on a GUID and a token name. Retrieves a 64-bit PCD token value based on a GUID and a token name.
@ -666,7 +635,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGetEx64(Guid, TokenName) LibPcdGetEx64 ((Guid), PcdTokenEx(Guid,TokenName)) #define PcdGetEx64(Guid, TokenName) LibPcdGetEx64 ((Guid), PcdTokenEx(Guid,TokenName))
/** /**
Retrieves a pointer to a PCD token buffer based on a GUID and a token name. Retrieves a pointer to a PCD token buffer based on a GUID and a token name.
@ -685,7 +653,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGetExPtr(Guid, TokenName) LibPcdGetExPtr ((Guid), PcdTokenEx(Guid,TokenName)) #define PcdGetExPtr(Guid, TokenName) LibPcdGetExPtr ((Guid), PcdTokenEx(Guid,TokenName))
/** /**
Retrieves a Boolean PCD token value based on a GUID and a token name. Retrieves a Boolean PCD token value based on a GUID and a token name.
@ -704,8 +671,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#define PcdGetExBool(Guid, TokenName) LibPcdGetExBool ((Guid), PcdTokenEx(Guid,TokenName)) #define PcdGetExBool(Guid, TokenName) LibPcdGetExBool ((Guid), PcdTokenEx(Guid,TokenName))
/** /**
Sets an 8-bit PCD token value based on a GUID and a token name. Sets an 8-bit PCD token value based on a GUID and a token name.
@ -810,7 +775,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define PcdSetExPtrS(Guid, TokenName, SizeOfBuffer, Buffer) \ #define PcdSetExPtrS(Guid, TokenName, SizeOfBuffer, Buffer) \
LibPcdSetExPtrS ((Guid), PcdTokenEx(Guid,TokenName), (SizeOfBuffer), (Buffer)) LibPcdSetExPtrS ((Guid), PcdTokenEx(Guid,TokenName), (SizeOfBuffer), (Buffer))
/** /**
Sets an boolean PCD token value based on a GUID and a token name. Sets an boolean PCD token value based on a GUID and a token name.
@ -848,7 +812,6 @@ LibPcdSetSku (
IN UINTN SkuId IN UINTN SkuId
); );
/** /**
This function provides a means by which to retrieve a value for a given PCD token. This function provides a means by which to retrieve a value for a given PCD token.
@ -865,7 +828,6 @@ LibPcdGet8 (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve a value for a given PCD token. This function provides a means by which to retrieve a value for a given PCD token.
@ -882,7 +844,6 @@ LibPcdGet16 (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve a value for a given PCD token. This function provides a means by which to retrieve a value for a given PCD token.
@ -899,7 +860,6 @@ LibPcdGet32 (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve a value for a given PCD token. This function provides a means by which to retrieve a value for a given PCD token.
@ -916,7 +876,6 @@ LibPcdGet64 (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve a value for a given PCD token. This function provides a means by which to retrieve a value for a given PCD token.
@ -933,7 +892,6 @@ LibPcdGetPtr (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve a value for a given PCD token. This function provides a means by which to retrieve a value for a given PCD token.
@ -950,7 +908,6 @@ LibPcdGetBool (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve the size of a given PCD token. This function provides a means by which to retrieve the size of a given PCD token.
@ -965,7 +922,6 @@ LibPcdGetSize (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve a value for a given PCD token. This function provides a means by which to retrieve a value for a given PCD token.
@ -987,7 +943,6 @@ LibPcdGetEx8 (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve a value for a given PCD token. This function provides a means by which to retrieve a value for a given PCD token.
@ -1009,7 +964,6 @@ LibPcdGetEx16 (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
Returns the 32-bit value for the token specified by TokenNumber and Guid. Returns the 32-bit value for the token specified by TokenNumber and Guid.
If Guid is NULL, then ASSERT(). If Guid is NULL, then ASSERT().
@ -1028,7 +982,6 @@ LibPcdGetEx32 (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve a value for a given PCD token. This function provides a means by which to retrieve a value for a given PCD token.
@ -1050,7 +1003,6 @@ LibPcdGetEx64 (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve a value for a given PCD token. This function provides a means by which to retrieve a value for a given PCD token.
@ -1072,7 +1024,6 @@ LibPcdGetExPtr (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve a value for a given PCD token. This function provides a means by which to retrieve a value for a given PCD token.
@ -1094,7 +1045,6 @@ LibPcdGetExBool (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to retrieve the size of a given PCD token. This function provides a means by which to retrieve the size of a given PCD token.
@ -1116,7 +1066,6 @@ LibPcdGetExSize (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
This function provides a means by which to set a value for a given PCD token. This function provides a means by which to set a value for a given PCD token.
@ -1418,7 +1367,6 @@ VOID
IN UINTN TokenDataSize IN UINTN TokenDataSize
); );
/** /**
Set up a notification function that is called when a specified token is set. Set up a notification function that is called when a specified token is set.
@ -1443,7 +1391,6 @@ LibPcdCallbackOnSet (
IN PCD_CALLBACK NotificationFunction IN PCD_CALLBACK NotificationFunction
); );
/** /**
Disable a notification function that was established with LibPcdCallbackonSet(). Disable a notification function that was established with LibPcdCallbackonSet().
@ -1465,7 +1412,6 @@ LibPcdCancelCallback (
IN PCD_CALLBACK NotificationFunction IN PCD_CALLBACK NotificationFunction
); );
/** /**
Retrieves the next token in a token space. Retrieves the next token in a token space.
@ -1492,8 +1438,6 @@ LibPcdGetNextToken (
IN UINTN TokenNumber IN UINTN TokenNumber
); );
/** /**
Used to retrieve the list of available PCD token space GUIDs. Used to retrieve the list of available PCD token space GUIDs.
@ -1513,7 +1457,6 @@ LibPcdGetNextTokenSpace (
IN CONST GUID *TokenSpaceGuid IN CONST GUID *TokenSpaceGuid
); );
/** /**
Sets a value of a patchable PCD entry that is type pointer. Sets a value of a patchable PCD entry that is type pointer.
@ -1677,7 +1620,6 @@ typedef struct {
CHAR8 *PcdName; CHAR8 *PcdName;
} PCD_INFO; } PCD_INFO;
/** /**
Retrieve additional information associated with a PCD token. Retrieve additional information associated with a PCD token.

View File

@ -13,7 +13,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#ifndef __PCI_CF8_LIB_H__ #ifndef __PCI_CF8_LIB_H__
#define __PCI_CF8_LIB_H__ #define __PCI_CF8_LIB_H__
/** /**
Macro that converts PCI Bus, PCI Device, PCI Function and PCI Register to an Macro that converts PCI Bus, PCI Device, PCI Function and PCI Register to an
address that can be passed to the PCI Library functions. address that can be passed to the PCI Library functions.

View File

@ -31,7 +31,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#ifndef __PCI_SEGMENT_LIB__ #ifndef __PCI_SEGMENT_LIB__
#define __PCI_SEGMENT_LIB__ #define __PCI_SEGMENT_LIB__
/** /**
Macro that converts PCI Segment, PCI Bus, PCI Device, PCI Function, Macro that converts PCI Segment, PCI Bus, PCI Device, PCI Function,
and PCI Register to an address that can be passed to the PCI Segment Library functions. and PCI Register to an address that can be passed to the PCI Segment Library functions.

View File

@ -76,7 +76,6 @@ PeCoffLoaderGetPdbPointer (
IN VOID *Pe32Data IN VOID *Pe32Data
); );
/** /**
Returns the size of the PE/COFF headers Returns the size of the PE/COFF headers

View File

@ -296,7 +296,6 @@ PeCoffLoaderLoadImage (
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
); );
/** /**
Reads contents of a PE/COFF image from a buffer in system memory. Reads contents of a PE/COFF image from a buffer in system memory.
@ -329,7 +328,6 @@ PeCoffLoaderImageReadFromMemory (
OUT VOID *Buffer OUT VOID *Buffer
); );
/** /**
Reapply fixups on a fixed up PE32/PE32+ image to allow virtual calling at EFI Reapply fixups on a fixed up PE32/PE32+ image to allow virtual calling at EFI
runtime. runtime.
@ -383,4 +381,5 @@ EFIAPI
PeCoffLoaderUnloadImage ( PeCoffLoaderUnloadImage (
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
); );
#endif #endif

View File

@ -96,7 +96,6 @@ ProcessLibraryConstructorList (
IN CONST EFI_PEI_SERVICES **PeiServices IN CONST EFI_PEI_SERVICES **PeiServices
); );
/** /**
Autogenerated function that calls a set of module entry points. Autogenerated function that calls a set of module entry points.

View File

@ -329,7 +329,6 @@ PeiServicesResetSystem (
VOID VOID
); );
/** /**
This service is a wrapper for the PEI Service FfsFindByName(), except the pointer to the PEI Services This service is a wrapper for the PEI Service FfsFindByName(), except the pointer to the PEI Services
Table has been removed. See the Platform Initialization Pre-EFI Initialization Core Interface Table has been removed. See the Platform Initialization Pre-EFI Initialization Core Interface
@ -359,7 +358,6 @@ PeiServicesFfsFindFileByName (
OUT EFI_PEI_FILE_HANDLE *FileHandle OUT EFI_PEI_FILE_HANDLE *FileHandle
); );
/** /**
This service is a wrapper for the PEI Service FfsGetFileInfo(), except the pointer to the PEI Services This service is a wrapper for the PEI Service FfsGetFileInfo(), except the pointer to the PEI Services
Table has been removed. See the Platform Initialization Pre-EFI Initialization Core Interface Table has been removed. See the Platform Initialization Pre-EFI Initialization Core Interface
@ -435,7 +433,6 @@ PeiServicesFfsGetVolumeInfo (
OUT EFI_FV_INFO *VolumeInfo OUT EFI_FV_INFO *VolumeInfo
); );
/** /**
This service is a wrapper for the PEI Service RegisterForShadow(), except the pointer to the PEI Services This service is a wrapper for the PEI Service RegisterForShadow(), except the pointer to the PEI Services
Table has been removed. See the Platform Initialization Pre-EFI Initialization Core Interface Table has been removed. See the Platform Initialization Pre-EFI Initialization Core Interface

View File

@ -65,4 +65,3 @@ MigratePeiServicesTablePointer (
); );
#endif #endif

View File

@ -14,7 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
/// ///
extern CONST UINT32 _gPeimRevision; extern CONST UINT32 _gPeimRevision;
/** /**
The entry point of PE/COFF Image for a PEIM. The entry point of PE/COFF Image for a PEIM.
@ -35,7 +34,6 @@ _ModuleEntryPoint (
IN CONST EFI_PEI_SERVICES **PeiServices IN CONST EFI_PEI_SERVICES **PeiServices
); );
/** /**
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint(). Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().

View File

@ -304,7 +304,6 @@ PerformanceMeasurementEnabled (
VOID VOID
); );
/** /**
Check whether the specified performance measurement can be logged. Check whether the specified performance measurement can be logged.
@ -762,5 +761,4 @@ LogPerformanceMeasurement (
Expression \ Expression \
PERF_CODE_END () PERF_CODE_END ()
#endif #endif

View File

@ -36,7 +36,6 @@ PostCode (
IN UINT32 Value IN UINT32 Value
); );
/** /**
Sends a 32-bit value to a POST and associated ASCII string. Sends a 32-bit value to a POST and associated ASCII string.
@ -68,7 +67,6 @@ PostCodeWithDescription (
IN CONST CHAR8 *Description OPTIONAL IN CONST CHAR8 *Description OPTIONAL
); );
/** /**
Returns TRUE if POST Codes are enabled. Returns TRUE if POST Codes are enabled.
@ -87,7 +85,6 @@ PostCodeEnabled (
VOID VOID
); );
/** /**
Returns TRUE if POST code descriptions are enabled. Returns TRUE if POST code descriptions are enabled.
@ -106,7 +103,6 @@ PostCodeDescriptionEnabled (
VOID VOID
); );
/** /**
Sends a 32-bit value to a POST card. Sends a 32-bit value to a POST card.

View File

@ -826,7 +826,6 @@ AsciiSPrintUnicodeFormat (
... ...
); );
/** /**
Converts a decimal value to a Null-terminated Ascii string. Converts a decimal value to a Null-terminated Ascii string.

View File

@ -56,6 +56,7 @@ FilterAfterIoRead (
IN UINTN Address, IN UINTN Address,
IN VOID *Buffer IN VOID *Buffer
); );
/** /**
Filter IO Write operation before wirte IO port. Filter IO Write operation before wirte IO port.
It is used to filter IO operation. It is used to filter IO operation.

View File

@ -49,7 +49,6 @@ CodeTypeToPostCode (
OUT UINT8 *PostCode OUT UINT8 *PostCode
); );
/** /**
Extracts ASSERT() information from a status code structure. Extracts ASSERT() information from a status code structure.
@ -94,7 +93,6 @@ ReportStatusCodeExtractAssertInfo (
OUT UINT32 *LineNumber OUT UINT32 *LineNumber
); );
/** /**
Extracts DEBUG() information from a status code structure. Extracts DEBUG() information from a status code structure.
@ -133,7 +131,6 @@ ReportStatusCodeExtractDebugInfo (
OUT CHAR8 **Format OUT CHAR8 **Format
); );
/** /**
Reports a status code. Reports a status code.
@ -162,7 +159,6 @@ ReportStatusCode (
IN EFI_STATUS_CODE_VALUE Value IN EFI_STATUS_CODE_VALUE Value
); );
/** /**
Reports a status code with a Device Path Protocol as the extended data. Reports a status code with a Device Path Protocol as the extended data.
@ -200,7 +196,6 @@ ReportStatusCodeWithDevicePath (
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
); );
/** /**
Reports a status code with an extended data buffer. Reports a status code with an extended data buffer.
@ -245,7 +240,6 @@ ReportStatusCodeWithExtendedData (
IN UINTN ExtendedDataSize IN UINTN ExtendedDataSize
); );
/** /**
Reports a status code with full parameters. Reports a status code with full parameters.
@ -300,7 +294,6 @@ ReportStatusCodeEx (
IN UINTN ExtendedDataSize IN UINTN ExtendedDataSize
); );
/** /**
Returns TRUE if status codes of type EFI_PROGRESS_CODE are enabled Returns TRUE if status codes of type EFI_PROGRESS_CODE are enabled
@ -319,7 +312,6 @@ ReportProgressCodeEnabled (
VOID VOID
); );
/** /**
Returns TRUE if status codes of type EFI_ERROR_CODE are enabled Returns TRUE if status codes of type EFI_ERROR_CODE are enabled
@ -338,7 +330,6 @@ ReportErrorCodeEnabled (
VOID VOID
); );
/** /**
Returns TRUE if status codes of type EFI_DEBUG_CODE are enabled Returns TRUE if status codes of type EFI_DEBUG_CODE are enabled
@ -357,7 +348,6 @@ ReportDebugCodeEnabled (
VOID VOID
); );
/** /**
Reports a status code with minimal parameters if the status code type is enabled. Reports a status code with minimal parameters if the status code type is enabled.
@ -382,7 +372,6 @@ ReportDebugCodeEnabled (
ReportStatusCode(Type,Value) : \ ReportStatusCode(Type,Value) : \
EFI_UNSUPPORTED EFI_UNSUPPORTED
/** /**
Reports a status code with a Device Path Protocol as the extended data if the Reports a status code with a Device Path Protocol as the extended data if the
status code type is enabled. status code type is enabled.
@ -413,7 +402,6 @@ ReportDebugCodeEnabled (
ReportStatusCodeWithDevicePath(Type,Value,DevicePathParameter) : \ ReportStatusCodeWithDevicePath(Type,Value,DevicePathParameter) : \
EFI_UNSUPPORTED EFI_UNSUPPORTED
/** /**
Reports a status code with an extended data buffer if the status code type Reports a status code with an extended data buffer if the status code type
is enabled. is enabled.

View File

@ -357,6 +357,7 @@ S3BootScriptSaveInformation (
IN UINT32 InformationLength, IN UINT32 InformationLength,
IN VOID *Information IN VOID *Information
); );
/** /**
Adds a record for I/O reads the I/O location and continues when the exit criteria Adds a record for I/O reads the I/O location and continues when the exit criteria
is satisfied, or after a defined duration. is satisfied, or after a defined duration.
@ -415,6 +416,7 @@ S3BootScriptSavePciPoll (
IN VOID *DataMask, IN VOID *DataMask,
IN UINT64 Delay IN UINT64 Delay
); );
/** /**
Adds a record for PCI configuration space reads and continues when the exit criteria Adds a record for PCI configuration space reads and continues when the exit criteria
is satisfied, or after a defined duration. is satisfied, or after a defined duration.
@ -451,6 +453,7 @@ S3BootScriptSavePci2Poll (
IN VOID *DataMask, IN VOID *DataMask,
IN UINT64 Delay IN UINT64 Delay
); );
/** /**
Save ASCII string information specified by Buffer to boot script with opcode Save ASCII string information specified by Buffer to boot script with opcode
EFI_BOOT_SCRIPT_INFORMATION_OPCODE. EFI_BOOT_SCRIPT_INFORMATION_OPCODE.
@ -511,6 +514,7 @@ EFIAPI
S3BootScriptExecute ( S3BootScriptExecute (
VOID VOID
); );
/** /**
Move the last boot script entry to the position Move the last boot script entry to the position
@ -538,6 +542,7 @@ S3BootScriptMoveLastOpcode (
IN BOOLEAN BeforeOrAfter, IN BOOLEAN BeforeOrAfter,
IN OUT VOID **Position OPTIONAL IN OUT VOID **Position OPTIONAL
); );
/** /**
Find a label within the boot script table and, if not present, optionally create it. Find a label within the boot script table and, if not present, optionally create it.
@ -570,6 +575,7 @@ S3BootScriptLabel (
IN OUT VOID **Position OPTIONAL, IN OUT VOID **Position OPTIONAL,
IN CONST CHAR8 *Label IN CONST CHAR8 *Label
); );
/** /**
Compare two positions in the boot script table and return their relative position. Compare two positions in the boot script table and return their relative position.
@param Position1 The positions in the boot script table to compare @param Position1 The positions in the boot script table to compare

View File

@ -11,7 +11,6 @@
#ifndef __S3_PCI_SEGMENT_LIB__ #ifndef __S3_PCI_SEGMENT_LIB__
#define __S3_PCI_SEGMENT_LIB__ #define __S3_PCI_SEGMENT_LIB__
/** /**
Macro that converts PCI Segment, PCI Bus, PCI Device, PCI Function, Macro that converts PCI Segment, PCI Bus, PCI Device, PCI Function,
and PCI Register to an address that can be passed to the S3 PCI Segment Library functions. and PCI Register to an address that can be passed to the S3 PCI Segment Library functions.

View File

@ -8,6 +8,7 @@
SPDX-License-Identifier: BSD-2-Clause-Patent SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#ifndef __INT_SAFE_LIB_H__ #ifndef __INT_SAFE_LIB_H__
#define __INT_SAFE_LIB_H__ #define __INT_SAFE_LIB_H__
@ -712,7 +713,6 @@ SafeInt32ToUint16 (
OUT UINT16 *Result OUT UINT16 *Result
); );
/** /**
INT32 -> UINT32 conversion INT32 -> UINT32 conversion

View File

@ -54,7 +54,6 @@ SerialPortWrite (
IN UINTN NumberOfBytes IN UINTN NumberOfBytes
); );
/** /**
Read data from serial device and save the datas in buffer. Read data from serial device and save the datas in buffer.

View File

@ -487,5 +487,4 @@ SmBusBlockProcessCall (
OUT RETURN_STATUS *Status OPTIONAL OUT RETURN_STATUS *Status OPTIONAL
); );
#endif #endif

View File

@ -33,4 +33,3 @@ SmmIsMmioValid (
); );
#endif #endif

View File

@ -11,7 +11,6 @@
#ifndef __SMM_LIB_H__ #ifndef __SMM_LIB_H__
#define __SMM_LIB_H__ #define __SMM_LIB_H__
/** /**
Triggers an SMI at boot time. Triggers an SMI at boot time.
@ -24,7 +23,6 @@ TriggerBootServiceSoftwareSmi (
VOID VOID
); );
/** /**
Triggers an SMI at run time. Triggers an SMI at run time.
@ -37,7 +35,6 @@ TriggerRuntimeSoftwareSmi (
VOID VOID
); );
/** /**
Test if a boot time software SMI happened. Test if a boot time software SMI happened.
@ -54,7 +51,6 @@ IsBootServiceSoftwareSmi (
VOID VOID
); );
/** /**
Test if a run time software SMI happened. Test if a run time software SMI happened.
@ -80,4 +76,5 @@ EFIAPI
ClearSmi ( ClearSmi (
VOID VOID
); );
#endif #endif

View File

@ -52,7 +52,6 @@ _ModuleEntryPoint (
IN EFI_MM_SYSTEM_TABLE *MmSystemTable IN EFI_MM_SYSTEM_TABLE *MmSystemTable
); );
/** /**
Auto generated function that calls the library constructors for all of the Auto generated function that calls the library constructors for all of the
module's dependent libraries. module's dependent libraries.
@ -78,7 +77,6 @@ ProcessLibraryConstructorList (
IN EFI_MM_SYSTEM_TABLE *MmSystemTable IN EFI_MM_SYSTEM_TABLE *MmSystemTable
); );
/** /**
Auto generated function that calls the library descructors for all of the Auto generated function that calls the library descructors for all of the
module's dependent libraries. module's dependent libraries.
@ -104,7 +102,6 @@ ProcessLibraryDestructorList (
IN EFI_MM_SYSTEM_TABLE *MmSystemTable IN EFI_MM_SYSTEM_TABLE *MmSystemTable
); );
/** /**
Auto generated function that calls a set of module entry points. Auto generated function that calls a set of module entry points.

View File

@ -14,7 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
/// ///
typedef volatile UINTN SPIN_LOCK; typedef volatile UINTN SPIN_LOCK;
/** /**
Retrieves the architecture-specific spin lock alignment requirements for Retrieves the architecture-specific spin lock alignment requirements for
optimal spin lock performance. optimal spin lock performance.
@ -37,7 +36,6 @@ GetSpinLockProperties (
VOID VOID
); );
/** /**
Initializes a spin lock to the released state and returns the spin lock. Initializes a spin lock to the released state and returns the spin lock.
@ -60,7 +58,6 @@ InitializeSpinLock (
OUT SPIN_LOCK *SpinLock OUT SPIN_LOCK *SpinLock
); );
/** /**
Waits until a spin lock can be placed in the acquired state. Waits until a spin lock can be placed in the acquired state.
@ -87,7 +84,6 @@ AcquireSpinLock (
IN OUT SPIN_LOCK *SpinLock IN OUT SPIN_LOCK *SpinLock
); );
/** /**
Attempts to place a spin lock in the acquired state. Attempts to place a spin lock in the acquired state.
@ -111,7 +107,6 @@ AcquireSpinLockOrFail (
IN OUT SPIN_LOCK *SpinLock IN OUT SPIN_LOCK *SpinLock
); );
/** /**
Releases a spin lock. Releases a spin lock.
@ -132,7 +127,6 @@ ReleaseSpinLock (
IN OUT SPIN_LOCK *SpinLock IN OUT SPIN_LOCK *SpinLock
); );
/** /**
Performs an atomic increment of a 32-bit unsigned integer. Performs an atomic increment of a 32-bit unsigned integer.
@ -153,7 +147,6 @@ InterlockedIncrement (
IN volatile UINT32 *Value IN volatile UINT32 *Value
); );
/** /**
Performs an atomic decrement of a 32-bit unsigned integer. Performs an atomic decrement of a 32-bit unsigned integer.
@ -174,7 +167,6 @@ InterlockedDecrement (
IN volatile UINT32 *Value IN volatile UINT32 *Value
); );
/** /**
Performs an atomic compare exchange operation on a 16-bit unsigned integer. Performs an atomic compare exchange operation on a 16-bit unsigned integer.
@ -228,7 +220,6 @@ InterlockedCompareExchange32 (
IN UINT32 ExchangeValue IN UINT32 ExchangeValue
); );
/** /**
Performs an atomic compare exchange operation on a 64-bit unsigned integer. Performs an atomic compare exchange operation on a 64-bit unsigned integer.
@ -255,7 +246,6 @@ InterlockedCompareExchange64 (
IN UINT64 ExchangeValue IN UINT64 ExchangeValue
); );
/** /**
Performs an atomic compare exchange operation on a pointer value. Performs an atomic compare exchange operation on a pointer value.
@ -283,5 +273,3 @@ InterlockedCompareExchangePointer (
); );
#endif #endif

View File

@ -14,7 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
/// ///
extern CONST UINT32 _gUefiDriverRevision; extern CONST UINT32 _gUefiDriverRevision;
/** /**
Entry point to UEFI Application. Entry point to UEFI Application.
@ -39,7 +38,6 @@ _ModuleEntryPoint (
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
); );
/** /**
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint(). Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
@ -58,7 +56,6 @@ EfiMain (
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
); );
/** /**
Invokes the library destructors for all dependent libraries and terminates Invokes the library destructors for all dependent libraries and terminates
the UEFI Application. the UEFI Application.
@ -75,7 +72,6 @@ Exit (
IN EFI_STATUS Status IN EFI_STATUS Status
); );
/** /**
Autogenerated function that calls the library constructors for all of the module's Autogenerated function that calls the library constructors for all of the module's
dependent libraries. dependent libraries.
@ -100,7 +96,6 @@ ProcessLibraryConstructorList (
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
); );
/** /**
Autogenerated function that calls the library descructors for all of the module's Autogenerated function that calls the library descructors for all of the module's
dependent libraries. dependent libraries.

View File

@ -25,7 +25,6 @@ extern CONST UINT32 _gUefiDriverRevision;
/// ///
extern CONST UINT8 _gDriverUnloadImageCount; extern CONST UINT8 _gDriverUnloadImageCount;
/** /**
The entry point of PE/COFF Image for a DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver. The entry point of PE/COFF Image for a DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
@ -56,7 +55,6 @@ _ModuleEntryPoint (
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
); );
/** /**
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint(). Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
@ -77,7 +75,6 @@ EfiMain (
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
); );
/** /**
Invokes the library destructors for all dependent libraries and terminates the Invokes the library destructors for all dependent libraries and terminates the
DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver. DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
@ -94,7 +91,6 @@ ExitDriver (
IN EFI_STATUS Status IN EFI_STATUS Status
); );
/** /**
Autogenerated function that calls the library constructors for all of the module's Autogenerated function that calls the library constructors for all of the module's
dependent libraries. dependent libraries.
@ -119,7 +115,6 @@ ProcessLibraryConstructorList (
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
); );
/** /**
Autogenerated function that calls the library descructors for all of the module's Autogenerated function that calls the library descructors for all of the module's
dependent libraries. dependent libraries.
@ -143,7 +138,6 @@ ProcessLibraryDestructorList (
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
); );
/** /**
Autogenerated function that calls a set of module entry points. Autogenerated function that calls a set of module entry points.
@ -165,7 +159,6 @@ ProcessModuleEntryPointList (
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
); );
/** /**
Autogenerated function that calls a set of module unload handlers. Autogenerated function that calls a set of module unload handlers.

View File

@ -313,7 +313,6 @@ EfiInitializeLock (
#define EFI_INITIALIZE_LOCK_VARIABLE(Priority) \ #define EFI_INITIALIZE_LOCK_VARIABLE(Priority) \
{Priority, TPL_APPLICATION, EfiLockReleased } {Priority, TPL_APPLICATION, EfiLockReleased }
/** /**
Macro that calls DebugAssert() if an EFI_LOCK structure is not in the locked state. Macro that calls DebugAssert() if an EFI_LOCK structure is not in the locked state.
@ -342,7 +341,6 @@ EfiInitializeLock (
#define ASSERT_LOCKED(LockParameter) #define ASSERT_LOCKED(LockParameter)
#endif #endif
/** /**
Acquires ownership of a lock. Acquires ownership of a lock.
@ -680,7 +678,6 @@ FreeUnicodeStringTable (
IN EFI_UNICODE_STRING_TABLE *UnicodeStringTable IN EFI_UNICODE_STRING_TABLE *UnicodeStringTable
); );
/** /**
Returns the status whether get the variable success. The function retrieves Returns the status whether get the variable success. The function retrieves
variable through the UEFI Runtime Service GetVariable(). The variable through the UEFI Runtime Service GetVariable(). The
@ -889,6 +886,7 @@ UnicodeStringDisplayLength (
// //
// Functions that abstract early Framework contamination of UEFI. // Functions that abstract early Framework contamination of UEFI.
// //
/** /**
Create, Signal, and Close the Ready to Boot event using EfiSignalEventReadyToBoot(). Create, Signal, and Close the Ready to Boot event using EfiSignalEventReadyToBoot().
@ -1174,7 +1172,6 @@ AsciiErrorPrint (
... ...
); );
/** /**
Prints a formatted Unicode string to a graphics console device specified by Prints a formatted Unicode string to a graphics console device specified by
ConsoleOutputHandle defined in the EFI_SYSTEM_TABLE at the given (X,Y) coordinates. ConsoleOutputHandle defined in the EFI_SYSTEM_TABLE at the given (X,Y) coordinates.
@ -1276,7 +1273,6 @@ AsciiPrintXY (
... ...
); );
/** /**
Installs and completes the initialization of a Driver Binding Protocol instance. Installs and completes the initialization of a Driver Binding Protocol instance.
@ -1308,7 +1304,6 @@ EfiLibInstallDriverBinding (
IN EFI_HANDLE DriverBindingHandle IN EFI_HANDLE DriverBindingHandle
); );
/** /**
Uninstalls a Driver Binding Protocol instance. Uninstalls a Driver Binding Protocol instance.
@ -1327,7 +1322,6 @@ EfiLibUninstallDriverBinding (
IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding
); );
/** /**
Installs and completes the initialization of a Driver Binding Protocol instance and Installs and completes the initialization of a Driver Binding Protocol instance and
optionally installs the Component Name, Driver Configuration and Driver Diagnostics Protocols. optionally installs the Component Name, Driver Configuration and Driver Diagnostics Protocols.
@ -1366,7 +1360,6 @@ EfiLibInstallAllDriverProtocols (
IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL
); );
/** /**
Uninstalls a Driver Binding Protocol instance and optionally uninstalls the Uninstalls a Driver Binding Protocol instance and optionally uninstalls the
Component Name, Driver Configuration and Driver Diagnostics Protocols. Component Name, Driver Configuration and Driver Diagnostics Protocols.
@ -1392,7 +1385,6 @@ EfiLibUninstallAllDriverProtocols (
IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL
); );
/** /**
Installs Driver Binding Protocol with optional Component Name and Component Name 2 Protocols. Installs Driver Binding Protocol with optional Component Name and Component Name 2 Protocols.
@ -1427,7 +1419,6 @@ EfiLibInstallDriverBindingComponentName2 (
IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL
); );
/** /**
Uninstalls Driver Binding Protocol with optional Component Name and Component Name 2 Protocols. Uninstalls Driver Binding Protocol with optional Component Name and Component Name 2 Protocols.
@ -1450,7 +1441,6 @@ EfiLibUninstallDriverBindingComponentName2 (
IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL
); );
/** /**
Installs Driver Binding Protocol with optional Component Name, Component Name 2, Driver Installs Driver Binding Protocol with optional Component Name, Component Name 2, Driver
Configuration, Driver Configuration 2, Driver Diagnostics, and Driver Diagnostics 2 Protocols. Configuration, Driver Configuration 2, Driver Diagnostics, and Driver Diagnostics 2 Protocols.
@ -1495,7 +1485,6 @@ EfiLibInstallAllDriverProtocols2 (
IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL *DriverDiagnostics2 OPTIONAL IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL *DriverDiagnostics2 OPTIONAL
); );
/** /**
Uninstalls Driver Binding Protocol with optional Component Name, Component Name 2, Driver Uninstalls Driver Binding Protocol with optional Component Name, Component Name 2, Driver
Configuration, Driver Configuration 2, Driver Diagnostics, and Driver Diagnostics 2 Protocols. Configuration, Driver Configuration 2, Driver Diagnostics, and Driver Diagnostics 2 Protocols.
@ -1528,7 +1517,6 @@ EfiLibUninstallAllDriverProtocols2 (
IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL *DriverDiagnostics2 OPTIONAL IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL *DriverDiagnostics2 OPTIONAL
); );
/** /**
Appends a formatted Unicode string to a Null-terminated Unicode string Appends a formatted Unicode string to a Null-terminated Unicode string

View File

@ -424,7 +424,6 @@ EfiSetVirtualAddressMap (
IN CONST EFI_MEMORY_DESCRIPTOR *VirtualMap IN CONST EFI_MEMORY_DESCRIPTOR *VirtualMap
); );
/** /**
Convert the standard Lib double linked list to a virtual mapping. Convert the standard Lib double linked list to a virtual mapping.
@ -489,7 +488,6 @@ EfiUpdateCapsule (
IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL
); );
/** /**
This service is a wrapper for the UEFI Runtime Service QueryCapsuleCapabilities(). This service is a wrapper for the UEFI Runtime Service QueryCapsuleCapabilities().
@ -533,7 +531,6 @@ EfiQueryCapsuleCapabilities (
OUT EFI_RESET_TYPE *ResetType OUT EFI_RESET_TYPE *ResetType
); );
/** /**
This service is a wrapper for the UEFI Runtime Service QueryVariableInfo(). This service is a wrapper for the UEFI Runtime Service QueryVariableInfo().
@ -578,4 +575,3 @@ EfiQueryVariableInfo (
); );
#endif #endif

View File

@ -93,7 +93,6 @@ ScsiTestUnitReadyCommand (
OUT UINT8 *TargetStatus OUT UINT8 *TargetStatus
); );
/** /**
Execute Inquiry SCSI command on a specific SCSI target. Execute Inquiry SCSI command on a specific SCSI target.
@ -195,7 +194,6 @@ ScsiInquiryCommand (
IN BOOLEAN EnableVitalProductData IN BOOLEAN EnableVitalProductData
); );
/** /**
Execute Inquiry SCSI command on a specific SCSI target. Execute Inquiry SCSI command on a specific SCSI target.
@ -300,7 +298,6 @@ ScsiInquiryCommandEx (
IN UINT8 PageCode IN UINT8 PageCode
); );
/** /**
Execute Mode Sense(10) SCSI command on a specific SCSI target. Execute Mode Sense(10) SCSI command on a specific SCSI target.
@ -406,8 +403,6 @@ ScsiModeSense10Command (
IN UINT8 PageCode IN UINT8 PageCode
); );
/** /**
Execute Request Sense SCSI command on a specific SCSI target. Execute Request Sense SCSI command on a specific SCSI target.
@ -451,7 +446,6 @@ ScsiRequestSenseCommand (
OUT UINT8 *TargetStatus OUT UINT8 *TargetStatus
); );
/** /**
Execute Read Capacity SCSI command on a specific SCSI target. Execute Read Capacity SCSI command on a specific SCSI target.
@ -510,7 +504,6 @@ ScsiReadCapacityCommand (
IN BOOLEAN Pmi IN BOOLEAN Pmi
); );
/** /**
Execute Read Capacity SCSI 16 command on a specific SCSI target. Execute Read Capacity SCSI 16 command on a specific SCSI target.
@ -569,7 +562,6 @@ ScsiReadCapacity16Command (
IN BOOLEAN Pmi IN BOOLEAN Pmi
); );
/** /**
Execute Read(10) SCSI command on a specific SCSI target. Execute Read(10) SCSI command on a specific SCSI target.
@ -630,7 +622,6 @@ ScsiRead10Command (
IN UINT32 SectorSize IN UINT32 SectorSize
); );
/** /**
Execute Write(10) SCSI command on a specific SCSI target. Execute Write(10) SCSI command on a specific SCSI target.
@ -751,7 +742,6 @@ ScsiRead16Command (
IN UINT32 SectorSize IN UINT32 SectorSize
); );
/** /**
Execute Write(16) SCSI command on a specific SCSI target. Execute Write(16) SCSI command on a specific SCSI target.
@ -812,7 +802,6 @@ ScsiWrite16Command (
IN UINT32 SectorSize IN UINT32 SectorSize
); );
/** /**
Execute Security Protocol In SCSI command on a specific SCSI target. Execute Security Protocol In SCSI command on a specific SCSI target.
@ -878,7 +867,6 @@ ScsiSecurityProtocolInCommand (
OUT UINTN *TransferLength OUT UINTN *TransferLength
); );
/** /**
Execute Security Protocol Out SCSI command on a specific SCSI target. Execute Security Protocol Out SCSI command on a specific SCSI target.
@ -940,7 +928,6 @@ ScsiSecurityProtocolOutCommand (
IN OUT VOID *DataBuffer OPTIONAL IN OUT VOID *DataBuffer OPTIONAL
); );
/** /**
Execute blocking/non-blocking Read(10) SCSI command on a specific SCSI Execute blocking/non-blocking Read(10) SCSI command on a specific SCSI
target. target.
@ -1030,7 +1017,6 @@ ScsiRead10CommandEx (
IN EFI_EVENT Event OPTIONAL IN EFI_EVENT Event OPTIONAL
); );
/** /**
Execute blocking/non-blocking Write(10) SCSI command on a specific SCSI Execute blocking/non-blocking Write(10) SCSI command on a specific SCSI
target. target.
@ -1120,7 +1106,6 @@ ScsiWrite10CommandEx (
IN EFI_EVENT Event OPTIONAL IN EFI_EVENT Event OPTIONAL
); );
/** /**
Execute blocking/non-blocking Read(16) SCSI command on a specific SCSI Execute blocking/non-blocking Read(16) SCSI command on a specific SCSI
target. target.
@ -1210,7 +1195,6 @@ ScsiRead16CommandEx (
IN EFI_EVENT Event OPTIONAL IN EFI_EVENT Event OPTIONAL
); );
/** /**
Execute blocking/non-blocking Write(16) SCSI command on a specific SCSI Execute blocking/non-blocking Write(16) SCSI command on a specific SCSI
target. target.

View File

@ -7,7 +7,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#ifndef __USB_DXE_LIB_H__ #ifndef __USB_DXE_LIB_H__
#define __USB_DXE_LIB_H__ #define __USB_DXE_LIB_H__
@ -40,7 +39,6 @@ UsbGetHidDescriptor (
OUT EFI_USB_HID_DESCRIPTOR *HidDescriptor OUT EFI_USB_HID_DESCRIPTOR *HidDescriptor
); );
/** /**
Get the report descriptor of the specified USB HID interface. Get the report descriptor of the specified USB HID interface.

View File

@ -8,6 +8,7 @@
PI Version 1.0 PI Version 1.0
**/ **/
#ifndef __PI_DEPENDENCY_H__ #ifndef __PI_DEPENDENCY_H__
#define __PI_DEPENDENCY_H__ #define __PI_DEPENDENCY_H__
@ -31,7 +32,6 @@
#define EFI_DEP_FALSE 0x07 #define EFI_DEP_FALSE 0x07
#define EFI_DEP_END 0x08 #define EFI_DEP_END 0x08
/// ///
/// If present, this must be the first opcode, /// If present, this must be the first opcode,
/// EFI_DEP_SOR is only used by DXE driver. /// EFI_DEP_SOR is only used by DXE driver.

View File

@ -204,7 +204,6 @@ typedef struct {
EFI_HANDLE DeviceHandle; EFI_HANDLE DeviceHandle;
} EFI_GCD_IO_SPACE_DESCRIPTOR; } EFI_GCD_IO_SPACE_DESCRIPTOR;
/** /**
Adds reserved memory, system memory, or memory-mapped I/O resources to the Adds reserved memory, system memory, or memory-mapped I/O resources to the
global coherency domain of the processor. global coherency domain of the processor.
@ -599,8 +598,6 @@ EFI_STATUS
OUT EFI_GCD_IO_SPACE_DESCRIPTOR **IoSpaceMap OUT EFI_GCD_IO_SPACE_DESCRIPTOR **IoSpaceMap
); );
/** /**
Loads and executed DXE drivers from firmware volumes. Loads and executed DXE drivers from firmware volumes.

View File

@ -9,7 +9,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
#ifndef __PI_FIRMWARE_FILE_H__ #ifndef __PI_FIRMWARE_FILE_H__
#define __PI_FIRMWARE_FILE_H__ #define __PI_FIRMWARE_FILE_H__
@ -100,7 +99,6 @@ typedef UINT8 EFI_FFS_FILE_STATE;
#define EFI_FILE_DELETED 0x10 #define EFI_FILE_DELETED 0x10
#define EFI_FILE_HEADER_INVALID 0x20 #define EFI_FILE_HEADER_INVALID 0x20
/// ///
/// Each file begins with the header that describe the /// Each file begins with the header that describe the
/// contents and state of the files. /// contents and state of the files.
@ -506,4 +504,3 @@ typedef struct {
#pragma pack() #pragma pack()
#endif #endif

Some files were not shown because too many files have changed in this diff Show More