summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Uefi
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Uefi')
-rw-r--r--MdePkg/Include/Uefi/UefiBaseType.h13
-rw-r--r--MdePkg/Include/Uefi/UefiGpt.h25
-rw-r--r--MdePkg/Include/Uefi/UefiInternalFormRepresentation.h52
-rw-r--r--MdePkg/Include/Uefi/UefiMultiPhase.h28
-rw-r--r--MdePkg/Include/Uefi/UefiPxe.h212
-rw-r--r--MdePkg/Include/Uefi/UefiSpec.h148
6 files changed, 240 insertions, 238 deletions
diff --git a/MdePkg/Include/Uefi/UefiBaseType.h b/MdePkg/Include/Uefi/UefiBaseType.h
index c27dd99..35505a5 100644
--- a/MdePkg/Include/Uefi/UefiBaseType.h
+++ b/MdePkg/Include/Uefi/UefiBaseType.h
@@ -18,10 +18,11 @@
#include "Base.h"
-//
-// Basical data type definitions introduced in UEFI.
-//
+///
+/// Basical data type definitions introduced in UEFI.
+///
typedef GUID EFI_GUID;
+
///
/// Function return status for EFI API
///
@@ -148,9 +149,9 @@ typedef union {
(EFI_SIGNATURE_32 (A, B, C, D) | ((UINT64) (EFI_SIGNATURE_32 (E, F, G, H)) << 32))
-//
-// Returns the byte offset to a field within a structure
-//
+///
+/// Returns the byte offset to a field within a structure
+///
#define EFI_FIELD_OFFSET(TYPE,Field) ((UINTN)(&(((TYPE *) 0)->Field)))
//
diff --git a/MdePkg/Include/Uefi/UefiGpt.h b/MdePkg/Include/Uefi/UefiGpt.h
index c79d808..f97030c 100644
--- a/MdePkg/Include/Uefi/UefiGpt.h
+++ b/MdePkg/Include/Uefi/UefiGpt.h
@@ -17,15 +17,16 @@
#define PRIMARY_PART_HEADER_LBA 1
-//
-// EFI Partition Table Signature: "EFI PART"
-//
+///
+/// EFI Partition Table Signature: "EFI PART"
+///
#define EFI_PTAB_HEADER_ID 0x5452415020494645ULL
#pragma pack(1)
-//
-// GPT Partition Table Header
-//
+
+///
+/// GPT Partition Table Header
+///
typedef struct {
EFI_TABLE_HEADER Header;
EFI_LBA MyLBA;
@@ -39,9 +40,9 @@ typedef struct {
UINT32 PartitionEntryArrayCRC32;
} EFI_PARTITION_TABLE_HEADER;
-//
-// GPT Partition Entry
-//
+///
+/// GPT Partition Entry
+///
typedef struct {
EFI_GUID PartitionTypeGUID;
EFI_GUID UniquePartitionGUID;
@@ -51,9 +52,9 @@ typedef struct {
CHAR16 PartitionName[36];
} EFI_PARTITION_ENTRY;
-//
-// GPT Partition Entry Status
-//
+///
+/// GPT Partition Entry Status
+///
typedef struct {
BOOLEAN OutOfRange;
BOOLEAN Overlap;
diff --git a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h b/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h
index a0dc166..e1b3f9b 100644
--- a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h
+++ b/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h
@@ -41,9 +41,9 @@ typedef UINT32 EFI_HII_FONT_STYLE;
#pragma pack(1)
-//
-// HII package list
-//
+///
+/// HII package list
+///
typedef struct {
EFI_GUID PackageListGuid;
UINT32 PackageLength;
@@ -1391,22 +1391,24 @@ typedef struct {
UINT16 AffectedAttribute;
} EFI_KEY_DESCRIPTOR;
-//
-// A key which is affected by all the standard shift modifiers.
-// Most keys would be expected to have this bit active.
-//
+///
+/// A key which is affected by all the standard shift modifiers.
+/// Most keys would be expected to have this bit active.
+///
#define EFI_AFFECTED_BY_STANDARD_SHIFT 0x0001
-//
-// This key is affected by the caps lock so that if a keyboard driver
-// would need to disambiguate between a key which had a "1" defined
-// versus a "a" character. Having this bit turned on would tell
-// the keyboard driver to use the appropriate shifted state or not.
-//
+
+///
+/// This key is affected by the caps lock so that if a keyboard driver
+/// would need to disambiguate between a key which had a "1" defined
+/// versus a "a" character. Having this bit turned on would tell
+/// the keyboard driver to use the appropriate shifted state or not.
+///
#define EFI_AFFECTED_BY_CAPS_LOCK 0x0002
-//
-// Similar to the case of CAPS lock, if this bit is active, the key
-// is affected by the num lock being turned on.
-//
+
+///
+/// Similar to the case of CAPS lock, if this bit is active, the key
+/// is affected by the num lock being turned on.
+///
#define EFI_AFFECTED_BY_NUM_LOCK 0x0004
typedef struct {
@@ -1493,14 +1495,14 @@ typedef struct {
-//
-// References to string tokens must use this macro to enable scanning for
-// token usages.
-//
-//
-// STRING_TOKEN is not defined in UEFI specification. But it is placed
-// here for the easy access by C files and VFR source files.
-//
+///
+/// References to string tokens must use this macro to enable scanning for
+/// token usages.
+///
+///
+/// STRING_TOKEN is not defined in UEFI specification. But it is placed
+/// here for the easy access by C files and VFR source files.
+///
#define STRING_TOKEN(t) t
#endif
diff --git a/MdePkg/Include/Uefi/UefiMultiPhase.h b/MdePkg/Include/Uefi/UefiMultiPhase.h
index e4a8d84..c663a68 100644
--- a/MdePkg/Include/Uefi/UefiMultiPhase.h
+++ b/MdePkg/Include/Uefi/UefiMultiPhase.h
@@ -17,9 +17,9 @@
#include <ProcessorBind.h>
-//
-// Enumeration of memory types introduced in UEFI.
-//
+///
+/// Enumeration of memory types introduced in UEFI.
+///
typedef enum {
EfiReservedMemoryType,
EfiLoaderCode,
@@ -39,9 +39,9 @@ typedef enum {
} EFI_MEMORY_TYPE;
-//
-// Data structure that precedes all of the standard EFI table types.
-//
+///
+/// Data structure that precedes all of the standard EFI table types.
+///
typedef struct {
UINT64 Signature;
UINT32 Revision;
@@ -50,22 +50,20 @@ typedef struct {
UINT32 Reserved;
} EFI_TABLE_HEADER;
-//
-// Attributes of variable.
-//
+///
+/// Attributes of variable.
+///
#define EFI_VARIABLE_NON_VOLATILE 0x00000001
#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002
#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004
#define EFI_VARIABLE_HARDWARE_ERROR_RECORD 0x00000008
-//
-// This attribute is identified by the mnemonic 'HR'
-// elsewhere in this specification.
-//
+///
+/// This attribute is identified by the mnemonic 'HR'
+/// elsewhere in this specification.
+///
#define EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS 0x00000010
-
-
//
// _WIN_CERTIFICATE.wCertificateType
//
diff --git a/MdePkg/Include/Uefi/UefiPxe.h b/MdePkg/Include/Uefi/UefiPxe.h
index ad70c02..ec42452 100644
--- a/MdePkg/Include/Uefi/UefiPxe.h
+++ b/MdePkg/Include/Uefi/UefiPxe.h
@@ -31,14 +31,14 @@
((PXE_UINT32) (a) & 0xFF) \
)
-//
-// UNDI ROM ID and devive ID signature
-//
+///
+/// UNDI ROM ID and devive ID signature
+///
#define PXE_BUSTYPE_PXE PXE_BUSTYPE ('!', 'P', 'X', 'E')
-//
-// BUS ROM ID signatures
-//
+///
+/// BUS ROM ID signatures
+///
#define PXE_BUSTYPE_PCI PXE_BUSTYPE ('P', 'C', 'I', 'R')
#define PXE_BUSTYPE_PC_CARD PXE_BUSTYPE ('P', 'C', 'C', 'R')
#define PXE_BUSTYPE_USB PXE_BUSTYPE ('U', 'S', 'B', 'R')
@@ -77,9 +77,9 @@ typedef UINT16 PXE_UINT16;
typedef UINT32 PXE_UINT32;
typedef UINTN PXE_UINTN;
-//
-// typedef unsigned long PXE_UINT64;
-//
+///
+/// typedef unsigned long PXE_UINT64;
+///
typedef UINT64 PXE_UINT64;
typedef PXE_UINT8 PXE_BOOL;
@@ -88,99 +88,99 @@ typedef PXE_UINT8 PXE_BOOL;
typedef PXE_UINT16 PXE_OPCODE;
-//
-// Return UNDI operational state.
-//
+///
+/// Return UNDI operational state.
+///
#define PXE_OPCODE_GET_STATE 0x0000
-//
-// Change UNDI operational state from Stopped to Started.
-//
+///
+/// Change UNDI operational state from Stopped to Started.
+///
#define PXE_OPCODE_START 0x0001
-//
-// Change UNDI operational state from Started to Stopped.
-//
+///
+/// Change UNDI operational state from Started to Stopped.
+///
#define PXE_OPCODE_STOP 0x0002
-//
-// Get UNDI initialization information.
-//
+///
+/// Get UNDI initialization information.
+///
#define PXE_OPCODE_GET_INIT_INFO 0x0003
-//
-// Get NIC configuration information.
-//
+///
+/// Get NIC configuration information.
+///
#define PXE_OPCODE_GET_CONFIG_INFO 0x0004
-//
-// Changed UNDI operational state from Started to Initialized.
-//
+///
+/// Changed UNDI operational state from Started to Initialized.
+///
#define PXE_OPCODE_INITIALIZE 0x0005
-//
-// Re-initialize the NIC H/W.
-//
+///
+/// Re-initialize the NIC H/W.
+///
#define PXE_OPCODE_RESET 0x0006
-//
-// Change the UNDI operational state from Initialized to Started.
-//
+///
+/// Change the UNDI operational state from Initialized to Started.
+///
#define PXE_OPCODE_SHUTDOWN 0x0007
-//
-// Read & change state of external interrupt enables.
-//
+///
+/// Read & change state of external interrupt enables.
+///
#define PXE_OPCODE_INTERRUPT_ENABLES 0x0008
-//
-// Read & change state of packet receive filters.
-//
+///
+/// Read & change state of packet receive filters.
+///
#define PXE_OPCODE_RECEIVE_FILTERS 0x0009
-//
-// Read & change station MAC address.
-//
+///
+/// Read & change station MAC address.
+///
#define PXE_OPCODE_STATION_ADDRESS 0x000A
-//
-// Read traffic statistics.
-//
+///
+/// Read traffic statistics.
+///
#define PXE_OPCODE_STATISTICS 0x000B
-//
-// Convert multicast IP address to multicast MAC address.
-//
+///
+/// Convert multicast IP address to multicast MAC address.
+///
#define PXE_OPCODE_MCAST_IP_TO_MAC 0x000C
-//
-// Read or change non-volatile storage on the NIC.
-//
+///
+/// Read or change non-volatile storage on the NIC.
+///
#define PXE_OPCODE_NVDATA 0x000D
-//
-// Get & clear interrupt status.
-//
+///
+/// Get & clear interrupt status.
+///
#define PXE_OPCODE_GET_STATUS 0x000E
-//
-// Fill media header in packet for transmit.
-//
+///
+/// Fill media header in packet for transmit.
+///
#define PXE_OPCODE_FILL_HEADER 0x000F
-//
-// Transmit packet(s).
-//
+///
+/// Transmit packet(s).
+///
#define PXE_OPCODE_TRANSMIT 0x0010
-//
-// Receive packet.
-//
+///
+/// Receive packet.
+///
#define PXE_OPCODE_RECEIVE 0x0011
-//
-// Last valid PXE UNDI OpCode number.
-//
+///
+/// Last valid PXE UNDI OpCode number.
+///
#define PXE_OPCODE_LAST_VALID 0x0011
typedef PXE_UINT16 PXE_OPFLAGS;
@@ -245,28 +245,28 @@ typedef PXE_UINT16 PXE_OPFLAGS;
#define PXE_OPFLAGS_INTERRUPT_DISABLE 0x4000
#define PXE_OPFLAGS_INTERRUPT_READ 0x0000
-//
-// Enable receive interrupts. An external interrupt will be generated
-// after a complete non-error packet has been received.
-//
+///
+/// Enable receive interrupts. An external interrupt will be generated
+/// after a complete non-error packet has been received.
+///
#define PXE_OPFLAGS_INTERRUPT_RECEIVE 0x0001
-//
-// Enable transmit interrupts. An external interrupt will be generated
-// after a complete non-error packet has been transmitted.
-//
+///
+/// Enable transmit interrupts. An external interrupt will be generated
+/// after a complete non-error packet has been transmitted.
+///
#define PXE_OPFLAGS_INTERRUPT_TRANSMIT 0x0002
-//
-// Enable command interrupts. An external interrupt will be generated
-// when command execution stops.
-//
+///
+/// Enable command interrupts. An external interrupt will be generated
+/// when command execution stops.
+///
#define PXE_OPFLAGS_INTERRUPT_COMMAND 0x0004
-//
-// Generate software interrupt. Setting this bit generates an external
-// interrupt, if it is supported by the hardware.
-//
+///
+/// Generate software interrupt. Setting this bit generates an external
+/// interrupt, if it is supported by the hardware.
+///
#define PXE_OPFLAGS_INTERRUPT_SOFTWARE 0x0008
//
@@ -282,40 +282,40 @@ typedef PXE_UINT16 PXE_OPFLAGS;
#define PXE_OPFLAGS_RECEIVE_FILTER_DISABLE 0x4000
#define PXE_OPFLAGS_RECEIVE_FILTER_READ 0x0000
-//
-// To reset the contents of the multicast MAC address filter list,
-// set this OpFlag:
-//
+///
+/// To reset the contents of the multicast MAC address filter list,
+/// set this OpFlag:
+///
#define PXE_OPFLAGS_RECEIVE_FILTER_RESET_MCAST_LIST 0x2000
-//
-// Enable unicast packet receiving. Packets sent to the current station
-// MAC address will be received.
-//
+///
+/// Enable unicast packet receiving. Packets sent to the current station
+/// MAC address will be received.
+///
#define PXE_OPFLAGS_RECEIVE_FILTER_UNICAST 0x0001
-//
-// Enable broadcast packet receiving. Packets sent to the broadcast
-// MAC address will be received.
-//
+///
+/// Enable broadcast packet receiving. Packets sent to the broadcast
+/// MAC address will be received.
+///
#define PXE_OPFLAGS_RECEIVE_FILTER_BROADCAST 0x0002
-//
-// Enable filtered multicast packet receiving. Packets sent to any
-// of the multicast MAC addresses in the multicast MAC address filter
-// list will be received. If the filter list is empty, no multicast
-//
+///
+/// Enable filtered multicast packet receiving. Packets sent to any
+/// of the multicast MAC addresses in the multicast MAC address filter
+/// list will be received. If the filter list is empty, no multicast
+///
#define PXE_OPFLAGS_RECEIVE_FILTER_FILTERED_MULTICAST 0x0004
-//
-// Enable promiscuous packet receiving. All packets will be received.
-//
+///
+/// Enable promiscuous packet receiving. All packets will be received.
+///
#define PXE_OPFLAGS_RECEIVE_FILTER_PROMISCUOUS 0x0008
-//
-// Enable promiscuous multicast packet receiving. All multicast
-// packets will be received.
-//
+///
+/// Enable promiscuous multicast packet receiving. All multicast
+/// packets will be received.
+///
#define PXE_OPFLAGS_RECEIVE_FILTER_ALL_MULTICAST 0x0010
//
diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h
index 3d55a2c..122e239 100644
--- a/MdePkg/Include/Uefi/UefiSpec.h
+++ b/MdePkg/Include/Uefi/UefiSpec.h
@@ -25,9 +25,9 @@
#include <Protocol/SimpleTextIn.h>
#include <Protocol/SimpleTextOut.h>
-//
-// Enumeration of memory allocation.
-//
+///
+/// Enumeration of memory allocation.
+///
typedef enum {
AllocateAnyPages,
AllocateMaxAddress,
@@ -41,9 +41,9 @@ typedef enum {
#define EFI_TIME_ADJUST_DAYLIGHT 0x01
#define EFI_TIME_IN_DAYLIGHT 0x02
-//
-// Value definition for EFI_TIME.TimeZone
-//
+///
+/// Value definition for EFI_TIME.TimeZone
+///
#define EFI_UNSPECIFIED_TIMEZONE 0x07FF
//
@@ -62,9 +62,9 @@ typedef enum {
#define EFI_MEMORY_RP 0x0000000000002000ULL
#define EFI_MEMORY_XP 0x0000000000004000ULL
-//
-// range requires a runtime mapping
-//
+///
+/// range requires a runtime mapping
+///
#define EFI_MEMORY_RUNTIME 0x8000000000000000ULL
#define EFI_MEMORY_DESCRIPTOR_VERSION 1
@@ -76,15 +76,15 @@ typedef struct {
UINT64 Attribute;
} EFI_MEMORY_DESCRIPTOR;
-//
-// Build macros to find next EFI_MEMORY_DESCRIPTOR.
-//
+///
+/// Build macros to find next EFI_MEMORY_DESCRIPTOR.
+///
#define NextMemoryDescriptor(_Ptr, _Size) ((EFI_MEMORY_DESCRIPTOR *) (((UINT8 *) (_Ptr)) + (_Size)))
#define NEXT_MEMORY_DESCRIPTOR(_Ptr, _Size) NextMemoryDescriptor (_Ptr, _Size)
-//
-// Declare forward referenced data structures
-//
+///
+/// Declare forward referenced data structures
+///
typedef struct _EFI_SYSTEM_TABLE EFI_SYSTEM_TABLE;
/**
@@ -107,7 +107,7 @@ typedef struct _EFI_SYSTEM_TABLE EFI_SYSTEM_TABLE;
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_ALLOCATE_PAGES) (
+(EFIAPI *EFI_ALLOCATE_PAGES)(
IN EFI_ALLOCATE_TYPE Type,
IN EFI_MEMORY_TYPE MemoryType,
IN UINTN Pages,
@@ -128,7 +128,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_FREE_PAGES) (
+(EFIAPI *EFI_FREE_PAGES)(
IN EFI_PHYSICAL_ADDRESS Memory,
IN UINTN Pages
);
@@ -156,7 +156,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_GET_MEMORY_MAP) (
+(EFIAPI *EFI_GET_MEMORY_MAP)(
IN OUT UINTN *MemoryMapSize,
IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap,
OUT UINTN *MapKey,
@@ -179,7 +179,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_ALLOCATE_POOL) (
+(EFIAPI *EFI_ALLOCATE_POOL)(
IN EFI_MEMORY_TYPE PoolType,
IN UINTN Size,
OUT VOID **Buffer
@@ -196,7 +196,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_FREE_POOL) (
+(EFIAPI *EFI_FREE_POOL)(
IN VOID *Buffer
);
@@ -221,7 +221,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_SET_VIRTUAL_ADDRESS_MAP) (
+(EFIAPI *EFI_SET_VIRTUAL_ADDRESS_MAP)(
IN UINTN MemoryMapSize,
IN UINTN DescriptorSize,
IN UINT32 DescriptorVersion,
@@ -253,7 +253,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_CONNECT_CONTROLLER) (
+(EFIAPI *EFI_CONNECT_CONTROLLER)(
IN EFI_HANDLE ControllerHandle,
IN EFI_HANDLE *DriverImageHandle, OPTIONAL
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath, OPTIONAL
@@ -280,7 +280,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_DISCONNECT_CONTROLLER) (
+(EFIAPI *EFI_DISCONNECT_CONTROLLER)(
IN EFI_HANDLE ControllerHandle,
IN EFI_HANDLE DriverImageHandle, OPTIONAL
IN EFI_HANDLE ChildHandle OPTIONAL
@@ -311,7 +311,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_CONVERT_POINTER) (
+(EFIAPI *EFI_CONVERT_POINTER)(
IN UINTN DebugDisposition,
IN OUT VOID **Address
);
@@ -358,7 +358,7 @@ EFI_STATUS
**/
typedef
VOID
-(EFIAPI *EFI_EVENT_NOTIFY) (
+(EFIAPI *EFI_EVENT_NOTIFY)(
IN EFI_EVENT Event,
IN VOID *Context
);
@@ -381,7 +381,7 @@ VOID
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_CREATE_EVENT) (
+(EFIAPI *EFI_CREATE_EVENT)(
IN UINT32 Type,
IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction,
@@ -408,7 +408,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_CREATE_EVENT_EX) (
+(EFIAPI *EFI_CREATE_EVENT_EX)(
IN UINT32 Type,
IN EFI_TPL NotifyTpl OPTIONAL,
IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL,
@@ -436,7 +436,7 @@ typedef enum {
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_SET_TIMER) (
+(EFIAPI *EFI_SET_TIMER)(
IN EFI_EVENT Event,
IN EFI_TIMER_DELAY Type,
IN UINT64 TriggerTime
@@ -452,7 +452,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_SIGNAL_EVENT) (
+(EFIAPI *EFI_SIGNAL_EVENT)(
IN EFI_EVENT Event
);
@@ -472,7 +472,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_WAIT_FOR_EVENT) (
+(EFIAPI *EFI_WAIT_FOR_EVENT)(
IN UINTN NumberOfEvents,
IN EFI_EVENT *Event,
OUT UINTN *Index
@@ -488,7 +488,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_CLOSE_EVENT) (
+(EFIAPI *EFI_CLOSE_EVENT)(
IN EFI_EVENT Event
);
@@ -504,7 +504,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_CHECK_EVENT) (
+(EFIAPI *EFI_CHECK_EVENT)(
IN EFI_EVENT Event
);
@@ -528,7 +528,7 @@ EFI_STATUS
**/
typedef
EFI_TPL
-(EFIAPI *EFI_RAISE_TPL) (
+(EFIAPI *EFI_RAISE_TPL)(
IN EFI_TPL NewTpl
);
@@ -540,7 +540,7 @@ EFI_TPL
**/
typedef
VOID
-(EFIAPI *EFI_RESTORE_TPL) (
+(EFIAPI *EFI_RESTORE_TPL)(
IN EFI_TPL OldTpl
);
@@ -565,7 +565,7 @@ VOID
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_GET_VARIABLE) (
+(EFIAPI *EFI_GET_VARIABLE)(
IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid,
OUT UINT32 *Attributes, OPTIONAL
@@ -593,7 +593,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_GET_NEXT_VARIABLE_NAME) (
+(EFIAPI *EFI_GET_NEXT_VARIABLE_NAME)(
IN OUT UINTN *VariableNameSize,
IN OUT CHAR16 *VariableName,
IN OUT EFI_GUID *VendorGuid
@@ -619,7 +619,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_SET_VARIABLE) (
+(EFIAPI *EFI_SET_VARIABLE)(
IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid,
IN UINT32 Attributes,
@@ -653,7 +653,7 @@ typedef struct {
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_GET_TIME) (
+(EFIAPI *EFI_GET_TIME)(
OUT EFI_TIME *Time,
OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL
);
@@ -670,7 +670,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_SET_TIME) (
+(EFIAPI *EFI_SET_TIME)(
IN EFI_TIME *Time
);
@@ -688,7 +688,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_GET_WAKEUP_TIME) (
+(EFIAPI *EFI_GET_WAKEUP_TIME)(
OUT BOOLEAN *Enabled,
OUT BOOLEAN *Pending,
OUT EFI_TIME *Time
@@ -709,7 +709,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_SET_WAKEUP_TIME) (
+(EFIAPI *EFI_SET_WAKEUP_TIME)(
IN BOOLEAN Enable,
IN EFI_TIME *Time OPTIONAL
);
@@ -726,7 +726,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IMAGE_ENTRY_POINT) (
+(EFIAPI *EFI_IMAGE_ENTRY_POINT)(
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
);
@@ -759,7 +759,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IMAGE_LOAD) (
+(EFIAPI *EFI_IMAGE_LOAD)(
IN BOOLEAN BootPolicy,
IN EFI_HANDLE ParentImageHandle,
IN EFI_DEVICE_PATH_PROTOCOL *FilePath,
@@ -783,7 +783,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IMAGE_START) (
+(EFIAPI *EFI_IMAGE_START)(
IN EFI_HANDLE ImageHandle,
OUT UINTN *ExitDataSize,
OUT CHAR16 **ExitData OPTIONAL
@@ -806,7 +806,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_EXIT) (
+(EFIAPI *EFI_EXIT)(
IN EFI_HANDLE ImageHandle,
IN EFI_STATUS ExitStatus,
IN UINTN ExitDataSize,
@@ -826,7 +826,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IMAGE_UNLOAD) (
+(EFIAPI *EFI_IMAGE_UNLOAD)(
IN EFI_HANDLE ImageHandle
);
@@ -842,7 +842,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_EXIT_BOOT_SERVICES) (
+(EFIAPI *EFI_EXIT_BOOT_SERVICES)(
IN EFI_HANDLE ImageHandle,
IN UINTN MapKey
);
@@ -858,7 +858,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_STALL) (
+(EFIAPI *EFI_STALL)(
IN UINTN Microseconds
);
@@ -880,7 +880,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_SET_WATCHDOG_TIMER) (
+(EFIAPI *EFI_SET_WATCHDOG_TIMER)(
IN UINTN Timeout,
IN UINT64 WatchdogCode,
IN UINTN DataSize,
@@ -910,7 +910,7 @@ typedef enum {
**/
typedef
VOID
-(EFIAPI *EFI_RESET_SYSTEM) (
+(EFIAPI *EFI_RESET_SYSTEM)(
IN EFI_RESET_TYPE ResetType,
IN EFI_STATUS ResetStatus,
IN UINTN DataSize,
@@ -929,7 +929,7 @@ VOID
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_GET_NEXT_MONOTONIC_COUNT) (
+(EFIAPI *EFI_GET_NEXT_MONOTONIC_COUNT)(
OUT UINT64 *Count
);
@@ -945,7 +945,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_GET_NEXT_HIGH_MONO_COUNT) (
+(EFIAPI *EFI_GET_NEXT_HIGH_MONO_COUNT)(
OUT UINT32 *HighCount
);
@@ -964,7 +964,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_CALCULATE_CRC32) (
+(EFIAPI *EFI_CALCULATE_CRC32)(
IN VOID *Data,
IN UINTN DataSize,
OUT UINT32 *Crc32
@@ -980,7 +980,7 @@ EFI_STATUS
**/
typedef
VOID
-(EFIAPI *EFI_COPY_MEM) (
+(EFIAPI *EFI_COPY_MEM)(
IN VOID *Destination,
IN VOID *Source,
IN UINTN Length
@@ -996,7 +996,7 @@ VOID
**/
typedef
VOID
-(EFIAPI *EFI_SET_MEM) (
+(EFIAPI *EFI_SET_MEM)(
IN VOID *Buffer,
IN UINTN Size,
IN UINT8 Value
@@ -1029,7 +1029,7 @@ typedef enum {
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_INSTALL_PROTOCOL_INTERFACE) (
+(EFIAPI *EFI_INSTALL_PROTOCOL_INTERFACE)(
IN OUT EFI_HANDLE *Handle,
IN EFI_GUID *Protocol,
IN EFI_INTERFACE_TYPE InterfaceType,
@@ -1052,7 +1052,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_INSTALL_MULTIPLE_PROTOCOL_INTERFACES) (
+(EFIAPI *EFI_INSTALL_MULTIPLE_PROTOCOL_INTERFACES)(
IN OUT EFI_HANDLE *Handle,
...
);
@@ -1076,7 +1076,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_REINSTALL_PROTOCOL_INTERFACE) (
+(EFIAPI *EFI_REINSTALL_PROTOCOL_INTERFACE)(
IN EFI_HANDLE Handle,
IN EFI_GUID *Protocol,
IN VOID *OldInterface,
@@ -1101,7 +1101,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_UNINSTALL_PROTOCOL_INTERFACE) (
+(EFIAPI *EFI_UNINSTALL_PROTOCOL_INTERFACE)(
IN EFI_HANDLE Handle,
IN EFI_GUID *Protocol,
IN VOID *Interface
@@ -1120,7 +1120,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_UNINSTALL_MULTIPLE_PROTOCOL_INTERFACES) (
+(EFIAPI *EFI_UNINSTALL_MULTIPLE_PROTOCOL_INTERFACES)(
IN EFI_HANDLE Handle,
...
);
@@ -1139,7 +1139,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_HANDLE_PROTOCOL) (
+(EFIAPI *EFI_HANDLE_PROTOCOL)(
IN EFI_HANDLE Handle,
IN EFI_GUID *Protocol,
OUT VOID **Interface
@@ -1181,7 +1181,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_OPEN_PROTOCOL) (
+(EFIAPI *EFI_OPEN_PROTOCOL)(
IN EFI_HANDLE Handle,
IN EFI_GUID *Protocol,
OUT VOID **Interface,
@@ -1213,7 +1213,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_CLOSE_PROTOCOL) (
+(EFIAPI *EFI_CLOSE_PROTOCOL)(
IN EFI_HANDLE Handle,
IN EFI_GUID *Protocol,
IN EFI_HANDLE AgentHandle,
@@ -1245,7 +1245,7 @@ typedef struct {
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_OPEN_PROTOCOL_INFORMATION) (
+(EFIAPI *EFI_OPEN_PROTOCOL_INFORMATION)(
IN EFI_HANDLE Handle,
IN EFI_GUID *Protocol,
IN EFI_OPEN_PROTOCOL_INFORMATION_ENTRY **EntryBuffer,
@@ -1272,7 +1272,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_PROTOCOLS_PER_HANDLE) (
+(EFIAPI *EFI_PROTOCOLS_PER_HANDLE)(
IN EFI_HANDLE Handle,
OUT EFI_GUID ***ProtocolBuffer,
OUT UINTN *ProtocolBufferCount
@@ -1293,7 +1293,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_REGISTER_PROTOCOL_NOTIFY) (
+(EFIAPI *EFI_REGISTER_PROTOCOL_NOTIFY)(
IN EFI_GUID *Protocol,
IN EFI_EVENT Event,
OUT VOID **Registration
@@ -1326,7 +1326,7 @@ typedef enum {
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_LOCATE_HANDLE) (
+(EFIAPI *EFI_LOCATE_HANDLE)(
IN EFI_LOCATE_SEARCH_TYPE SearchType,
IN EFI_GUID *Protocol, OPTIONAL
IN VOID *SearchKey, OPTIONAL
@@ -1350,7 +1350,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_LOCATE_DEVICE_PATH) (
+(EFIAPI *EFI_LOCATE_DEVICE_PATH)(
IN EFI_GUID *Protocol,
IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
OUT EFI_HANDLE *Device
@@ -1371,7 +1371,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_INSTALL_CONFIGURATION_TABLE) (
+(EFIAPI *EFI_INSTALL_CONFIGURATION_TABLE)(
IN EFI_GUID *Guid,
IN VOID *Table
);
@@ -1396,7 +1396,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_LOCATE_HANDLE_BUFFER) (
+(EFIAPI *EFI_LOCATE_HANDLE_BUFFER)(
IN EFI_LOCATE_SEARCH_TYPE SearchType,
IN EFI_GUID *Protocol, OPTIONAL
IN VOID *SearchKey, OPTIONAL
@@ -1422,7 +1422,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_LOCATE_PROTOCOL) (
+(EFIAPI *EFI_LOCATE_PROTOCOL)(
IN EFI_GUID *Protocol,
IN VOID *Registration, OPTIONAL
OUT VOID **Interface
@@ -1475,7 +1475,7 @@ typedef struct {
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_UPDATE_CAPSULE) (
+(EFIAPI *EFI_UPDATE_CAPSULE)(
IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,
IN UINTN CapsuleCount,
IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL
@@ -1501,7 +1501,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_QUERY_CAPSULE_CAPABILITIES) (
+(EFIAPI *EFI_QUERY_CAPSULE_CAPABILITIES)(
IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,
IN UINTN CapsuleCount,
OUT UINT64 *MaximumCapsuleSize,
@@ -1532,7 +1532,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_QUERY_VARIABLE_INFO) (
+(EFIAPI *EFI_QUERY_VARIABLE_INFO)(
IN UINT32 Attributes,
OUT UINT64 *MaximumVariableStorageSize,
OUT UINT64 *RemainingVariableStorageSize,