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:
committed by
mergify[bot]
parent
1436aea4d5
commit
2f88bd3a12
@ -236,5 +236,3 @@ typedef INT32 INTN;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -12,7 +12,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef __BASE_H__
|
||||
#define __BASE_H__
|
||||
|
||||
@ -592,7 +591,9 @@ struct _LIST_ENTRY {
|
||||
typedef int *va_list[1];
|
||||
#define VA_LIST va_list
|
||||
#else
|
||||
typedef struct __va_list { void *__ap; } va_list;
|
||||
typedef struct __va_list {
|
||||
void *__ap;
|
||||
} va_list;
|
||||
#define VA_LIST va_list
|
||||
#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))
|
||||
|
||||
|
||||
/**
|
||||
Return the maximum of two operands.
|
||||
|
||||
@ -1204,7 +1204,6 @@ typedef UINTN RETURN_STATUS;
|
||||
///
|
||||
#define RETURN_WARN_FILE_SYSTEM ENCODE_WARNING (6)
|
||||
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
#if defined (_MSC_EXTENSIONS) && !defined (__INTEL_COMPILER) && !defined (MDE_CPU_EBC)
|
||||
void * _ReturnAddress(void);
|
||||
void *
|
||||
_ReturnAddress (
|
||||
void
|
||||
);
|
||||
|
||||
#pragma intrinsic(_ReturnAddress)
|
||||
|
||||
/**
|
||||
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)
|
||||
#elif defined (__GNUC__) || defined (__clang__)
|
||||
|
||||
/**
|
||||
Get the return address of the calling function.
|
||||
|
||||
@ -1288,6 +1293,7 @@ typedef UINTN RETURN_STATUS;
|
||||
**/
|
||||
#define RETURN_ADDRESS(L) __builtin_return_address (L)
|
||||
#else
|
||||
|
||||
/**
|
||||
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]))
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -153,4 +153,3 @@ typedef unsigned long UINTN;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
#define PEI_APRIORI_FILE_NAME_GUID \
|
||||
{ 0x1b45cc0a, 0x156a, 0x428a, { 0x62, 0XAF, 0x49, 0x86, 0x4d, 0xa0, 0xe6, 0xe6 } }
|
||||
|
||||
|
||||
///
|
||||
/// This file must be of type EFI_FV_FILETYPE_FREEFORM and must
|
||||
/// contain a single section of type EFI_SECTION_RAW. For details on
|
||||
@ -35,4 +34,3 @@ typedef struct {
|
||||
extern EFI_GUID gPeiAprioriFileNameGuid;
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _CAPSULE_REPORT_GUID_H__
|
||||
#define _CAPSULE_REPORT_GUID_H__
|
||||
|
||||
@ -21,9 +20,7 @@
|
||||
0x39b68c46, 0xf7fb, 0x441b, {0xb6, 0xec, 0x16, 0xb0, 0xf6, 0x98, 0x21, 0xf3 } \
|
||||
}
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
||||
///
|
||||
/// 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_CAPSULE_RESULT_VARIABLE_HEADER;
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
||||
///
|
||||
/// Version of this structure, currently 0x00000001
|
||||
///
|
||||
@ -94,7 +89,6 @@ typedef struct {
|
||||
} EFI_CAPSULE_RESULT_VARIABLE_FMP;
|
||||
|
||||
typedef struct {
|
||||
|
||||
///
|
||||
/// Version of this structure, currently 0x00000001
|
||||
///
|
||||
|
@ -327,7 +327,6 @@ typedef struct {
|
||||
UINT64 InstructionIP;
|
||||
} EFI_PROCESSOR_GENERIC_ERROR_DATA;
|
||||
|
||||
|
||||
#if defined (MDE_CPU_IA32) || defined (MDE_CPU_X64)
|
||||
///
|
||||
/// IA32 and x64 Specific definitions.
|
||||
|
@ -9,25 +9,21 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#ifndef __EVENT_GROUP_GUID__
|
||||
#define __EVENT_GROUP_GUID__
|
||||
|
||||
|
||||
#define EFI_EVENT_GROUP_EXIT_BOOT_SERVICES \
|
||||
{ 0x27abf055, 0xb1b8, 0x4c26, { 0x80, 0x48, 0x74, 0x8f, 0x37, 0xba, 0xa2, 0xdf } }
|
||||
|
||||
extern EFI_GUID gEfiEventExitBootServicesGuid;
|
||||
|
||||
|
||||
#define EFI_EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE \
|
||||
{ 0x13fa7698, 0xc831, 0x49c7, { 0x87, 0xea, 0x8f, 0x43, 0xfc, 0xc2, 0x51, 0x96 } }
|
||||
|
||||
extern EFI_GUID gEfiEventVirtualAddressChangeGuid;
|
||||
|
||||
|
||||
#define EFI_EVENT_GROUP_MEMORY_MAP_CHANGE \
|
||||
{ 0x78bee926, 0x692f, 0x48fd, { 0x9e, 0xdb, 0x1, 0x42, 0x2e, 0xf0, 0xd7, 0xab } }
|
||||
|
||||
extern EFI_GUID gEfiEventMemoryMapChangeGuid;
|
||||
|
||||
|
||||
#define EFI_EVENT_GROUP_READY_TO_BOOT \
|
||||
{ 0x7ce88fb3, 0x4bd7, 0x4679, { 0x87, 0xa8, 0xa8, 0xd8, 0xde, 0xe5, 0x0d, 0x2b } }
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#define EFI_FFS_VOLUME_TOP_FILE_GUID \
|
||||
{ 0x1BA0062E, 0xC779, 0x4582, { 0x85, 0x66, 0x33, 0x6A, 0xE8, 0xF7, 0x8F, 0x9 } }
|
||||
|
||||
|
||||
extern EFI_GUID gEfiFirmwareFileSystem2Guid;
|
||||
extern EFI_GUID gEfiFirmwareVolumeTopFileGuid;
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _FMP_CAPSULE_GUID_H__
|
||||
#define _FMP_CAPSULE_GUID_H__
|
||||
|
||||
@ -90,7 +89,6 @@ typedef struct {
|
||||
|
||||
#pragma pack()
|
||||
|
||||
|
||||
#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER_INIT_VERSION 0x00000001
|
||||
#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION 0x00000003
|
||||
#define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001
|
||||
|
@ -316,7 +316,6 @@ typedef struct {
|
||||
///
|
||||
} EFI_IMAGE_EXECUTION_INFO;
|
||||
|
||||
|
||||
typedef struct {
|
||||
///
|
||||
/// Number of EFI_IMAGE_EXECUTION_INFO structures.
|
||||
|
@ -31,7 +31,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
{0x67d6f4cd, 0xd6b8, 0x4573, \
|
||||
{0xbf, 0x4a, 0xde, 0x5e, 0x25, 0x2d, 0x61, 0xae }}
|
||||
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
typedef struct {
|
||||
@ -94,5 +93,4 @@ extern EFI_GUID gEfiJsonCapsuleDataTableGuid;
|
||||
extern EFI_GUID gEfiJsonCapsuleResultTableGuid;
|
||||
extern EFI_GUID gEfiJsonCapsuleIdGuid;
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -22,9 +22,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
{ 0xeb66918a, 0x7eef, 0x402a, \
|
||||
{ 0x84, 0x2e, 0x93, 0x1d, 0x21, 0xc3, 0x8a, 0xe9 }}
|
||||
|
||||
|
||||
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
typedef struct {
|
||||
|
@ -42,4 +42,3 @@ typedef struct {
|
||||
extern EFI_GUID gEfiSmmSmramMemoryGuid;
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _SYSTEM_RESOURCE_TABLE_H__
|
||||
#define _SYSTEM_RESOURCE_TABLE_H__
|
||||
|
||||
|
@ -61,7 +61,6 @@ typedef struct {
|
||||
UINT8 Signature[256];
|
||||
} EFI_CERT_BLOCK_RSA_2048_SHA256;
|
||||
|
||||
|
||||
///
|
||||
/// Certificate which encapsulates a GUID-specific digital signature
|
||||
///
|
||||
@ -85,7 +84,6 @@ typedef struct {
|
||||
UINT8 CertData[1];
|
||||
} WIN_CERTIFICATE_UEFI_GUID;
|
||||
|
||||
|
||||
///
|
||||
/// Certificate which encapsulates the RSASSA_PKCS1-v1_5 digital signature.
|
||||
///
|
||||
|
@ -48,7 +48,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#if defined (_MSC_EXTENSIONS)
|
||||
|
||||
//
|
||||
@ -109,7 +108,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#if defined (_MSC_EXTENSIONS)
|
||||
|
||||
//
|
||||
@ -319,4 +317,3 @@ typedef INT32 INTN;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -2039,7 +2039,7 @@ typedef struct {
|
||||
EFI_ACPI_6_2_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure;
|
||||
UINT8 NumberOfHardwareBanks;
|
||||
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
|
||||
|
@ -2003,7 +2003,7 @@ typedef struct {
|
||||
EFI_ACPI_6_3_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure;
|
||||
UINT8 NumberOfHardwareBanks;
|
||||
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
|
||||
|
@ -2084,7 +2084,7 @@ typedef struct {
|
||||
EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure;
|
||||
UINT8 NumberOfHardwareBanks;
|
||||
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
|
||||
|
@ -93,7 +93,6 @@ typedef struct {
|
||||
///
|
||||
} EFI_ACPI_ASF_RCTL;
|
||||
|
||||
|
||||
///
|
||||
/// Remote Control Capabilities
|
||||
///
|
||||
|
@ -249,7 +249,6 @@ typedef struct {
|
||||
UINT16 integrity_word;
|
||||
} ATAPI_IDENTIFY_DATA;
|
||||
|
||||
|
||||
///
|
||||
/// Standard Quiry Data format, defined in SFF-8070i(ATAPI Removable Rewritable Specification).
|
||||
///
|
||||
@ -466,7 +465,6 @@ typedef union {
|
||||
|
||||
#pragma pack()
|
||||
|
||||
|
||||
#define ATAPI_MAX_DMA_EXT_CMD_SECTORS 0x10000
|
||||
#define ATAPI_MAX_DMA_CMD_SECTORS 0x100
|
||||
|
||||
|
@ -19,4 +19,3 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#define CXL_DVSEC_VENDOR_ID 0x1E98
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -169,7 +169,6 @@ typedef union {
|
||||
UINT32 Uint32;
|
||||
} CXL_DVSEC_FLEX_BUS_DEVICE_RANGE1_BASE_LOW;
|
||||
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT32 MemorySizeHigh : 32; // bit 0..31
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _DEBUG_PORT_2_TABLE_H_
|
||||
#define _DEBUG_PORT_2_TABLE_H_
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _DEBUG_PORT_TABLE_H_
|
||||
#define _DEBUG_PORT_TABLE_H_
|
||||
|
||||
|
@ -97,7 +97,6 @@
|
||||
#define DHCP4_TAG_UUID 97 /// Client Machine Identifier, RFC 4578
|
||||
#define DHCP4_TAG_CLASSLESS_ROUTE 121 /// Classless Route
|
||||
|
||||
|
||||
///
|
||||
/// Dynamic Host Configuration Protocol for IPv6 (DHCPv6)
|
||||
///
|
||||
|
@ -14,6 +14,7 @@
|
||||
- HPET - High Precision Event Timer
|
||||
- NUMA - Non-uniform Memory Access
|
||||
**/
|
||||
|
||||
#ifndef _DMA_REMAPPING_REPORTING_TABLE_H_
|
||||
#define _DMA_REMAPPING_REPORTING_TABLE_H_
|
||||
|
||||
@ -97,6 +98,7 @@ typedef struct {
|
||||
**/
|
||||
typedef struct {
|
||||
EFI_ACPI_DMAR_STRUCTURE_HEADER Header;
|
||||
|
||||
/**
|
||||
- Bit[0]: INCLUDE_PCI_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
|
||||
///
|
||||
UINT64 ReservedMemoryRegionBaseAddress;
|
||||
|
||||
/**
|
||||
Last address of the reserved memory region. Value in this field must be
|
||||
greater than the value in Reserved Memory Region Base Address field.
|
||||
@ -159,6 +162,7 @@ typedef struct {
|
||||
**/
|
||||
typedef struct {
|
||||
EFI_ACPI_DMAR_STRUCTURE_HEADER Header;
|
||||
|
||||
/**
|
||||
- Bit[0]: ALL_PORTS:
|
||||
- If Set, indicates all PCI Express Root Ports in the specified
|
||||
@ -206,6 +210,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
EFI_ACPI_DMAR_STRUCTURE_HEADER Header;
|
||||
UINT8 Reserved[3];
|
||||
|
||||
/**
|
||||
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
|
||||
@ -223,6 +228,7 @@ typedef struct {
|
||||
**/
|
||||
typedef struct {
|
||||
EFI_ACPI_DMAR_STRUCTURE_HEADER Header;
|
||||
|
||||
/**
|
||||
- Bit[0]: ATC_REQUIRED:
|
||||
- If Set, indicates that every SoC integrated device enumerated
|
||||
@ -258,6 +264,7 @@ typedef struct {
|
||||
**/
|
||||
typedef struct {
|
||||
EFI_ACPI_DESCRIPTION_HEADER Header;
|
||||
|
||||
/**
|
||||
This field indicates the maximum DMA physical addressability supported by
|
||||
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.
|
||||
**/
|
||||
UINT8 HostAddressWidth;
|
||||
|
||||
/**
|
||||
- Bit[0]: INTR_REMAP - If Clear, the platform does not support interrupt
|
||||
remapping. If Set, the platform supports interrupt remapping.
|
||||
|
@ -48,7 +48,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#define ELTORITO_28_DISKETTE 0x03
|
||||
#define ELTORITO_HARD_DISK 0x04
|
||||
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
///
|
||||
@ -87,7 +86,6 @@ typedef union {
|
||||
UINT8 Unused2[8]; ///< Must be 0
|
||||
UINT32 VolSpaceSize[2]; ///< the number of Logical Blocks
|
||||
} PrimaryVolume;
|
||||
|
||||
} CDROM_VOLUME_DESCRIPTOR;
|
||||
|
||||
///
|
||||
@ -133,7 +131,6 @@ typedef union {
|
||||
UINT16 SectionEntries; ///< Number of section entries following this header
|
||||
CHAR8 Id[28];
|
||||
} Section;
|
||||
|
||||
} ELTORITO_CATALOG;
|
||||
|
||||
#pragma pack()
|
||||
|
@ -31,7 +31,6 @@ typedef union {
|
||||
UINT32 Uint32;
|
||||
} EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_BLOCK_ID;
|
||||
|
||||
|
||||
///
|
||||
/// High Precision Event Timer Table header definition.
|
||||
///
|
||||
|
@ -51,7 +51,6 @@
|
||||
///
|
||||
#define HTTP_HEADER_ACCEPT "Accept"
|
||||
|
||||
|
||||
///
|
||||
/// Accept-Charset Request Header
|
||||
/// 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"
|
||||
|
||||
|
||||
///
|
||||
/// Accept-Encoding Request Header
|
||||
/// 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"
|
||||
/// compression mechanism described in RFC 1951.
|
||||
|
||||
|
||||
///
|
||||
/// Content-Type Header
|
||||
/// 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_SVG_XML "image/svg+xml"
|
||||
|
||||
|
||||
///
|
||||
/// Content-Length Header
|
||||
/// The Content-Length entity-header field indicates the size of the entity-body,
|
||||
@ -197,7 +193,6 @@
|
||||
///
|
||||
#define HTTP_HEADER_IF_MATCH "If-Match"
|
||||
|
||||
|
||||
///
|
||||
/// 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
|
||||
@ -209,8 +204,6 @@
|
||||
///
|
||||
#define HTTP_HEADER_IF_NONE_MATCH "If-None-Match"
|
||||
|
||||
|
||||
|
||||
///
|
||||
/// Authorization Request Header
|
||||
/// The Authorization field value consists of credentials
|
||||
|
@ -158,4 +158,3 @@ typedef struct {
|
||||
#pragma pack()
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -80,7 +80,6 @@ typedef struct {
|
||||
UINT32 AuxFirmwareRevInfo;
|
||||
} IPMI_GET_DEVICE_ID_RESPONSE;
|
||||
|
||||
|
||||
//
|
||||
// Definitions for Cold Reset command
|
||||
//
|
||||
|
@ -596,7 +596,6 @@ typedef union {
|
||||
UINT8 Uint8;
|
||||
} IPMI_TAP_DIAL_STRING_SERVICE_SELECTOR;
|
||||
|
||||
|
||||
typedef struct {
|
||||
UINT8 TapSelector;
|
||||
IPMI_TAP_DIAL_STRING_SERVICE_SELECTOR TapDialStringServiceSelector;
|
||||
|
@ -12,6 +12,7 @@
|
||||
- GAS - Generic Address Structure
|
||||
- LPI - Low Power Idle
|
||||
**/
|
||||
|
||||
#ifndef _LOW_POWER_IDLE_TABLE_H_
|
||||
#define _LOW_POWER_IDLE_TABLE_H_
|
||||
|
||||
@ -30,6 +31,7 @@
|
||||
typedef union {
|
||||
struct {
|
||||
UINT32 Disabled : 1; ///< If set, LPI state is not used
|
||||
|
||||
/**
|
||||
If set, Residency counter is not available for this LPI state and
|
||||
Residency Counter Frequency is invalid
|
||||
@ -52,6 +54,7 @@ typedef struct {
|
||||
UINT16 UniqueId;
|
||||
UINT8 Reserved[2]; ///< Must be Zero
|
||||
ACPI_LPI_STATE_FLAGS Flags; ///< LPI state flags
|
||||
|
||||
/**
|
||||
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.
|
||||
@ -59,11 +62,13 @@ typedef struct {
|
||||
EFI_ACPI_6_1_GENERIC_ADDRESS_STRUCTURE EntryTrigger;
|
||||
UINT32 Residency; ///< Minimum residency or break-even in uSec
|
||||
UINT32 Latency; ///< Worst case exit latency in uSec
|
||||
|
||||
/**
|
||||
[optional] Residency counter, represented as a Generic Address Structure.
|
||||
If not present, Flags[1] bit should be set.
|
||||
**/
|
||||
EFI_ACPI_6_1_GENERIC_ADDRESS_STRUCTURE ResidencyCounter;
|
||||
|
||||
/**
|
||||
[optional] Residency counter frequency in cycles per second. Value 0 indicates that
|
||||
counter runs at TSC frequency. Valid only if Residency Counter is present.
|
||||
|
@ -38,7 +38,6 @@
|
||||
#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
|
||||
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
//
|
||||
@ -695,7 +694,6 @@ typedef struct {
|
||||
UINT64 Prp[2]; // First and second PRP entries
|
||||
|
||||
NVME_PAYLOAD Payload;
|
||||
|
||||
} NVME_SQ;
|
||||
|
||||
//
|
||||
|
@ -309,6 +309,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#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.
|
||||
|
||||
@ -321,6 +322,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#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.
|
||||
|
||||
@ -345,6 +347,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_DISPLAY(_p) IS_CLASS1 (_p, PCI_CLASS_DISPLAY)
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
/**
|
||||
Macro that checks whether device is a Universal Serial Bus controller.
|
||||
|
||||
@ -477,6 +491,7 @@ typedef struct {
|
||||
// Mask of Header type
|
||||
//
|
||||
#define HEADER_LAYOUT_CODE 0x7f
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
/**
|
||||
Macro that checks whether device is a multiple functions device.
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
#ifndef __PCI30_H__
|
||||
#define __PCI30_H__
|
||||
|
||||
|
||||
#include <IndustryStandard/Pci23.h>
|
||||
|
||||
///
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef __PCI_CODE_ID_H__
|
||||
#define __PCI_CODE_ID_H__
|
||||
|
||||
|
||||
///
|
||||
/// PCI_CLASS_MASS_STORAGE, Base Class 01h.
|
||||
///
|
||||
|
@ -640,7 +640,6 @@ typedef union {
|
||||
UINT32 Uint32;
|
||||
} PCI_EXPRESS_EXTENDED_CAPABILITIES_RESIZABLE_BAR_CAPABILITY;
|
||||
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
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_LATENCE_TOLERANCE_REPORTING_ID 0x0018
|
||||
#define PCI_EXPRESS_EXTENDED_CAPABILITY_LATENCE_TOLERANCE_REPORTING_VER1 0x1
|
||||
|
||||
|
@ -26,7 +26,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#define EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 12
|
||||
#define EFI_IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER 13///< defined PI Specification, 1.0
|
||||
|
||||
|
||||
//
|
||||
// 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_OPTIONAL_HEADER64;
|
||||
|
||||
|
||||
///
|
||||
/// @attention
|
||||
/// EFI_IMAGE_NT_HEADERS32 is for use ONLY by tools.
|
||||
@ -549,7 +547,6 @@ typedef struct {
|
||||
///
|
||||
#define EFI_IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR 60
|
||||
|
||||
|
||||
//
|
||||
// DLL Support
|
||||
//
|
||||
@ -605,7 +602,6 @@ typedef struct {
|
||||
EFI_IMAGE_THUNK_DATA *FirstThunk;
|
||||
} EFI_IMAGE_IMPORT_DESCRIPTOR;
|
||||
|
||||
|
||||
///
|
||||
/// Debug Directory Format.
|
||||
///
|
||||
@ -652,7 +648,6 @@ typedef struct {
|
||||
//
|
||||
} EFI_IMAGE_DEBUG_CODEVIEW_RSDS_ENTRY;
|
||||
|
||||
|
||||
///
|
||||
/// 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_TE_IMAGE_HEADER;
|
||||
|
||||
|
||||
#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_DEBUG 1
|
||||
|
||||
|
||||
///
|
||||
/// Union of PE32, PE32+, and TE headers.
|
||||
///
|
||||
|
@ -377,7 +377,6 @@ typedef struct {
|
||||
UINT8 Reserved[4];
|
||||
} EFI_SCSI_DISK_UNMAP_BLOCK_DESP;
|
||||
|
||||
|
||||
#pragma pack()
|
||||
|
||||
//
|
||||
|
@ -11,7 +11,6 @@
|
||||
#ifndef _SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_H_
|
||||
#define _SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_H_
|
||||
|
||||
|
||||
#include <IndustryStandard/Acpi.h>
|
||||
|
||||
//
|
||||
@ -70,7 +69,6 @@ typedef struct {
|
||||
///
|
||||
#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
|
||||
//
|
||||
|
@ -10,6 +10,7 @@
|
||||
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
|
||||
**/
|
||||
|
||||
#ifndef _SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_
|
||||
#define _SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_
|
||||
|
||||
@ -37,7 +38,6 @@ typedef union {
|
||||
UINT32 Uid;
|
||||
} EFI_ACPI_SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_DEVICE_ID;
|
||||
|
||||
|
||||
///
|
||||
/// Definition for Service Processor Management Interface Description Table
|
||||
///
|
||||
|
@ -454,7 +454,6 @@ typedef struct {
|
||||
UINT8 ContainedElementMaximum;
|
||||
} CONTAINED_ELEMENT;
|
||||
|
||||
|
||||
///
|
||||
/// System Enclosure or Chassis (Type 3).
|
||||
///
|
||||
@ -1509,7 +1508,6 @@ typedef struct {
|
||||
UINT8 StringCount;
|
||||
} SMBIOS_TABLE_TYPE12;
|
||||
|
||||
|
||||
///
|
||||
/// BIOS Language Information (Type 13).
|
||||
///
|
||||
@ -1786,7 +1784,6 @@ typedef enum {
|
||||
// Optane DC Persistent Memory in SMBIOS spec 3.4.0
|
||||
//
|
||||
MemoryTechnologyIntelOptanePersistentMemory = 0x07
|
||||
|
||||
} MEMORY_DEVICE_TECHNOLOGY;
|
||||
|
||||
///
|
||||
@ -2584,7 +2581,6 @@ typedef struct {
|
||||
UINT8 InterfaceTypeSpecificData[4]; ///< This field has a minimum of four bytes
|
||||
} SMBIOS_TABLE_TYPE42;
|
||||
|
||||
|
||||
///
|
||||
/// Processor Specific Block - Processor Architecture Type
|
||||
///
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _SMBUS_H_
|
||||
#define _SMBUS_H_
|
||||
|
||||
|
||||
///
|
||||
/// UDID of SMBUS device.
|
||||
///
|
||||
@ -72,4 +71,3 @@ typedef enum _EFI_SMBUS_OPERATION {
|
||||
typedef UINTN EFI_SMBUS_DEVICE_COMMAND;
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -7,7 +7,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef __SPDM_H__
|
||||
#define __SPDM_H__
|
||||
|
||||
@ -317,4 +316,3 @@ typedef struct {
|
||||
#pragma pack()
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -77,7 +77,6 @@ typedef union {
|
||||
TCG_TINY_ATOM_BITS TinyAtomBits;
|
||||
} TCG_SIMPLE_TOKEN_TINY_ATOM;
|
||||
|
||||
|
||||
typedef struct {
|
||||
UINT8 Length : 4;
|
||||
UINT8 SignOrCont : 1;
|
||||
@ -91,7 +90,6 @@ typedef union {
|
||||
TCG_SHORT_ATOM_BITS ShortAtomBits;
|
||||
} TCG_SIMPLE_TOKEN_SHORT_ATOM;
|
||||
|
||||
|
||||
#define TCG_MEDIUM_ATOM_LENGTH_HIGH_SHIFT 0x8
|
||||
#define TCG_MEDIUM_ATOM_LENGTH_HIGH_MASK 0x7
|
||||
|
||||
@ -110,7 +108,6 @@ typedef union {
|
||||
TCG_MEDIUM_ATOM_BITS MediumAtomBits;
|
||||
} TCG_SIMPLE_TOKEN_MEDIUM_ATOM;
|
||||
|
||||
|
||||
#define TCG_LONG_ATOM_LENGTH_HIGH_SHIFT 16
|
||||
#define TCG_LONG_ATOM_LENGTH_MID_SHIFT 8
|
||||
|
||||
@ -132,7 +129,6 @@ typedef union {
|
||||
TCG_LONG_ATOM_BITS LongAtomBits;
|
||||
} TCG_SIMPLE_TOKEN_LONG_ATOM;
|
||||
|
||||
|
||||
// TCG Core Spec v2 - Table 04 - Token Types
|
||||
typedef enum {
|
||||
TcgTokenTypeReserved,
|
||||
@ -215,7 +211,6 @@ typedef enum {
|
||||
#define TCG_METHOD_STATUS_CODE_AUTHORITY_LOCKED_OUT 0x12
|
||||
#define TCG_METHOD_STATUS_CODE_FAIL 0x3F
|
||||
|
||||
|
||||
// Feature Codes
|
||||
#define TCG_FEATURE_INVALID (UINT16)0x0000
|
||||
#define TCG_FEATURE_TPER (UINT16)0x0001
|
||||
@ -274,7 +269,6 @@ typedef struct {
|
||||
UINT8 List[504]; // 8...
|
||||
} TCG_SUPPORTED_SECURITY_PROTOCOLS;
|
||||
|
||||
|
||||
// Level 0 Discovery
|
||||
typedef struct {
|
||||
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
|
||||
} TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER;
|
||||
|
||||
|
||||
typedef struct {
|
||||
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header;
|
||||
UINT8 LockingSupported : 1;
|
||||
@ -314,7 +307,6 @@ typedef struct {
|
||||
UINT8 Reserved615[10];
|
||||
} TCG_BLOCK_SID_FEATURE_DESCRIPTOR;
|
||||
|
||||
|
||||
typedef struct {
|
||||
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header;
|
||||
UINT8 SyncSupported : 1;
|
||||
|
@ -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_RANGE1 TCG_TO_UID( 0x00, 0x00, 0x08, 0x02, 0x00, 0x03, 0x00, 0x01 )
|
||||
|
||||
|
||||
// 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_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_128_GLOBALRANGE_GENKEY TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xB0, 0x00 )
|
||||
|
||||
|
||||
// LOCKING SP LockingInfo Table Preconfiguration
|
||||
#define OPAL_LOCKING_SP_LOCKING_INFO TCG_TO_UID( 0x00, 0x00, 0x08, 0x01, 0x00, 0x00, 0x00, 0x01 )
|
||||
|
||||
|
@ -98,4 +98,3 @@ typedef struct {
|
||||
#pragma pack()
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _TPM12_H_
|
||||
#define _TPM12_H_
|
||||
|
||||
@ -431,7 +430,6 @@ typedef struct tdTPM_VERSION {
|
||||
UINT8 revMinor;
|
||||
} TPM_VERSION;
|
||||
|
||||
|
||||
#define TPM_SHA1_160_HASH_LEN 0x14
|
||||
#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
|
||||
///
|
||||
typedef struct tdTPM_STORE_ASYMKEY { // pos len total
|
||||
typedef struct tdTPM_STORE_ASYMKEY {
|
||||
// pos len total
|
||||
TPM_PAYLOAD_TYPE payload; // 0 1 1
|
||||
TPM_SECRET usageAuth; // 1 20 21
|
||||
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
|
||||
/// [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_SECRET usageAuth; // 1 20 21
|
||||
TPM_DIGEST pubDataDigest; // 21 20 41
|
||||
@ -1203,7 +1203,6 @@ typedef struct tdTPM_EK_BLOB_AUTH {
|
||||
TPM_SECRET authValue;
|
||||
} TPM_EK_BLOB_AUTH;
|
||||
|
||||
|
||||
///
|
||||
/// Part 2, section 12.5 TPM_IDENTITY_CONTENTS
|
||||
///
|
||||
@ -2130,7 +2129,6 @@ typedef struct tdTPM_DAA_SENSITIVE {
|
||||
UINT8 *internalData;
|
||||
} TPM_DAA_SENSITIVE;
|
||||
|
||||
|
||||
//
|
||||
// Part 2, section 23: Redirection
|
||||
//
|
||||
|
@ -10,7 +10,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _TPM20_H_
|
||||
#define _TPM20_H_
|
||||
|
||||
@ -1784,7 +1783,6 @@ typedef struct {
|
||||
TPMS_CREATION_DATA creationData;
|
||||
} TPM2B_CREATION_DATA;
|
||||
|
||||
|
||||
//
|
||||
// Command Header
|
||||
//
|
||||
|
@ -148,7 +148,6 @@ typedef union {
|
||||
#define INTERFACE_CAPABILITY_INTERFACE_VERSION_TIS_13 0x2
|
||||
#define INTERFACE_CAPABILITY_INTERFACE_VERSION_PTP 0x3
|
||||
|
||||
|
||||
//
|
||||
// Define bits of ACCESS and STATUS registers
|
||||
//
|
||||
@ -230,7 +229,6 @@ typedef union {
|
||||
///
|
||||
#define PTP_FIFO_STS_EX_CANCEL BIT0
|
||||
|
||||
|
||||
//
|
||||
// PTP CRB definition
|
||||
//
|
||||
|
@ -65,7 +65,6 @@
|
||||
#define EFI_EXIT_BOOT_SERVICES_SUCCEEDED \
|
||||
"Exit Boot Services Returned with Success"
|
||||
|
||||
|
||||
#define EV_POSTCODE_INFO_POST_CODE "POST CODE"
|
||||
#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"
|
||||
|
||||
|
||||
//
|
||||
// The Locality Indicator which sent the TPM2_Startup command
|
||||
//
|
||||
@ -489,12 +487,9 @@ typedef struct tdTCG_EfiStartupLocalityEvent{
|
||||
UINT8 StartupLocality;
|
||||
} TCG_EfiStartupLocalityEvent;
|
||||
|
||||
|
||||
//
|
||||
// Restore original structure alignment
|
||||
//
|
||||
#pragma pack ()
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -78,7 +78,6 @@
|
||||
#define USB_DEV_SYNCH_FRAME 0x0C
|
||||
#define USB_DEV_SYNCH_FRAME_REQ_TYPE 0x82
|
||||
|
||||
|
||||
//
|
||||
// USB standard descriptors and reqeust
|
||||
//
|
||||
@ -173,7 +172,6 @@ typedef struct {
|
||||
|
||||
#pragma pack()
|
||||
|
||||
|
||||
typedef enum {
|
||||
//
|
||||
// USB request type
|
||||
@ -239,7 +237,6 @@ typedef enum {
|
||||
EFI_USB_INTERRUPT_DELAY = 2000000
|
||||
} USB_TYPES_DEFINITION;
|
||||
|
||||
|
||||
//
|
||||
// HID constants definition, see Device Class Definition
|
||||
// for Human Interface Devices (HID) rev1.11
|
||||
|
@ -6,7 +6,6 @@
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _WATCHDOG_ACTION_TABLE_H_
|
||||
#define _WATCHDOG_ACTION_TABLE_H_
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_
|
||||
#define _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _WINDOWS_UX_CAPSULE_GUID_H_
|
||||
#define _WINDOWS_UX_CAPSULE_GUID_H_
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -41,5 +41,4 @@ CpuFlushTlb (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -129,7 +129,6 @@ DebugPrint (
|
||||
...
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Prints a debug message to the debug output device if the specified
|
||||
error level is enabled.
|
||||
@ -153,7 +152,6 @@ DebugVPrint (
|
||||
IN VA_LIST VaListMarker
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Prints a debug message to the debug output device if the specified
|
||||
error level is enabled.
|
||||
@ -179,7 +177,6 @@ DebugBPrint (
|
||||
IN BASE_LIST BaseListMarker
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Prints an assert message containing a filename, line number, and description.
|
||||
This may be followed by a breakpoint or a dead loop.
|
||||
@ -209,7 +206,6 @@ DebugAssert (
|
||||
IN CONST CHAR8 *Description
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Fills a target buffer with PcdDebugClearMemoryValue, and returns the target buffer.
|
||||
|
||||
@ -232,7 +228,6 @@ DebugClearMemory (
|
||||
IN UINTN Length
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns TRUE if ASSERT() macros are enabled.
|
||||
|
||||
@ -249,7 +244,6 @@ DebugAssertEnabled (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns TRUE if DEBUG() macros are enabled.
|
||||
|
||||
@ -266,7 +260,6 @@ DebugPrintEnabled (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns TRUE if DEBUG_CODE() macros are enabled.
|
||||
|
||||
@ -283,7 +276,6 @@ DebugCodeEnabled (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled.
|
||||
|
||||
@ -325,6 +317,7 @@ DebugPrintLevelEnabled (
|
||||
|
||||
**/
|
||||
#if defined (EDKII_UNIT_TEST_FRAMEWORK_ENABLED)
|
||||
|
||||
/**
|
||||
Unit test library replacement for DebugAssert() in DebugLib.
|
||||
|
||||
@ -538,7 +531,6 @@ UnitTestDebugAssert (
|
||||
**/
|
||||
#define DEBUG_CODE_BEGIN() do { if (DebugCodeEnabled ()) { UINT8 __DebugCodeLocal
|
||||
|
||||
|
||||
/**
|
||||
The macro that marks the end of debug source code.
|
||||
|
||||
@ -550,7 +542,6 @@ UnitTestDebugAssert (
|
||||
**/
|
||||
#define DEBUG_CODE_END() __DebugCodeLocal = 0; __DebugCodeLocal++; } } while (FALSE)
|
||||
|
||||
|
||||
/**
|
||||
The macro that declares a section of debug source code.
|
||||
|
||||
@ -564,7 +555,6 @@ UnitTestDebugAssert (
|
||||
Expression \
|
||||
DEBUG_CODE_END ()
|
||||
|
||||
|
||||
/**
|
||||
The macro that calls DebugClearMemory() to clear a buffer to a default value.
|
||||
|
||||
@ -582,7 +572,6 @@ UnitTestDebugAssert (
|
||||
} \
|
||||
} while (FALSE)
|
||||
|
||||
|
||||
/**
|
||||
Macro that calls DebugAssert() if the containing record does not have a
|
||||
matching signature. If the signatures matches, then a pointer to the data
|
||||
|
@ -5,6 +5,7 @@
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef _DEBUG_PRINT_ERROR_LEVEL_LIB_H_
|
||||
#define _DEBUG_PRINT_ERROR_LEVEL_LIB_H_
|
||||
|
||||
@ -34,4 +35,5 @@ EFIAPI
|
||||
SetDebugPrintErrorLevel (
|
||||
UINT32 ErrorLevel
|
||||
);
|
||||
|
||||
#endif
|
||||
|
@ -14,7 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
///
|
||||
extern VOID *gHobList;
|
||||
|
||||
|
||||
/**
|
||||
The entry point of PE/COFF Image for the DXE Core.
|
||||
|
||||
@ -33,7 +32,6 @@ _ModuleEntryPoint (
|
||||
IN VOID *HobStart
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
|
||||
|
||||
@ -48,7 +46,6 @@ EfiMain (
|
||||
IN VOID *HobStart
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Autogenerated function that calls a set of module entry points.
|
||||
|
||||
|
@ -169,7 +169,6 @@ GetSectionFromFv (
|
||||
OUT UINTN *Size
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Get the image file buffer data and buffer size by its device path.
|
||||
|
||||
|
@ -25,4 +25,3 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
extern EFI_DXE_SERVICES *gDS;
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -14,6 +14,7 @@ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __EXTRACT_GUIDED_SECTION_H__
|
||||
#define __EXTRACT_GUIDED_SECTION_H__
|
||||
|
||||
|
@ -214,6 +214,7 @@ FileHandleGetPosition (
|
||||
IN EFI_FILE_HANDLE FileHandle,
|
||||
OUT UINT64 *Position
|
||||
);
|
||||
|
||||
/**
|
||||
Flushes data on a file.
|
||||
|
||||
@ -498,4 +499,3 @@ FileHandleEof(
|
||||
);
|
||||
|
||||
#endif //_FILE_HANDLE_LIBRARY_HEADER_
|
||||
|
||||
|
@ -2804,6 +2804,4 @@ MmioWriteBuffer64 (
|
||||
IN CONST UINT64 *Buffer
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -82,7 +82,6 @@ INTN
|
||||
IN CONST VOID *UserStruct
|
||||
);
|
||||
|
||||
|
||||
//
|
||||
// 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
|
||||
@ -107,7 +106,6 @@ OrderedCollectionUserStruct (
|
||||
IN CONST ORDERED_COLLECTION_ENTRY *Entry
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Allocate and initialize the ORDERED_COLLECTION structure.
|
||||
|
||||
@ -132,7 +130,6 @@ OrderedCollectionInit (
|
||||
IN ORDERED_COLLECTION_KEY_COMPARE KeyCompare
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Check whether the collection is empty (has no entries).
|
||||
|
||||
@ -150,7 +147,6 @@ OrderedCollectionIsEmpty (
|
||||
IN CONST ORDERED_COLLECTION *Collection
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Uninitialize and release an empty ORDERED_COLLECTION structure.
|
||||
|
||||
@ -167,7 +163,6 @@ OrderedCollectionUninit (
|
||||
IN ORDERED_COLLECTION *Collection
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Look up the collection entry that links the user structure that matches the
|
||||
specified standalone key.
|
||||
@ -192,7 +187,6 @@ OrderedCollectionFind (
|
||||
IN CONST VOID *StandaloneKey
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Find the collection entry of the minimum user structure stored in the
|
||||
collection.
|
||||
@ -214,7 +208,6 @@ OrderedCollectionMin (
|
||||
IN CONST ORDERED_COLLECTION *Collection
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Find the collection entry of the maximum user structure stored in the
|
||||
collection.
|
||||
@ -237,7 +230,6 @@ OrderedCollectionMax (
|
||||
IN CONST ORDERED_COLLECTION *Collection
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Get the collection entry of the least user structure that is greater than the
|
||||
one linked by Entry.
|
||||
@ -258,7 +250,6 @@ OrderedCollectionNext (
|
||||
IN CONST ORDERED_COLLECTION_ENTRY *Entry
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Get the collection entry of the greatest user structure that is less than the
|
||||
one linked by Entry.
|
||||
@ -279,7 +270,6 @@ OrderedCollectionPrev (
|
||||
IN CONST ORDERED_COLLECTION_ENTRY *Entry
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Insert (link) a user structure into the collection, allocating a new
|
||||
collection entry.
|
||||
@ -349,7 +339,6 @@ OrderedCollectionInsert (
|
||||
IN VOID *UserStruct
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Delete an entry from the collection, unlinking the associated user structure.
|
||||
|
||||
|
@ -22,7 +22,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#ifndef __PCD_LIB_H__
|
||||
#define __PCD_LIB_H__
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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)
|
||||
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
|
||||
/**
|
||||
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), \
|
||||
(Buffer) \
|
||||
)
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
||||
|
||||
/**
|
||||
Retrieve the size of a given PCD token.
|
||||
|
||||
@ -561,8 +534,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#define PcdSetPtrS(TokenName, SizeOfBuffer, Buffer) \
|
||||
_PCD_SET_MODE_PTR_S_##TokenName ((SizeOfBuffer), (Buffer))
|
||||
|
||||
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
|
||||
/**
|
||||
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))
|
||||
|
||||
|
||||
|
||||
/**
|
||||
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) \
|
||||
LibPcdSetExPtrS ((Guid), PcdTokenEx(Guid,TokenName), (SizeOfBuffer), (Buffer))
|
||||
|
||||
|
||||
/**
|
||||
Sets an boolean PCD token value based on a GUID and a token name.
|
||||
|
||||
@ -848,7 +812,6 @@ LibPcdSetSku (
|
||||
IN UINTN SkuId
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve a value for a given PCD token.
|
||||
|
||||
@ -865,7 +828,6 @@ LibPcdGet8 (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve a value for a given PCD token.
|
||||
|
||||
@ -882,7 +844,6 @@ LibPcdGet16 (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve a value for a given PCD token.
|
||||
|
||||
@ -899,7 +860,6 @@ LibPcdGet32 (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve a value for a given PCD token.
|
||||
|
||||
@ -916,7 +876,6 @@ LibPcdGet64 (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve a value for a given PCD token.
|
||||
|
||||
@ -933,7 +892,6 @@ LibPcdGetPtr (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve a value for a given PCD token.
|
||||
|
||||
@ -950,7 +908,6 @@ LibPcdGetBool (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve the size of a given PCD token.
|
||||
|
||||
@ -965,7 +922,6 @@ LibPcdGetSize (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve a value for a given PCD token.
|
||||
|
||||
@ -987,7 +943,6 @@ LibPcdGetEx8 (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve a value for a given PCD token.
|
||||
|
||||
@ -1009,7 +964,6 @@ LibPcdGetEx16 (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns the 32-bit value for the token specified by TokenNumber and Guid.
|
||||
If Guid is NULL, then ASSERT().
|
||||
@ -1028,7 +982,6 @@ LibPcdGetEx32 (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve a value for a given PCD token.
|
||||
|
||||
@ -1050,7 +1003,6 @@ LibPcdGetEx64 (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve a value for a given PCD token.
|
||||
|
||||
@ -1072,7 +1024,6 @@ LibPcdGetExPtr (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve a value for a given PCD token.
|
||||
|
||||
@ -1094,7 +1045,6 @@ LibPcdGetExBool (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to retrieve the size of a given PCD token.
|
||||
|
||||
@ -1116,7 +1066,6 @@ LibPcdGetExSize (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This function provides a means by which to set a value for a given PCD token.
|
||||
|
||||
@ -1418,7 +1367,6 @@ VOID
|
||||
IN UINTN TokenDataSize
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Set up a notification function that is called when a specified token is set.
|
||||
|
||||
@ -1443,7 +1391,6 @@ LibPcdCallbackOnSet (
|
||||
IN PCD_CALLBACK NotificationFunction
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Disable a notification function that was established with LibPcdCallbackonSet().
|
||||
|
||||
@ -1465,7 +1412,6 @@ LibPcdCancelCallback (
|
||||
IN PCD_CALLBACK NotificationFunction
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Retrieves the next token in a token space.
|
||||
|
||||
@ -1492,8 +1438,6 @@ LibPcdGetNextToken (
|
||||
IN UINTN TokenNumber
|
||||
);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Used to retrieve the list of available PCD token space GUIDs.
|
||||
|
||||
@ -1513,7 +1457,6 @@ LibPcdGetNextTokenSpace (
|
||||
IN CONST GUID *TokenSpaceGuid
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Sets a value of a patchable PCD entry that is type pointer.
|
||||
|
||||
@ -1677,7 +1620,6 @@ typedef struct {
|
||||
CHAR8 *PcdName;
|
||||
} PCD_INFO;
|
||||
|
||||
|
||||
/**
|
||||
Retrieve additional information associated with a PCD token.
|
||||
|
||||
|
@ -13,7 +13,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#ifndef __PCI_CF8_LIB_H__
|
||||
#define __PCI_CF8_LIB_H__
|
||||
|
||||
|
||||
/**
|
||||
Macro that converts PCI Bus, PCI Device, PCI Function and PCI Register to an
|
||||
address that can be passed to the PCI Library functions.
|
||||
|
@ -31,7 +31,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#ifndef __PCI_SEGMENT_LIB__
|
||||
#define __PCI_SEGMENT_LIB__
|
||||
|
||||
|
||||
/**
|
||||
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.
|
||||
|
@ -76,7 +76,6 @@ PeCoffLoaderGetPdbPointer (
|
||||
IN VOID *Pe32Data
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns the size of the PE/COFF headers
|
||||
|
||||
|
@ -296,7 +296,6 @@ PeCoffLoaderLoadImage (
|
||||
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Reads contents of a PE/COFF image from a buffer in system memory.
|
||||
|
||||
@ -329,7 +328,6 @@ PeCoffLoaderImageReadFromMemory (
|
||||
OUT VOID *Buffer
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Reapply fixups on a fixed up PE32/PE32+ image to allow virtual calling at EFI
|
||||
runtime.
|
||||
@ -383,4 +381,5 @@ EFIAPI
|
||||
PeCoffLoaderUnloadImage (
|
||||
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||
);
|
||||
|
||||
#endif
|
||||
|
@ -96,7 +96,6 @@ ProcessLibraryConstructorList (
|
||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Autogenerated function that calls a set of module entry points.
|
||||
|
||||
|
@ -329,7 +329,6 @@ PeiServicesResetSystem (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
@ -359,7 +358,6 @@ PeiServicesFfsFindFileByName (
|
||||
OUT EFI_PEI_FILE_HANDLE *FileHandle
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
@ -435,7 +433,6 @@ PeiServicesFfsGetVolumeInfo (
|
||||
OUT EFI_FV_INFO *VolumeInfo
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
|
@ -65,4 +65,3 @@ MigratePeiServicesTablePointer (
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -14,7 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
///
|
||||
extern CONST UINT32 _gPeimRevision;
|
||||
|
||||
|
||||
/**
|
||||
The entry point of PE/COFF Image for a PEIM.
|
||||
|
||||
@ -35,7 +34,6 @@ _ModuleEntryPoint (
|
||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
|
||||
|
||||
|
@ -304,7 +304,6 @@ PerformanceMeasurementEnabled (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Check whether the specified performance measurement can be logged.
|
||||
|
||||
@ -762,5 +761,4 @@ LogPerformanceMeasurement (
|
||||
Expression \
|
||||
PERF_CODE_END ()
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -36,7 +36,6 @@ PostCode (
|
||||
IN UINT32 Value
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Sends a 32-bit value to a POST and associated ASCII string.
|
||||
|
||||
@ -68,7 +67,6 @@ PostCodeWithDescription (
|
||||
IN CONST CHAR8 *Description OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns TRUE if POST Codes are enabled.
|
||||
|
||||
@ -87,7 +85,6 @@ PostCodeEnabled (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns TRUE if POST code descriptions are enabled.
|
||||
|
||||
@ -106,7 +103,6 @@ PostCodeDescriptionEnabled (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Sends a 32-bit value to a POST card.
|
||||
|
||||
|
@ -826,7 +826,6 @@ AsciiSPrintUnicodeFormat (
|
||||
...
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Converts a decimal value to a Null-terminated Ascii string.
|
||||
|
||||
|
@ -56,6 +56,7 @@ FilterAfterIoRead (
|
||||
IN UINTN Address,
|
||||
IN VOID *Buffer
|
||||
);
|
||||
|
||||
/**
|
||||
Filter IO Write operation before wirte IO port.
|
||||
It is used to filter IO operation.
|
||||
|
@ -49,7 +49,6 @@ CodeTypeToPostCode (
|
||||
OUT UINT8 *PostCode
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Extracts ASSERT() information from a status code structure.
|
||||
|
||||
@ -94,7 +93,6 @@ ReportStatusCodeExtractAssertInfo (
|
||||
OUT UINT32 *LineNumber
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Extracts DEBUG() information from a status code structure.
|
||||
|
||||
@ -133,7 +131,6 @@ ReportStatusCodeExtractDebugInfo (
|
||||
OUT CHAR8 **Format
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Reports a status code.
|
||||
|
||||
@ -162,7 +159,6 @@ ReportStatusCode (
|
||||
IN EFI_STATUS_CODE_VALUE Value
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Reports a status code with an extended data buffer.
|
||||
|
||||
@ -245,7 +240,6 @@ ReportStatusCodeWithExtendedData (
|
||||
IN UINTN ExtendedDataSize
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Reports a status code with full parameters.
|
||||
|
||||
@ -300,7 +294,6 @@ ReportStatusCodeEx (
|
||||
IN UINTN ExtendedDataSize
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns TRUE if status codes of type EFI_PROGRESS_CODE are enabled
|
||||
|
||||
@ -319,7 +312,6 @@ ReportProgressCodeEnabled (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns TRUE if status codes of type EFI_ERROR_CODE are enabled
|
||||
|
||||
@ -338,7 +330,6 @@ ReportErrorCodeEnabled (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns TRUE if status codes of type EFI_DEBUG_CODE are enabled
|
||||
|
||||
@ -357,7 +348,6 @@ ReportDebugCodeEnabled (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Reports a status code with minimal parameters if the status code type is enabled.
|
||||
|
||||
@ -382,7 +372,6 @@ ReportDebugCodeEnabled (
|
||||
ReportStatusCode(Type,Value) : \
|
||||
EFI_UNSUPPORTED
|
||||
|
||||
|
||||
/**
|
||||
Reports a status code with a Device Path Protocol as the extended data if the
|
||||
status code type is enabled.
|
||||
@ -413,7 +402,6 @@ ReportDebugCodeEnabled (
|
||||
ReportStatusCodeWithDevicePath(Type,Value,DevicePathParameter) : \
|
||||
EFI_UNSUPPORTED
|
||||
|
||||
|
||||
/**
|
||||
Reports a status code with an extended data buffer if the status code type
|
||||
is enabled.
|
||||
|
@ -357,6 +357,7 @@ S3BootScriptSaveInformation (
|
||||
IN UINT32 InformationLength,
|
||||
IN VOID *Information
|
||||
);
|
||||
|
||||
/**
|
||||
Adds a record for I/O reads the I/O location and continues when the exit criteria
|
||||
is satisfied, or after a defined duration.
|
||||
@ -415,6 +416,7 @@ S3BootScriptSavePciPoll (
|
||||
IN VOID *DataMask,
|
||||
IN UINT64 Delay
|
||||
);
|
||||
|
||||
/**
|
||||
Adds a record for PCI configuration space reads and continues when the exit criteria
|
||||
is satisfied, or after a defined duration.
|
||||
@ -451,6 +453,7 @@ S3BootScriptSavePci2Poll (
|
||||
IN VOID *DataMask,
|
||||
IN UINT64 Delay
|
||||
);
|
||||
|
||||
/**
|
||||
Save ASCII string information specified by Buffer to boot script with opcode
|
||||
EFI_BOOT_SCRIPT_INFORMATION_OPCODE.
|
||||
@ -511,6 +514,7 @@ EFIAPI
|
||||
S3BootScriptExecute (
|
||||
VOID
|
||||
);
|
||||
|
||||
/**
|
||||
Move the last boot script entry to the position
|
||||
|
||||
@ -538,6 +542,7 @@ S3BootScriptMoveLastOpcode (
|
||||
IN BOOLEAN BeforeOrAfter,
|
||||
IN OUT VOID **Position OPTIONAL
|
||||
);
|
||||
|
||||
/**
|
||||
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 CONST CHAR8 *Label
|
||||
);
|
||||
|
||||
/**
|
||||
Compare two positions in the boot script table and return their relative position.
|
||||
@param Position1 The positions in the boot script table to compare
|
||||
|
@ -11,7 +11,6 @@
|
||||
#ifndef __S3_PCI_SEGMENT_LIB__
|
||||
#define __S3_PCI_SEGMENT_LIB__
|
||||
|
||||
|
||||
/**
|
||||
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.
|
||||
|
@ -8,6 +8,7 @@
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __INT_SAFE_LIB_H__
|
||||
#define __INT_SAFE_LIB_H__
|
||||
|
||||
@ -712,7 +713,6 @@ SafeInt32ToUint16 (
|
||||
OUT UINT16 *Result
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
INT32 -> UINT32 conversion
|
||||
|
||||
|
@ -54,7 +54,6 @@ SerialPortWrite (
|
||||
IN UINTN NumberOfBytes
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Read data from serial device and save the datas in buffer.
|
||||
|
||||
|
@ -487,5 +487,4 @@ SmBusBlockProcessCall (
|
||||
OUT RETURN_STATUS *Status OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -33,4 +33,3 @@ SmmIsMmioValid (
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
#ifndef __SMM_LIB_H__
|
||||
#define __SMM_LIB_H__
|
||||
|
||||
|
||||
/**
|
||||
Triggers an SMI at boot time.
|
||||
|
||||
@ -24,7 +23,6 @@ TriggerBootServiceSoftwareSmi (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Triggers an SMI at run time.
|
||||
|
||||
@ -37,7 +35,6 @@ TriggerRuntimeSoftwareSmi (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Test if a boot time software SMI happened.
|
||||
|
||||
@ -54,7 +51,6 @@ IsBootServiceSoftwareSmi (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Test if a run time software SMI happened.
|
||||
|
||||
@ -80,4 +76,5 @@ EFIAPI
|
||||
ClearSmi (
|
||||
VOID
|
||||
);
|
||||
|
||||
#endif
|
||||
|
@ -52,7 +52,6 @@ _ModuleEntryPoint (
|
||||
IN EFI_MM_SYSTEM_TABLE *MmSystemTable
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Auto generated function that calls the library constructors for all of the
|
||||
module's dependent libraries.
|
||||
@ -78,7 +77,6 @@ ProcessLibraryConstructorList (
|
||||
IN EFI_MM_SYSTEM_TABLE *MmSystemTable
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Auto generated function that calls the library descructors for all of the
|
||||
module's dependent libraries.
|
||||
@ -104,7 +102,6 @@ ProcessLibraryDestructorList (
|
||||
IN EFI_MM_SYSTEM_TABLE *MmSystemTable
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Auto generated function that calls a set of module entry points.
|
||||
|
||||
|
@ -14,7 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
///
|
||||
typedef volatile UINTN SPIN_LOCK;
|
||||
|
||||
|
||||
/**
|
||||
Retrieves the architecture-specific spin lock alignment requirements for
|
||||
optimal spin lock performance.
|
||||
@ -37,7 +36,6 @@ GetSpinLockProperties (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Initializes a spin lock to the released state and returns the spin lock.
|
||||
|
||||
@ -60,7 +58,6 @@ InitializeSpinLock (
|
||||
OUT SPIN_LOCK *SpinLock
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Waits until a spin lock can be placed in the acquired state.
|
||||
|
||||
@ -87,7 +84,6 @@ AcquireSpinLock (
|
||||
IN OUT SPIN_LOCK *SpinLock
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Attempts to place a spin lock in the acquired state.
|
||||
|
||||
@ -111,7 +107,6 @@ AcquireSpinLockOrFail (
|
||||
IN OUT SPIN_LOCK *SpinLock
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Releases a spin lock.
|
||||
|
||||
@ -132,7 +127,6 @@ ReleaseSpinLock (
|
||||
IN OUT SPIN_LOCK *SpinLock
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Performs an atomic increment of a 32-bit unsigned integer.
|
||||
|
||||
@ -153,7 +147,6 @@ InterlockedIncrement (
|
||||
IN volatile UINT32 *Value
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Performs an atomic decrement of a 32-bit unsigned integer.
|
||||
|
||||
@ -174,7 +167,6 @@ InterlockedDecrement (
|
||||
IN volatile UINT32 *Value
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Performs an atomic compare exchange operation on a 16-bit unsigned integer.
|
||||
|
||||
@ -228,7 +220,6 @@ InterlockedCompareExchange32 (
|
||||
IN UINT32 ExchangeValue
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Performs an atomic compare exchange operation on a 64-bit unsigned integer.
|
||||
|
||||
@ -255,7 +246,6 @@ InterlockedCompareExchange64 (
|
||||
IN UINT64 ExchangeValue
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Performs an atomic compare exchange operation on a pointer value.
|
||||
|
||||
@ -283,5 +273,3 @@ InterlockedCompareExchangePointer (
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -14,7 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
///
|
||||
extern CONST UINT32 _gUefiDriverRevision;
|
||||
|
||||
|
||||
/**
|
||||
Entry point to UEFI Application.
|
||||
|
||||
@ -39,7 +38,6 @@ _ModuleEntryPoint (
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
|
||||
|
||||
@ -58,7 +56,6 @@ EfiMain (
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Invokes the library destructors for all dependent libraries and terminates
|
||||
the UEFI Application.
|
||||
@ -75,7 +72,6 @@ Exit (
|
||||
IN EFI_STATUS Status
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Autogenerated function that calls the library constructors for all of the module's
|
||||
dependent libraries.
|
||||
@ -100,7 +96,6 @@ ProcessLibraryConstructorList (
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Autogenerated function that calls the library descructors for all of the module's
|
||||
dependent libraries.
|
||||
|
@ -25,7 +25,6 @@ extern CONST UINT32 _gUefiDriverRevision;
|
||||
///
|
||||
extern CONST UINT8 _gDriverUnloadImageCount;
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
|
||||
|
||||
@ -77,7 +75,6 @@ EfiMain (
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Invokes the library destructors for all dependent libraries and terminates the
|
||||
DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
|
||||
@ -94,7 +91,6 @@ ExitDriver (
|
||||
IN EFI_STATUS Status
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Autogenerated function that calls the library constructors for all of the module's
|
||||
dependent libraries.
|
||||
@ -119,7 +115,6 @@ ProcessLibraryConstructorList (
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Autogenerated function that calls the library descructors for all of the module's
|
||||
dependent libraries.
|
||||
@ -143,7 +138,6 @@ ProcessLibraryDestructorList (
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Autogenerated function that calls a set of module entry points.
|
||||
|
||||
@ -165,7 +159,6 @@ ProcessModuleEntryPointList (
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Autogenerated function that calls a set of module unload handlers.
|
||||
|
||||
|
@ -313,7 +313,6 @@ EfiInitializeLock (
|
||||
#define EFI_INITIALIZE_LOCK_VARIABLE(Priority) \
|
||||
{Priority, TPL_APPLICATION, EfiLockReleased }
|
||||
|
||||
|
||||
/**
|
||||
Macro that calls DebugAssert() if an EFI_LOCK structure is not in the locked state.
|
||||
|
||||
@ -342,7 +341,6 @@ EfiInitializeLock (
|
||||
#define ASSERT_LOCKED(LockParameter)
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
Acquires ownership of a lock.
|
||||
|
||||
@ -680,7 +678,6 @@ FreeUnicodeStringTable (
|
||||
IN EFI_UNICODE_STRING_TABLE *UnicodeStringTable
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Returns the status whether get the variable success. The function retrieves
|
||||
variable through the UEFI Runtime Service GetVariable(). The
|
||||
@ -889,6 +886,7 @@ UnicodeStringDisplayLength (
|
||||
//
|
||||
// Functions that abstract early Framework contamination of UEFI.
|
||||
//
|
||||
|
||||
/**
|
||||
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
|
||||
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.
|
||||
|
||||
@ -1308,7 +1304,6 @@ EfiLibInstallDriverBinding (
|
||||
IN EFI_HANDLE DriverBindingHandle
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Uninstalls a Driver Binding Protocol instance.
|
||||
|
||||
@ -1327,7 +1322,6 @@ EfiLibUninstallDriverBinding (
|
||||
IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Installs and completes the initialization of a Driver Binding Protocol instance and
|
||||
optionally installs the Component Name, Driver Configuration and Driver Diagnostics Protocols.
|
||||
@ -1366,7 +1360,6 @@ EfiLibInstallAllDriverProtocols (
|
||||
IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Uninstalls a Driver Binding Protocol instance and optionally uninstalls the
|
||||
Component Name, Driver Configuration and Driver Diagnostics Protocols.
|
||||
@ -1392,7 +1385,6 @@ EfiLibUninstallAllDriverProtocols (
|
||||
IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
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
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Installs Driver Binding Protocol with optional Component Name, Component Name 2, Driver
|
||||
Configuration, Driver Configuration 2, Driver Diagnostics, and Driver Diagnostics 2 Protocols.
|
||||
@ -1495,7 +1485,6 @@ EfiLibInstallAllDriverProtocols2 (
|
||||
IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL *DriverDiagnostics2 OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Uninstalls Driver Binding Protocol with optional Component Name, Component Name 2, Driver
|
||||
Configuration, Driver Configuration 2, Driver Diagnostics, and Driver Diagnostics 2 Protocols.
|
||||
@ -1528,7 +1517,6 @@ EfiLibUninstallAllDriverProtocols2 (
|
||||
IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL *DriverDiagnostics2 OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Appends a formatted Unicode string to a Null-terminated Unicode string
|
||||
|
||||
|
@ -424,7 +424,6 @@ EfiSetVirtualAddressMap (
|
||||
IN CONST EFI_MEMORY_DESCRIPTOR *VirtualMap
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Convert the standard Lib double linked list to a virtual mapping.
|
||||
|
||||
@ -489,7 +488,6 @@ EfiUpdateCapsule (
|
||||
IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This service is a wrapper for the UEFI Runtime Service QueryCapsuleCapabilities().
|
||||
|
||||
@ -533,7 +531,6 @@ EfiQueryCapsuleCapabilities (
|
||||
OUT EFI_RESET_TYPE *ResetType
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This service is a wrapper for the UEFI Runtime Service QueryVariableInfo().
|
||||
|
||||
@ -578,4 +575,3 @@ EfiQueryVariableInfo (
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -93,7 +93,6 @@ ScsiTestUnitReadyCommand (
|
||||
OUT UINT8 *TargetStatus
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute Inquiry SCSI command on a specific SCSI target.
|
||||
|
||||
@ -195,7 +194,6 @@ ScsiInquiryCommand (
|
||||
IN BOOLEAN EnableVitalProductData
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute Inquiry SCSI command on a specific SCSI target.
|
||||
|
||||
@ -300,7 +298,6 @@ ScsiInquiryCommandEx (
|
||||
IN UINT8 PageCode
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute Mode Sense(10) SCSI command on a specific SCSI target.
|
||||
|
||||
@ -406,8 +403,6 @@ ScsiModeSense10Command (
|
||||
IN UINT8 PageCode
|
||||
);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Execute Request Sense SCSI command on a specific SCSI target.
|
||||
|
||||
@ -451,7 +446,6 @@ ScsiRequestSenseCommand (
|
||||
OUT UINT8 *TargetStatus
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute Read Capacity SCSI command on a specific SCSI target.
|
||||
|
||||
@ -510,7 +504,6 @@ ScsiReadCapacityCommand (
|
||||
IN BOOLEAN Pmi
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute Read Capacity SCSI 16 command on a specific SCSI target.
|
||||
|
||||
@ -569,7 +562,6 @@ ScsiReadCapacity16Command (
|
||||
IN BOOLEAN Pmi
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute Read(10) SCSI command on a specific SCSI target.
|
||||
|
||||
@ -630,7 +622,6 @@ ScsiRead10Command (
|
||||
IN UINT32 SectorSize
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute Write(10) SCSI command on a specific SCSI target.
|
||||
|
||||
@ -751,7 +742,6 @@ ScsiRead16Command (
|
||||
IN UINT32 SectorSize
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute Write(16) SCSI command on a specific SCSI target.
|
||||
|
||||
@ -812,7 +802,6 @@ ScsiWrite16Command (
|
||||
IN UINT32 SectorSize
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute Security Protocol In SCSI command on a specific SCSI target.
|
||||
|
||||
@ -878,7 +867,6 @@ ScsiSecurityProtocolInCommand (
|
||||
OUT UINTN *TransferLength
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute Security Protocol Out SCSI command on a specific SCSI target.
|
||||
|
||||
@ -940,7 +928,6 @@ ScsiSecurityProtocolOutCommand (
|
||||
IN OUT VOID *DataBuffer OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute blocking/non-blocking Read(10) SCSI command on a specific SCSI
|
||||
target.
|
||||
@ -1030,7 +1017,6 @@ ScsiRead10CommandEx (
|
||||
IN EFI_EVENT Event OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute blocking/non-blocking Write(10) SCSI command on a specific SCSI
|
||||
target.
|
||||
@ -1120,7 +1106,6 @@ ScsiWrite10CommandEx (
|
||||
IN EFI_EVENT Event OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute blocking/non-blocking Read(16) SCSI command on a specific SCSI
|
||||
target.
|
||||
@ -1210,7 +1195,6 @@ ScsiRead16CommandEx (
|
||||
IN EFI_EVENT Event OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Execute blocking/non-blocking Write(16) SCSI command on a specific SCSI
|
||||
target.
|
||||
|
@ -7,7 +7,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef __USB_DXE_LIB_H__
|
||||
#define __USB_DXE_LIB_H__
|
||||
|
||||
@ -40,7 +39,6 @@ UsbGetHidDescriptor (
|
||||
OUT EFI_USB_HID_DESCRIPTOR *HidDescriptor
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Get the report descriptor of the specified USB HID interface.
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
PI Version 1.0
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __PI_DEPENDENCY_H__
|
||||
#define __PI_DEPENDENCY_H__
|
||||
|
||||
@ -31,7 +32,6 @@
|
||||
#define EFI_DEP_FALSE 0x07
|
||||
#define EFI_DEP_END 0x08
|
||||
|
||||
|
||||
///
|
||||
/// If present, this must be the first opcode,
|
||||
/// EFI_DEP_SOR is only used by DXE driver.
|
||||
|
@ -204,7 +204,6 @@ typedef struct {
|
||||
EFI_HANDLE DeviceHandle;
|
||||
} EFI_GCD_IO_SPACE_DESCRIPTOR;
|
||||
|
||||
|
||||
/**
|
||||
Adds reserved memory, system memory, or memory-mapped I/O resources to the
|
||||
global coherency domain of the processor.
|
||||
@ -599,8 +598,6 @@ EFI_STATUS
|
||||
OUT EFI_GCD_IO_SPACE_DESCRIPTOR **IoSpaceMap
|
||||
);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Loads and executed DXE drivers from firmware volumes.
|
||||
|
||||
|
@ -9,7 +9,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef __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_HEADER_INVALID 0x20
|
||||
|
||||
|
||||
///
|
||||
/// Each file begins with the header that describe the
|
||||
/// contents and state of the files.
|
||||
@ -506,4 +504,3 @@ typedef struct {
|
||||
#pragma pack()
|
||||
|
||||
#endif
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user