diff options
author | gdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-16 10:29:27 +0000 |
---|---|---|
committer | gdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-16 10:29:27 +0000 |
commit | 9205b2d7669ed7cac1ae1f09cbf9387f687c3025 (patch) | |
tree | 67a96fbf67dd733b006b8a89e7cab8bd5968d6cc /IntelFrameworkPkg/Include/Framework | |
parent | c40aa22af055aa55e3200cc7befd07d1e82a9fdd (diff) | |
download | edk2-platforms-9205b2d7669ed7cac1ae1f09cbf9387f687c3025.tar.xz |
Update the header file coding style (alignment, comment, etc.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7893 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkPkg/Include/Framework')
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/DataHubRecords.h | 1416 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/DxeCis.h | 47 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/FrameworkInternalFormRepresentation.h | 321 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/Hob.h | 8 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/Legacy16.h | 365 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/PeiCis.h | 85 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/StatusCode.h | 37 |
7 files changed, 1082 insertions, 1197 deletions
diff --git a/IntelFrameworkPkg/Include/Framework/DataHubRecords.h b/IntelFrameworkPkg/Include/Framework/DataHubRecords.h index b3d70336ee..cfb664cf16 100644 --- a/IntelFrameworkPkg/Include/Framework/DataHubRecords.h +++ b/IntelFrameworkPkg/Include/Framework/DataHubRecords.h @@ -33,101 +33,101 @@ #pragma pack(1)
typedef struct _USB_PORT_DEVICE_PATH {
- ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
- PCI_DEVICE_PATH PciBusDevicePath;
- EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
+ ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
+ PCI_DEVICE_PATH PciBusDevicePath;
+ EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
} USB_PORT_DEVICE_PATH;
//
// IDE
//
typedef struct _IDE_DEVICE_PATH {
- ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
- PCI_DEVICE_PATH PciBusDevicePath;
- EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
+ ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
+ PCI_DEVICE_PATH PciBusDevicePath;
+ EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
} IDE_DEVICE_PATH;
//
// RMC Connector
//
typedef struct _RMC_CONN_DEVICE_PATH {
- ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
- PCI_DEVICE_PATH PciBridgeDevicePath;
- PCI_DEVICE_PATH PciBusDevicePath;
- EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
+ ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
+ PCI_DEVICE_PATH PciBridgeDevicePath;
+ PCI_DEVICE_PATH PciBusDevicePath;
+ EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
} RMC_CONN_DEVICE_PATH;
//
// RIDE
//
typedef struct _RIDE_DEVICE_PATH {
- ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
- PCI_DEVICE_PATH PciBridgeDevicePath;
- PCI_DEVICE_PATH PciBusDevicePath;
- EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
+ ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
+ PCI_DEVICE_PATH PciBridgeDevicePath;
+ PCI_DEVICE_PATH PciBusDevicePath;
+ EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
} RIDE_DEVICE_PATH;
//
// Gigabit NIC
//
typedef struct _GB_NIC_DEVICE_PATH {
- ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
- PCI_DEVICE_PATH PciBridgeDevicePath;
- PCI_DEVICE_PATH PciXBridgeDevicePath;
- PCI_DEVICE_PATH PciXBusDevicePath;
- EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
+ ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
+ PCI_DEVICE_PATH PciBridgeDevicePath;
+ PCI_DEVICE_PATH PciXBridgeDevicePath;
+ PCI_DEVICE_PATH PciXBusDevicePath;
+ EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
} GB_NIC_DEVICE_PATH;
//
// P/S2 Connector
//
typedef struct _PS2_CONN_DEVICE_PATH {
- ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
- PCI_DEVICE_PATH LpcBridgeDevicePath;
- ACPI_HID_DEVICE_PATH LpcBusDevicePath;
- EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
+ ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
+ PCI_DEVICE_PATH LpcBridgeDevicePath;
+ ACPI_HID_DEVICE_PATH LpcBusDevicePath;
+ EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
} PS2_CONN_DEVICE_PATH;
//
// Serial Port Connector
//
typedef struct _SERIAL_CONN_DEVICE_PATH {
- ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
- PCI_DEVICE_PATH LpcBridgeDevicePath;
- ACPI_HID_DEVICE_PATH LpcBusDevicePath;
- EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
+ ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
+ PCI_DEVICE_PATH LpcBridgeDevicePath;
+ ACPI_HID_DEVICE_PATH LpcBusDevicePath;
+ EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
} SERIAL_CONN_DEVICE_PATH;
//
// Parallel Port Connector
//
typedef struct _PARALLEL_CONN_DEVICE_PATH {
- ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
- PCI_DEVICE_PATH LpcBridgeDevicePath;
- ACPI_HID_DEVICE_PATH LpcBusDevicePath;
- EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
+ ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
+ PCI_DEVICE_PATH LpcBridgeDevicePath;
+ ACPI_HID_DEVICE_PATH LpcBusDevicePath;
+ EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
} PARALLEL_CONN_DEVICE_PATH;
//
// Floopy Connector
//
typedef struct _FLOOPY_CONN_DEVICE_PATH {
- ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
- PCI_DEVICE_PATH LpcBridgeDevicePath;
- ACPI_HID_DEVICE_PATH LpcBusDevicePath;
- EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
+ ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
+ PCI_DEVICE_PATH LpcBridgeDevicePath;
+ ACPI_HID_DEVICE_PATH LpcBusDevicePath;
+ EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
} FLOOPY_CONN_DEVICE_PATH;
typedef union _EFI_MISC_PORT_DEVICE_PATH {
- USB_PORT_DEVICE_PATH UsbDevicePath;
- IDE_DEVICE_PATH IdeDevicePath;
- RMC_CONN_DEVICE_PATH RmcConnDevicePath;
- RIDE_DEVICE_PATH RideDevicePath;
- GB_NIC_DEVICE_PATH GbNicDevicePath;
- PS2_CONN_DEVICE_PATH Ps2ConnDevicePath;
- SERIAL_CONN_DEVICE_PATH SerialConnDevicePath;
- PARALLEL_CONN_DEVICE_PATH ParallelConnDevicePath;
- FLOOPY_CONN_DEVICE_PATH FloppyConnDevicePath;
+ USB_PORT_DEVICE_PATH UsbDevicePath;
+ IDE_DEVICE_PATH IdeDevicePath;
+ RMC_CONN_DEVICE_PATH RmcConnDevicePath;
+ RIDE_DEVICE_PATH RideDevicePath;
+ GB_NIC_DEVICE_PATH GbNicDevicePath;
+ PS2_CONN_DEVICE_PATH Ps2ConnDevicePath;
+ SERIAL_CONN_DEVICE_PATH SerialConnDevicePath;
+ PARALLEL_CONN_DEVICE_PATH ParallelConnDevicePath;
+ FLOOPY_CONN_DEVICE_PATH FloppyConnDevicePath;
} EFI_MISC_PORT_DEVICE_PATH;
#pragma pack()
@@ -135,115 +135,104 @@ typedef union _EFI_MISC_PORT_DEVICE_PATH { //
// String Token Definition
//
-#define EFI_STRING_TOKEN UINT16
+#define EFI_STRING_TOKEN UINT16
typedef struct {
- UINT32 Version;
- UINT32 HeaderSize;
- UINT16 Instance;
- UINT16 SubInstance;
- UINT32 RecordType;
+ UINT32 Version;
+ UINT32 HeaderSize;
+ UINT16 Instance;
+ UINT16 SubInstance;
+ UINT32 RecordType;
} EFI_SUBCLASS_TYPE1_HEADER;
typedef struct {
- EFI_GUID ProducerName;
- UINT16 Instance;
- UINT16 SubInstance;
+ EFI_GUID ProducerName;
+ UINT16 Instance;
+ UINT16 SubInstance;
} EFI_INTER_LINK_DATA;
-
//
// EXP data
//
typedef struct {
- UINT16 Value;
- UINT16 Exponent;
+ UINT16 Value;
+ UINT16 Exponent;
} EFI_EXP_BASE2_DATA;
-
typedef struct {
- UINT16 Value;
- UINT16 Exponent;
+ UINT16 Value;
+ UINT16 Exponent;
} EFI_EXP_BASE10_DATA;
-typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA;
-
-typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA;
-
-typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_CORE_FREQUENCY_DATA;
-
-typedef EFI_EXP_BASE10_DATA *EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA;
-
-typedef EFI_EXP_BASE10_DATA *EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA;
-
-typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_FSB_FREQUENCY_DATA;
-
-typedef STRING_REF EFI_PROCESSOR_VERSION_DATA;
-
-typedef STRING_REF EFI_PROCESSOR_MANUFACTURER_DATA;
-
-typedef STRING_REF EFI_PROCESSOR_SERIAL_NUMBER_DATA;
-
-typedef STRING_REF EFI_PROCESSOR_ASSET_TAG_DATA;
-
-typedef struct {
- UINT32 ProcessorSteppingId:4;
- UINT32 ProcessorModel: 4;
- UINT32 ProcessorFamily: 4;
- UINT32 ProcessorType: 2;
- UINT32 ProcessorReserved1: 2;
- UINT32 ProcessorXModel: 4;
- UINT32 ProcessorXFamily: 8;
- UINT32 ProcessorReserved2: 4;
+typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA;
+typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA;
+typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_CORE_FREQUENCY_DATA;
+typedef EFI_EXP_BASE10_DATA *EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA;
+typedef EFI_EXP_BASE10_DATA *EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA;
+typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_FSB_FREQUENCY_DATA;
+typedef STRING_REF EFI_PROCESSOR_VERSION_DATA;
+typedef STRING_REF EFI_PROCESSOR_MANUFACTURER_DATA;
+typedef STRING_REF EFI_PROCESSOR_SERIAL_NUMBER_DATA;
+typedef STRING_REF EFI_PROCESSOR_ASSET_TAG_DATA;
+
+typedef struct {
+ UINT32 ProcessorSteppingId:4;
+ UINT32 ProcessorModel: 4;
+ UINT32 ProcessorFamily: 4;
+ UINT32 ProcessorType: 2;
+ UINT32 ProcessorReserved1: 2;
+ UINT32 ProcessorXModel: 4;
+ UINT32 ProcessorXFamily: 8;
+ UINT32 ProcessorReserved2: 4;
} EFI_PROCESSOR_SIGNATURE;
typedef struct {
- UINT32 ProcessorBrandIndex :8;
- UINT32 ProcessorClflush :8;
- UINT32 ProcessorReserved :8;
- UINT32 ProcessorDfltApicId :8;
+ UINT32 ProcessorBrandIndex :8;
+ UINT32 ProcessorClflush :8;
+ UINT32 ProcessorReserved :8;
+ UINT32 ProcessorDfltApicId :8;
} EFI_PROCESSOR_MISC_INFO;
typedef struct {
- UINT32 ProcessorFpu: 1;
- UINT32 ProcessorVme: 1;
- UINT32 ProcessorDe: 1;
- UINT32 ProcessorPse: 1;
- UINT32 ProcessorTsc: 1;
- UINT32 ProcessorMsr: 1;
- UINT32 ProcessorPae: 1;
- UINT32 ProcessorMce: 1;
- UINT32 ProcessorCx8: 1;
- UINT32 ProcessorApic: 1;
- UINT32 ProcessorReserved1: 1;
- UINT32 ProcessorSep: 1;
- UINT32 ProcessorMtrr: 1;
- UINT32 ProcessorPge: 1;
- UINT32 ProcessorMca: 1;
- UINT32 ProcessorCmov: 1;
- UINT32 ProcessorPat: 1;
- UINT32 ProcessorPse36: 1;
- UINT32 ProcessorPsn: 1;
- UINT32 ProcessorClfsh: 1;
- UINT32 ProcessorReserved2: 1;
- UINT32 ProcessorDs: 1;
- UINT32 ProcessorAcpi: 1;
- UINT32 ProcessorMmx: 1;
- UINT32 ProcessorFxsr: 1;
- UINT32 ProcessorSse: 1;
- UINT32 ProcessorSse2: 1;
- UINT32 ProcessorSs: 1;
- UINT32 ProcessorReserved3: 1;
- UINT32 ProcessorTm: 1;
- UINT32 ProcessorReserved4: 2;
+ UINT32 ProcessorFpu: 1;
+ UINT32 ProcessorVme: 1;
+ UINT32 ProcessorDe: 1;
+ UINT32 ProcessorPse: 1;
+ UINT32 ProcessorTsc: 1;
+ UINT32 ProcessorMsr: 1;
+ UINT32 ProcessorPae: 1;
+ UINT32 ProcessorMce: 1;
+ UINT32 ProcessorCx8: 1;
+ UINT32 ProcessorApic: 1;
+ UINT32 ProcessorReserved1: 1;
+ UINT32 ProcessorSep: 1;
+ UINT32 ProcessorMtrr: 1;
+ UINT32 ProcessorPge: 1;
+ UINT32 ProcessorMca: 1;
+ UINT32 ProcessorCmov: 1;
+ UINT32 ProcessorPat: 1;
+ UINT32 ProcessorPse36: 1;
+ UINT32 ProcessorPsn: 1;
+ UINT32 ProcessorClfsh: 1;
+ UINT32 ProcessorReserved2: 1;
+ UINT32 ProcessorDs: 1;
+ UINT32 ProcessorAcpi: 1;
+ UINT32 ProcessorMmx: 1;
+ UINT32 ProcessorFxsr: 1;
+ UINT32 ProcessorSse: 1;
+ UINT32 ProcessorSse2: 1;
+ UINT32 ProcessorSs: 1;
+ UINT32 ProcessorReserved3: 1;
+ UINT32 ProcessorTm: 1;
+ UINT32 ProcessorReserved4: 2;
} EFI_PROCESSOR_FEATURE_FLAGS;
typedef struct {
- EFI_PROCESSOR_SIGNATURE Signature;
- EFI_PROCESSOR_MISC_INFO MiscInfo;
- UINT32 Reserved;
- EFI_PROCESSOR_FEATURE_FLAGS FeatureFlags;
+ EFI_PROCESSOR_SIGNATURE Signature;
+ EFI_PROCESSOR_MISC_INFO MiscInfo;
+ UINT32 Reserved;
+ EFI_PROCESSOR_FEATURE_FLAGS FeatureFlags;
} EFI_PROCESSOR_ID_DATA;
typedef enum {
@@ -324,13 +313,10 @@ typedef enum { EfiProcessorFamilyi960 = 0xFB
} EFI_PROCESSOR_FAMILY_DATA;
-typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_VOLTAGE_DATA;
-
-typedef EFI_PHYSICAL_ADDRESS EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA;
-
-typedef UINT32 EFI_PROCESSOR_APIC_ID_DATA;
-
-typedef UINT32 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA;
+typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_VOLTAGE_DATA;
+typedef EFI_PHYSICAL_ADDRESS EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA;
+typedef UINT32 EFI_PROCESSOR_APIC_ID_DATA;
+typedef UINT32 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA;
typedef enum {
EfiProcessorIa32Microcode = 1,
@@ -339,18 +325,18 @@ typedef enum { } EFI_PROCESSOR_MICROCODE_TYPE;
typedef struct {
- EFI_PROCESSOR_MICROCODE_TYPE ProcessorMicrocodeType;
- UINT32 ProcessorMicrocodeRevisionNumber;
+ EFI_PROCESSOR_MICROCODE_TYPE ProcessorMicrocodeType;
+ UINT32 ProcessorMicrocodeRevisionNumber;
} EFI_PROCESSOR_MICROCODE_REVISION_DATA;
typedef struct {
- UINT32 CpuStatus :3;
- UINT32 Reserved1 :3;
- UINT32 SocketPopulated :1;
- UINT32 Reserved2 :1;
- UINT32 ApicEnable :1;
- UINT32 BootApplicationProcessor :1;
- UINT32 Reserved3 :22;
+ UINT32 CpuStatus :3;
+ UINT32 Reserved1 :3;
+ UINT32 SocketPopulated :1;
+ UINT32 Reserved2 :1;
+ UINT32 ApicEnable :1;
+ UINT32 BootApplicationProcessor :1;
+ UINT32 Reserved3 :22;
} EFI_PROCESSOR_STATUS_DATA;
typedef enum {
@@ -387,9 +373,8 @@ typedef enum { } EFI_PROCESSOR_SOCKET_TYPE_DATA;
-typedef STRING_REF EFI_PROCESSOR_SOCKET_NAME_DATA;
-
-typedef EFI_INTER_LINK_DATA EFI_CACHE_ASSOCIATION_DATA;
+typedef STRING_REF EFI_PROCESSOR_SOCKET_NAME_DATA;
+typedef EFI_INTER_LINK_DATA EFI_CACHE_ASSOCIATION_DATA;
typedef enum {
EfiProcessorHealthy = 1,
@@ -397,8 +382,7 @@ typedef enum { EfiProcessorFuncRestricted = 3
} EFI_PROCESSOR_HEALTH_STATUS;
-typedef UINTN EFI_PROCESSOR_PACKAGE_NUMBER_DATA;
-
+typedef UINTN EFI_PROCESSOR_PACKAGE_NUMBER_DATA;
typedef enum {
ProcessorCoreFrequencyRecordType = 1,
@@ -454,32 +438,29 @@ typedef union { } EFI_CPU_VARIABLE_RECORD;
typedef struct {
- EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader;
- EFI_CPU_VARIABLE_RECORD VariableRecord;
+ EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader;
+ EFI_CPU_VARIABLE_RECORD VariableRecord;
} EFI_CPU_DATA_RECORD;
#define EFI_CACHE_SUBCLASS_VERSION 0x00010000
-typedef EFI_EXP_BASE2_DATA EFI_CACHE_SIZE_DATA;
-
-typedef EFI_EXP_BASE2_DATA EFI_MAXIMUM_CACHE_SIZE_DATA;
-
-typedef EFI_EXP_BASE10_DATA EFI_CACHE_SPEED_DATA;
-
-typedef STRING_REF EFI_CACHE_SOCKET_DATA;
+typedef EFI_EXP_BASE2_DATA EFI_CACHE_SIZE_DATA;
+typedef EFI_EXP_BASE2_DATA EFI_MAXIMUM_CACHE_SIZE_DATA;
+typedef EFI_EXP_BASE10_DATA EFI_CACHE_SPEED_DATA;
+typedef STRING_REF EFI_CACHE_SOCKET_DATA;
typedef struct {
- UINT32 Other :1;
- UINT32 Unknown :1;
- UINT32 NonBurst :1;
- UINT32 Burst :1;
- UINT32 PipelineBurst :1;
- UINT32 Asynchronous :1;
- UINT32 Synchronous :1;
- UINT32 Reserved :25;
+ UINT32 Other :1;
+ UINT32 Unknown :1;
+ UINT32 NonBurst :1;
+ UINT32 Burst :1;
+ UINT32 PipelineBurst :1;
+ UINT32 Asynchronous :1;
+ UINT32 Synchronous :1;
+ UINT32 Reserved :25;
} EFI_CACHE_SRAM_TYPE_DATA;
-typedef EFI_CACHE_SRAM_TYPE_DATA EFI_CACHE_SRAM_INSTALL_DATA;
+typedef EFI_CACHE_SRAM_TYPE_DATA EFI_CACHE_SRAM_INSTALL_DATA;
typedef enum {
EfiCacheErrorOther = 1,
@@ -511,20 +492,20 @@ typedef enum { } EFI_CACHE_ASSOCIATIVITY_DATA;
typedef struct {
- UINT32 Level :3;
- UINT32 Socketed :1;
- UINT32 Reserved2 :1;
- UINT32 Location :2;
- UINT32 Enable :1;
- UINT32 OperationalMode :2;
- UINT32 Reserved1 :22;
+ UINT32 Level :3;
+ UINT32 Socketed :1;
+ UINT32 Reserved2 :1;
+ UINT32 Location :2;
+ UINT32 Enable :1;
+ UINT32 OperationalMode :2;
+ UINT32 Reserved1 :22;
} EFI_CACHE_CONFIGURATION_DATA;
-#define EFI_CACHE_L1 1
-#define EFI_CACHE_L2 2
-#define EFI_CACHE_L3 3
-#define EFI_CACHE_L4 4
-#define EFI_CACHE_LMAX EFI_CACHE_L4
+#define EFI_CACHE_L1 1
+#define EFI_CACHE_L2 2
+#define EFI_CACHE_L3 3
+#define EFI_CACHE_L4 4
+#define EFI_CACHE_LMAX EFI_CACHE_L4
#define EFI_CACHE_SOCKETED 1
#define EFI_CACHE_NOT_SOCKETED 0
@@ -536,8 +517,8 @@ typedef enum { EfiCacheUnknown = 3
} EFI_CACHE_LOCATION;
-#define EFI_CACHE_ENABLED 1
-#define EFI_CACHE_DISABLED 0
+#define EFI_CACHE_ENABLED 1
+#define EFI_CACHE_DISABLED 0
typedef enum {
EfiCacheWriteThrough = 0,
@@ -563,47 +544,45 @@ typedef enum { typedef union {
- EFI_CACHE_SIZE_DATA CacheSize;
- EFI_MAXIMUM_CACHE_SIZE_DATA MaximumCacheSize;
- EFI_CACHE_SPEED_DATA CacheSpeed;
- EFI_CACHE_SOCKET_DATA CacheSocket;
- EFI_CACHE_SRAM_TYPE_DATA CacheSramType;
- EFI_CACHE_SRAM_TYPE_DATA CacheInstalledSramType;
- EFI_CACHE_ERROR_TYPE_DATA CacheErrorType;
- EFI_CACHE_TYPE_DATA CacheType;
- EFI_CACHE_ASSOCIATIVITY_DATA CacheAssociativity;
- EFI_CACHE_CONFIGURATION_DATA CacheConfig;
- EFI_CACHE_ASSOCIATION_DATA CacheAssociation;
+ EFI_CACHE_SIZE_DATA CacheSize;
+ EFI_MAXIMUM_CACHE_SIZE_DATA MaximumCacheSize;
+ EFI_CACHE_SPEED_DATA CacheSpeed;
+ EFI_CACHE_SOCKET_DATA CacheSocket;
+ EFI_CACHE_SRAM_TYPE_DATA CacheSramType;
+ EFI_CACHE_SRAM_TYPE_DATA CacheInstalledSramType;
+ EFI_CACHE_ERROR_TYPE_DATA CacheErrorType;
+ EFI_CACHE_TYPE_DATA CacheType;
+ EFI_CACHE_ASSOCIATIVITY_DATA CacheAssociativity;
+ EFI_CACHE_CONFIGURATION_DATA CacheConfig;
+ EFI_CACHE_ASSOCIATION_DATA CacheAssociation;
} EFI_CACHE_VARIABLE_RECORD;
typedef struct {
- EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader;
- EFI_CACHE_VARIABLE_RECORD VariableRecord;
+ EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader;
+ EFI_CACHE_VARIABLE_RECORD VariableRecord;
} EFI_CACHE_DATA_RECORD;
#define EFI_MEMORY_SUBCLASS_VERSION 0x0100
-
-
-#define EFI_MEMORY_SIZE_RECORD_NUMBER 0x00000001
+#define EFI_MEMORY_SIZE_RECORD_NUMBER 0x00000001
typedef enum _EFI_MEMORY_REGION_TYPE {
- EfiMemoryRegionMemory = 0x01,
- EfiMemoryRegionReserved = 0x02,
- EfiMemoryRegionAcpi = 0x03,
- EfiMemoryRegionNvs = 0x04
+ EfiMemoryRegionMemory = 0x01,
+ EfiMemoryRegionReserved = 0x02,
+ EfiMemoryRegionAcpi = 0x03,
+ EfiMemoryRegionNvs = 0x04
} EFI_MEMORY_REGION_TYPE;
typedef struct {
- UINT32 ProcessorNumber;
- UINT16 StartBusNumber;
- UINT16 EndBusNumber;
- EFI_MEMORY_REGION_TYPE MemoryRegionType;
- EFI_EXP_BASE2_DATA MemorySize;
- EFI_PHYSICAL_ADDRESS MemoryStartAddress;
+ UINT32 ProcessorNumber;
+ UINT16 StartBusNumber;
+ UINT16 EndBusNumber;
+ EFI_MEMORY_REGION_TYPE MemoryRegionType;
+ EFI_EXP_BASE2_DATA MemorySize;
+ EFI_PHYSICAL_ADDRESS MemoryStartAddress;
} EFI_MEMORY_SIZE_DATA;
-#define EFI_MEMORY_ARRAY_LOCATION_RECORD_NUMBER 0x00000002
+#define EFI_MEMORY_ARRAY_LOCATION_RECORD_NUMBER 0x00000002
typedef enum _EFI_MEMORY_ARRAY_LOCATION {
EfiMemoryArrayLocationOther = 0x01,
@@ -643,15 +622,15 @@ typedef enum _EFI_MEMORY_ERROR_CORRECTION { } EFI_MEMORY_ERROR_CORRECTION;
typedef struct {
- EFI_MEMORY_ARRAY_LOCATION MemoryArrayLocation;
- EFI_MEMORY_ARRAY_USE MemoryArrayUse;
- EFI_MEMORY_ERROR_CORRECTION MemoryErrorCorrection;
- EFI_EXP_BASE2_DATA MaximumMemoryCapacity;
- UINT16 NumberMemoryDevices;
+ EFI_MEMORY_ARRAY_LOCATION MemoryArrayLocation;
+ EFI_MEMORY_ARRAY_USE MemoryArrayUse;
+ EFI_MEMORY_ERROR_CORRECTION MemoryErrorCorrection;
+ EFI_EXP_BASE2_DATA MaximumMemoryCapacity;
+ UINT16 NumberMemoryDevices;
} EFI_MEMORY_ARRAY_LOCATION_DATA;
-#define EFI_MEMORY_ARRAY_LINK_RECORD_NUMBER 0x00000003
+#define EFI_MEMORY_ARRAY_LINK_RECORD_NUMBER 0x00000003
typedef enum _EFI_MEMORY_FORM_FACTOR {
EfiMemoryFormFactorOther = 0x01,
@@ -695,20 +674,20 @@ typedef enum _EFI_MEMORY_ARRAY_TYPE { } EFI_MEMORY_ARRAY_TYPE;
typedef struct {
- UINT32 Reserved :1;
- UINT32 Other :1;
- UINT32 Unknown :1;
- UINT32 FastPaged :1;
- UINT32 StaticColumn :1;
- UINT32 PseudoStatic :1;
- UINT32 Rambus :1;
- UINT32 Synchronous :1;
- UINT32 Cmos :1;
- UINT32 Edo :1;
- UINT32 WindowDram :1;
- UINT32 CacheDram :1;
- UINT32 Nonvolatile :1;
- UINT32 Reserved1 :19;
+ UINT32 Reserved :1;
+ UINT32 Other :1;
+ UINT32 Unknown :1;
+ UINT32 FastPaged :1;
+ UINT32 StaticColumn :1;
+ UINT32 PseudoStatic :1;
+ UINT32 Rambus :1;
+ UINT32 Synchronous :1;
+ UINT32 Cmos :1;
+ UINT32 Edo :1;
+ UINT32 WindowDram :1;
+ UINT32 CacheDram :1;
+ UINT32 Nonvolatile :1;
+ UINT32 Reserved1 :19;
} EFI_MEMORY_TYPE_DETAIL;
typedef enum {
@@ -722,46 +701,46 @@ typedef enum { } EFI_MEMORY_STATE;
typedef struct {
- STRING_REF MemoryDeviceLocator;
- STRING_REF MemoryBankLocator;
- STRING_REF MemoryManufacturer;
- STRING_REF MemorySerialNumber;
- STRING_REF MemoryAssetTag;
- STRING_REF MemoryPartNumber;
- EFI_INTER_LINK_DATA MemoryArrayLink;
- EFI_INTER_LINK_DATA MemorySubArrayLink;
- UINT16 MemoryTotalWidth;
- UINT16 MemoryDataWidth;
- EFI_EXP_BASE2_DATA MemoryDeviceSize;
- EFI_MEMORY_FORM_FACTOR MemoryFormFactor;
- UINT8 MemoryDeviceSet;
- EFI_MEMORY_ARRAY_TYPE MemoryType;
- EFI_MEMORY_TYPE_DETAIL MemoryTypeDetail;
- EFI_EXP_BASE10_DATA MemorySpeed;
- EFI_MEMORY_STATE MemoryState;
+ STRING_REF MemoryDeviceLocator;
+ STRING_REF MemoryBankLocator;
+ STRING_REF MemoryManufacturer;
+ STRING_REF MemorySerialNumber;
+ STRING_REF MemoryAssetTag;
+ STRING_REF MemoryPartNumber;
+ EFI_INTER_LINK_DATA MemoryArrayLink;
+ EFI_INTER_LINK_DATA MemorySubArrayLink;
+ UINT16 MemoryTotalWidth;
+ UINT16 MemoryDataWidth;
+ EFI_EXP_BASE2_DATA MemoryDeviceSize;
+ EFI_MEMORY_FORM_FACTOR MemoryFormFactor;
+ UINT8 MemoryDeviceSet;
+ EFI_MEMORY_ARRAY_TYPE MemoryType;
+ EFI_MEMORY_TYPE_DETAIL MemoryTypeDetail;
+ EFI_EXP_BASE10_DATA MemorySpeed;
+ EFI_MEMORY_STATE MemoryState;
} EFI_MEMORY_ARRAY_LINK_DATA;
-#define EFI_MEMORY_ARRAY_START_ADDRESS_RECORD_NUMBER 0x00000004
+#define EFI_MEMORY_ARRAY_START_ADDRESS_RECORD_NUMBER 0x00000004
typedef struct {
- EFI_PHYSICAL_ADDRESS MemoryArrayStartAddress;
- EFI_PHYSICAL_ADDRESS MemoryArrayEndAddress;
- EFI_INTER_LINK_DATA PhysicalMemoryArrayLink;
- UINT16 MemoryArrayPartitionWidth;
+ EFI_PHYSICAL_ADDRESS MemoryArrayStartAddress;
+ EFI_PHYSICAL_ADDRESS MemoryArrayEndAddress;
+ EFI_INTER_LINK_DATA PhysicalMemoryArrayLink;
+ UINT16 MemoryArrayPartitionWidth;
} EFI_MEMORY_ARRAY_START_ADDRESS_DATA;
-#define EFI_MEMORY_DEVICE_START_ADDRESS_RECORD_NUMBER 0x00000005
+#define EFI_MEMORY_DEVICE_START_ADDRESS_RECORD_NUMBER 0x00000005
typedef struct {
- EFI_PHYSICAL_ADDRESS MemoryDeviceStartAddress;
- EFI_PHYSICAL_ADDRESS MemoryDeviceEndAddress;
- EFI_INTER_LINK_DATA PhysicalMemoryDeviceLink;
- EFI_INTER_LINK_DATA PhysicalMemoryArrayLink;
- UINT8 MemoryDevicePartitionRowPosition;
- UINT8 MemoryDeviceInterleavePosition;
- UINT8 MemoryDeviceInterleaveDataDepth;
+ EFI_PHYSICAL_ADDRESS MemoryDeviceStartAddress;
+ EFI_PHYSICAL_ADDRESS MemoryDeviceEndAddress;
+ EFI_INTER_LINK_DATA PhysicalMemoryDeviceLink;
+ EFI_INTER_LINK_DATA PhysicalMemoryArrayLink;
+ UINT8 MemoryDevicePartitionRowPosition;
+ UINT8 MemoryDeviceInterleavePosition;
+ UINT8 MemoryDeviceInterleaveDataDepth;
} EFI_MEMORY_DEVICE_START_ADDRESS_DATA;
@@ -769,7 +748,7 @@ typedef struct { // Memory. Channel Device Type - SMBIOS Type 37
//
-#define EFI_MEMORY_CHANNEL_TYPE_RECORD_NUMBER 0x00000006
+#define EFI_MEMORY_CHANNEL_TYPE_RECORD_NUMBER 0x00000006
typedef enum _EFI_MEMORY_CHANNEL_TYPE {
EfiMemoryChannelTypeOther = 1,
@@ -779,23 +758,23 @@ typedef enum _EFI_MEMORY_CHANNEL_TYPE { } EFI_MEMORY_CHANNEL_TYPE;
typedef struct {
- EFI_MEMORY_CHANNEL_TYPE MemoryChannelType;
- UINT8 MemoryChannelMaximumLoad;
- UINT8 MemoryChannelDeviceCount;
+ EFI_MEMORY_CHANNEL_TYPE MemoryChannelType;
+ UINT8 MemoryChannelMaximumLoad;
+ UINT8 MemoryChannelDeviceCount;
} EFI_MEMORY_CHANNEL_TYPE_DATA;
-#define EFI_MEMORY_CHANNEL_DEVICE_RECORD_NUMBER 0x00000007
+#define EFI_MEMORY_CHANNEL_DEVICE_RECORD_NUMBER 0x00000007
typedef struct {
- UINT8 DeviceId;
- EFI_INTER_LINK_DATA DeviceLink;
- UINT8 MemoryChannelDeviceLoad;
+ UINT8 DeviceId;
+ EFI_INTER_LINK_DATA DeviceLink;
+ UINT8 MemoryChannelDeviceLoad;
} EFI_MEMORY_CHANNEL_DEVICE_DATA;
//
// Memory. Controller Information - SMBIOS Type 5
//
-#define EFI_MEMORY_CONTROLLER_INFORMATION_RECORD_NUMBER 0x00000008
+#define EFI_MEMORY_CONTROLLER_INFORMATION_RECORD_NUMBER 0x00000008
typedef enum {
EfiErrorDetectingMethodOther = 1,
@@ -809,13 +788,13 @@ typedef enum { } EFI_MEMORY_ERROR_DETECT_METHOD_TYPE;
typedef struct {
- UINT8 Other :1;
- UINT8 Unknown :1;
- UINT8 None :1;
- UINT8 SingleBitErrorCorrect :1;
- UINT8 DoubleBitErrorCorrect :1;
- UINT8 ErrorScrubbing :1;
- UINT8 Reserved :2;
+ UINT8 Other :1;
+ UINT8 Unknown :1;
+ UINT8 None :1;
+ UINT8 SingleBitErrorCorrect :1;
+ UINT8 DoubleBitErrorCorrect :1;
+ UINT8 ErrorScrubbing :1;
+ UINT8 Reserved :2;
} EFI_MEMORY_ERROR_CORRECT_CAPABILITY;
typedef enum {
@@ -829,54 +808,54 @@ typedef enum { } EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE;
typedef struct {
- UINT16 Other :1;
- UINT16 Unknown :1;
- UINT16 SeventyNs :1;
- UINT16 SixtyNs :1;
- UINT16 FiftyNs :1;
- UINT16 Reserved :11;
+ UINT16 Other :1;
+ UINT16 Unknown :1;
+ UINT16 SeventyNs:1;
+ UINT16 SixtyNs :1;
+ UINT16 FiftyNs :1;
+ UINT16 Reserved :11;
} EFI_MEMORY_SPEED_TYPE;
typedef struct {
- UINT16 Other :1;
- UINT16 Unknown :1;
- UINT16 Standard :1;
- UINT16 FastPageMode :1;
- UINT16 EDO :1;
- UINT16 Parity :1;
- UINT16 ECC :1;
- UINT16 SIMM :1;
- UINT16 DIMM :1;
- UINT16 BurstEdo :1;
- UINT16 SDRAM :1;
- UINT16 Reserved :5;
+ UINT16 Other :1;
+ UINT16 Unknown :1;
+ UINT16 Standard :1;
+ UINT16 FastPageMode:1;
+ UINT16 EDO :1;
+ UINT16 Parity :1;
+ UINT16 ECC :1;
+ UINT16 SIMM :1;
+ UINT16 DIMM :1;
+ UINT16 BurstEdo :1;
+ UINT16 SDRAM :1;
+ UINT16 Reserved :5;
} EFI_MEMORY_SUPPORTED_TYPE;
typedef struct {
- UINT8 Five :1;
- UINT8 There :1;
- UINT8 Two :1;
- UINT8 Reserved :5;
+ UINT8 Five :1;
+ UINT8 There :1;
+ UINT8 Two :1;
+ UINT8 Reserved:5;
} EFI_MEMORY_MODULE_VOLTAGE_TYPE;
typedef struct {
- EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod;
- EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability;
- EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave;
- EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave;
- UINT8 MaxMemoryModuleSize;
- EFI_MEMORY_SPEED_TYPE MemorySpeedType;
- EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType;
- EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage;
- UINT8 NumberofMemorySlot;
- EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability;
- UINT16 *MemoryModuleConfigHandles;
+ EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod;
+ EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability;
+ EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave;
+ EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave;
+ UINT8 MaxMemoryModuleSize;
+ EFI_MEMORY_SPEED_TYPE MemorySpeedType;
+ EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType;
+ EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage;
+ UINT8 NumberofMemorySlot;
+ EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability;
+ UINT16 *MemoryModuleConfigHandles;
} EFI_MEMORY_CONTROLLER_INFORMATION;
//
// Memory. Error Information - SMBIOS Type 18
//
-#define EFI_MEMORY_32BIT_ERROR_INFORMATION_RECORD_NUMBER 0x00000009
+#define EFI_MEMORY_32BIT_ERROR_INFORMATION_RECORD_NUMBER 0x00000009
typedef enum {
EfiMemoryErrorOther = 1,
@@ -923,128 +902,124 @@ typedef struct { //
// Memory. Error Information - SMBIOS Type 33
//
-#define EFI_MEMORY_64BIT_ERROR_INFORMATION_RECORD_NUMBER 0x0000000A
+#define EFI_MEMORY_64BIT_ERROR_INFORMATION_RECORD_NUMBER 0x0000000A
typedef struct {
- EFI_MEMORY_ERROR_TYPE MemoryErrorType;
- EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity;
- EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation;
- UINT32 VendorSyndrome;
- UINT64 MemoryArrayErrorAddress;
- UINT64 DeviceErrorAddress;
- UINT32 DeviceErrorResolution;
+ EFI_MEMORY_ERROR_TYPE MemoryErrorType;
+ EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity;
+ EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation;
+ UINT32 VendorSyndrome;
+ UINT64 MemoryArrayErrorAddress;
+ UINT64 DeviceErrorAddress;
+ UINT32 DeviceErrorResolution;
} EFI_MEMORY_64BIT_ERROR_INFORMATION;
typedef union _EFI_MEMORY_SUBCLASS_RECORDS {
- EFI_MEMORY_SIZE_DATA SizeData;
- EFI_MEMORY_ARRAY_LOCATION_DATA ArrayLocationData;
- EFI_MEMORY_ARRAY_LINK_DATA ArrayLink;
- EFI_MEMORY_ARRAY_START_ADDRESS_DATA ArrayStartAddress;
- EFI_MEMORY_DEVICE_START_ADDRESS_DATA DeviceStartAddress;
- EFI_MEMORY_CHANNEL_TYPE_DATA ChannelTypeData;
- EFI_MEMORY_CHANNEL_DEVICE_DATA ChannelDeviceData;
- EFI_MEMORY_CONTROLLER_INFORMATION MemoryControllerInfo;
- EFI_MEMORY_32BIT_ERROR_INFORMATION Memory32bitErrorInfo;
- EFI_MEMORY_64BIT_ERROR_INFORMATION Memory64bitErrorInfo;
+ EFI_MEMORY_SIZE_DATA SizeData;
+ EFI_MEMORY_ARRAY_LOCATION_DATA ArrayLocationData;
+ EFI_MEMORY_ARRAY_LINK_DATA ArrayLink;
+ EFI_MEMORY_ARRAY_START_ADDRESS_DATA ArrayStartAddress;
+ EFI_MEMORY_DEVICE_START_ADDRESS_DATA DeviceStartAddress;
+ EFI_MEMORY_CHANNEL_TYPE_DATA ChannelTypeData;
+ EFI_MEMORY_CHANNEL_DEVICE_DATA ChannelDeviceData;
+ EFI_MEMORY_CONTROLLER_INFORMATION MemoryControllerInfo;
+ EFI_MEMORY_32BIT_ERROR_INFORMATION Memory32bitErrorInfo;
+ EFI_MEMORY_64BIT_ERROR_INFORMATION Memory64bitErrorInfo;
} EFI_MEMORY_SUBCLASS_RECORDS;
typedef struct {
- EFI_SUBCLASS_TYPE1_HEADER Header;
- EFI_MEMORY_SUBCLASS_RECORDS Record;
+ EFI_SUBCLASS_TYPE1_HEADER Header;
+ EFI_MEMORY_SUBCLASS_RECORDS Record;
} EFI_MEMORY_SUBCLASS_DRIVER_DATA;
#define EFI_MISC_SUBCLASS_VERSION 0x0100
#pragma pack(1)
-//
-//////////////////////////////////////////////////////////////////////////////
+
//
// Last PCI Bus Number
//
-#define EFI_MISC_LAST_PCI_BUS_RECORD_NUMBER 0x00000001
+#define EFI_MISC_LAST_PCI_BUS_RECORD_NUMBER 0x00000001
typedef struct {
- UINT8 LastPciBus;
+ UINT8 LastPciBus;
} EFI_MISC_LAST_PCI_BUS_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. BIOS Vendor - SMBIOS Type 0
//
-#define EFI_MISC_BIOS_VENDOR_RECORD_NUMBER 0x00000002
-
-typedef struct {
- UINT64 Reserved1 :2;
- UINT64 Unknown :1;
- UINT64 BiosCharacteristicsNotSupported :1;
- UINT64 IsaIsSupported :1;
- UINT64 McaIsSupported :1;
- UINT64 EisaIsSupported :1;
- UINT64 PciIsSupported :1;
- UINT64 PcmciaIsSupported :1;
- UINT64 PlugAndPlayIsSupported :1;
- UINT64 ApmIsSupported :1;
- UINT64 BiosIsUpgradable :1;
- UINT64 BiosShadowingAllowed :1;
- UINT64 VlVesaIsSupported :1;
- UINT64 EscdSupportIsAvailable :1;
- UINT64 BootFromCdIsSupported :1;
- UINT64 SelectableBootIsSupported :1;
- UINT64 RomBiosIsSocketed :1;
- UINT64 BootFromPcmciaIsSupported :1;
- UINT64 EDDSpecificationIsSupported :1;
- UINT64 JapaneseNecFloppyIsSupported :1;
- UINT64 JapaneseToshibaFloppyIsSupported :1;
- UINT64 Floppy525_360IsSupported :1;
- UINT64 Floppy525_12IsSupported :1;
- UINT64 Floppy35_720IsSupported :1;
- UINT64 Floppy35_288IsSupported :1;
- UINT64 PrintScreenIsSupported :1;
- UINT64 Keyboard8042IsSupported :1;
- UINT64 SerialIsSupported :1;
- UINT64 PrinterIsSupported :1;
- UINT64 CgaMonoIsSupported :1;
- UINT64 NecPc98 :1;
- UINT64 AcpiIsSupported :1;
- UINT64 UsbLegacyIsSupported :1;
- UINT64 AgpIsSupported :1;
- UINT64 I20BootIsSupported :1;
- UINT64 Ls120BootIsSupported :1;
- UINT64 AtapiZipDriveBootIsSupported :1;
- UINT64 Boot1394IsSupported :1;
- UINT64 SmartBatteryIsSupported :1;
- UINT64 BiosBootSpecIsSupported :1;
- UINT64 FunctionKeyNetworkBootIsSupported :1;
- UINT64 Reserved :22;
+#define EFI_MISC_BIOS_VENDOR_RECORD_NUMBER 0x00000002
+
+typedef struct {
+ UINT64 Reserved1 :2;
+ UINT64 Unknown :1;
+ UINT64 BiosCharacteristicsNotSupported :1;
+ UINT64 IsaIsSupported :1;
+ UINT64 McaIsSupported :1;
+ UINT64 EisaIsSupported :1;
+ UINT64 PciIsSupported :1;
+ UINT64 PcmciaIsSupported :1;
+ UINT64 PlugAndPlayIsSupported :1;
+ UINT64 ApmIsSupported :1;
+ UINT64 BiosIsUpgradable :1;
+ UINT64 BiosShadowingAllowed :1;
+ UINT64 VlVesaIsSupported :1;
+ UINT64 EscdSupportIsAvailable :1;
+ UINT64 BootFromCdIsSupported :1;
+ UINT64 SelectableBootIsSupported :1;
+ UINT64 RomBiosIsSocketed :1;
+ UINT64 BootFromPcmciaIsSupported :1;
+ UINT64 EDDSpecificationIsSupported :1;
+ UINT64 JapaneseNecFloppyIsSupported :1;
+ UINT64 JapaneseToshibaFloppyIsSupported :1;
+ UINT64 Floppy525_360IsSupported :1;
+ UINT64 Floppy525_12IsSupported :1;
+ UINT64 Floppy35_720IsSupported :1;
+ UINT64 Floppy35_288IsSupported :1;
+ UINT64 PrintScreenIsSupported :1;
+ UINT64 Keyboard8042IsSupported :1;
+ UINT64 SerialIsSupported :1;
+ UINT64 PrinterIsSupported :1;
+ UINT64 CgaMonoIsSupported :1;
+ UINT64 NecPc98 :1;
+ UINT64 AcpiIsSupported :1;
+ UINT64 UsbLegacyIsSupported :1;
+ UINT64 AgpIsSupported :1;
+ UINT64 I20BootIsSupported :1;
+ UINT64 Ls120BootIsSupported :1;
+ UINT64 AtapiZipDriveBootIsSupported :1;
+ UINT64 Boot1394IsSupported :1;
+ UINT64 SmartBatteryIsSupported :1;
+ UINT64 BiosBootSpecIsSupported :1;
+ UINT64 FunctionKeyNetworkBootIsSupported :1;
+ UINT64 Reserved :22;
} EFI_MISC_BIOS_CHARACTERISTICS;
typedef struct {
- UINT64 BiosReserved :16;
- UINT64 SystemReserved :16;
- UINT64 Reserved :32;
+ UINT64 BiosReserved :16;
+ UINT64 SystemReserved:16;
+ UINT64 Reserved :32;
} EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION;
typedef struct {
- STRING_REF BiosVendor;
- STRING_REF BiosVersion;
- STRING_REF BiosReleaseDate;
- EFI_PHYSICAL_ADDRESS BiosStartingAddress;
- EFI_EXP_BASE2_DATA BiosPhysicalDeviceSize;
- EFI_MISC_BIOS_CHARACTERISTICS BiosCharacteristics1;
- EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION BiosCharacteristics2;
- UINT8 BiosMajorRelease;
- UINT8 BiosMinorRelease;
- UINT8 BiosEmbeddedFirmwareMajorRelease;
- UINT8 BiosEmbeddedFirmwareMinorRelease;
+ STRING_REF BiosVendor;
+ STRING_REF BiosVersion;
+ STRING_REF BiosReleaseDate;
+ EFI_PHYSICAL_ADDRESS BiosStartingAddress;
+ EFI_EXP_BASE2_DATA BiosPhysicalDeviceSize;
+ EFI_MISC_BIOS_CHARACTERISTICS BiosCharacteristics1;
+ EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION
+ BiosCharacteristics2;
+ UINT8 BiosMajorRelease;
+ UINT8 BiosMinorRelease;
+ UINT8 BiosEmbeddedFirmwareMajorRelease;
+ UINT8 BiosEmbeddedFirmwareMinorRelease;
} EFI_MISC_BIOS_VENDOR_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. System Manufacturer - SMBIOS Type 1
//
-#define EFI_MISC_SYSTEM_MANUFACTURER_RECORD_NUMBER 0x00000003
+#define EFI_MISC_SYSTEM_MANUFACTURER_RECORD_NUMBER 0x00000003
typedef enum {
EfiSystemWakeupTypeReserved = 0,
@@ -1059,30 +1034,28 @@ typedef enum { } EFI_MISC_SYSTEM_WAKEUP_TYPE;
typedef struct {
- STRING_REF SystemManufacturer;
- STRING_REF SystemProductName;
- STRING_REF SystemVersion;
- STRING_REF SystemSerialNumber;
- EFI_GUID SystemUuid;
- EFI_MISC_SYSTEM_WAKEUP_TYPE SystemWakeupType;
- STRING_REF SystemSKUNumber;
- STRING_REF SystemFamily;
+ STRING_REF SystemManufacturer;
+ STRING_REF SystemProductName;
+ STRING_REF SystemVersion;
+ STRING_REF SystemSerialNumber;
+ EFI_GUID SystemUuid;
+ EFI_MISC_SYSTEM_WAKEUP_TYPE SystemWakeupType;
+ STRING_REF SystemSKUNumber;
+ STRING_REF SystemFamily;
} EFI_MISC_SYSTEM_MANUFACTURER_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. Base Board Manufacturer - SMBIOS Type 2
//
-#define EFI_MISC_BASE_BOARD_MANUFACTURER_RECORD_NUMBER 0x00000004
+#define EFI_MISC_BASE_BOARD_MANUFACTURER_RECORD_NUMBER 0x00000004
typedef struct {
- UINT32 Motherboard :1;
- UINT32 RequiresDaughterCard :1;
- UINT32 Removable :1;
- UINT32 Replaceable :1;
- UINT32 HotSwappable :1;
- UINT32 Reserved :27;
+ UINT32 Motherboard :1;
+ UINT32 RequiresDaughterCard :1;
+ UINT32 Removable :1;
+ UINT32 Replaceable :1;
+ UINT32 HotSwappable :1;
+ UINT32 Reserved :27;
} EFI_BASE_BOARD_FEATURE_FLAGS;
typedef enum {
@@ -1102,25 +1075,23 @@ typedef enum { } EFI_BASE_BOARD_TYPE;
typedef struct {
- STRING_REF BaseBoardManufacturer;
- STRING_REF BaseBoardProductName;
- STRING_REF BaseBoardVersion;
- STRING_REF BaseBoardSerialNumber;
- STRING_REF BaseBoardAssetTag;
- STRING_REF BaseBoardChassisLocation;
- EFI_BASE_BOARD_FEATURE_FLAGS BaseBoardFeatureFlags;
- EFI_BASE_BOARD_TYPE BaseBoardType;
- EFI_INTER_LINK_DATA BaseBoardChassisLink;
- UINT32 BaseBoardNumberLinks;
- EFI_INTER_LINK_DATA LinkN;
+ STRING_REF BaseBoardManufacturer;
+ STRING_REF BaseBoardProductName;
+ STRING_REF BaseBoardVersion;
+ STRING_REF BaseBoardSerialNumber;
+ STRING_REF BaseBoardAssetTag;
+ STRING_REF BaseBoardChassisLocation;
+ EFI_BASE_BOARD_FEATURE_FLAGS BaseBoardFeatureFlags;
+ EFI_BASE_BOARD_TYPE BaseBoardType;
+ EFI_INTER_LINK_DATA BaseBoardChassisLink;
+ UINT32 BaseBoardNumberLinks;
+ EFI_INTER_LINK_DATA LinkN;
} EFI_MISC_BASE_BOARD_MANUFACTURER_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. System/Chassis Enclosure - SMBIOS Type 3
//
-#define EFI_MISC_CHASSIS_MANUFACTURER_RECORD_NUMBER 0x00000005
+#define EFI_MISC_CHASSIS_MANUFACTURER_RECORD_NUMBER 0x00000005
typedef enum {
EfiMiscChassisTypeOther = 0x1,
@@ -1151,9 +1122,9 @@ typedef enum { } EFI_MISC_CHASSIS_TYPE;
typedef struct {
- UINT32 ChassisType :16;
- UINT32 ChassisLockPresent:1;
- UINT32 Reserved :15;
+ UINT32 ChassisType :16;
+ UINT32 ChassisLockPresent:1;
+ UINT32 Reserved :15;
} EFI_MISC_CHASSIS_STATUS;
typedef enum {
@@ -1174,42 +1145,40 @@ typedef enum { } EFI_MISC_CHASSIS_SECURITY_STATE;
typedef struct {
- UINT32 RecordType :1;
- UINT32 Reserved :24;
+ UINT32 RecordType:1;
+ UINT32 Reserved:24;
} EFI_MISC_ELEMENT_TYPE;
typedef struct {
- EFI_MISC_ELEMENT_TYPE ChassisElementType;
- EFI_INTER_LINK_DATA ChassisElementStructure;
- EFI_BASE_BOARD_TYPE ChassisBaseBoard;
- UINT32 ChassisElementMinimum;
- UINT32 ChassisElementMaximum;
+ EFI_MISC_ELEMENT_TYPE ChassisElementType;
+ EFI_INTER_LINK_DATA ChassisElementStructure;
+ EFI_BASE_BOARD_TYPE ChassisBaseBoard;
+ UINT32 ChassisElementMinimum;
+ UINT32 ChassisElementMaximum;
} EFI_MISC_ELEMENTS;
typedef struct {
- STRING_REF ChassisManufacturer;
- STRING_REF ChassisVersion;
- STRING_REF ChassisSerialNumber;
- STRING_REF ChassisAssetTag;
- EFI_MISC_CHASSIS_STATUS ChassisType;
- EFI_MISC_CHASSIS_STATE ChassisBootupState;
- EFI_MISC_CHASSIS_STATE ChassisPowerSupplyState;
- EFI_MISC_CHASSIS_STATE ChassisThermalState;
- EFI_MISC_CHASSIS_SECURITY_STATE ChassisSecurityState;
- UINT32 ChassisOemDefined;
- UINT32 ChassisHeight;
- UINT32 ChassisNumberPowerCords;
- UINT32 ChassisElementCount;
- UINT32 ChassisElementRecordLength;//
- EFI_MISC_ELEMENTS ChassisElements;
+ STRING_REF ChassisManufacturer;
+ STRING_REF ChassisVersion;
+ STRING_REF ChassisSerialNumber;
+ STRING_REF ChassisAssetTag;
+ EFI_MISC_CHASSIS_STATUS ChassisType;
+ EFI_MISC_CHASSIS_STATE ChassisBootupState;
+ EFI_MISC_CHASSIS_STATE ChassisPowerSupplyState;
+ EFI_MISC_CHASSIS_STATE ChassisThermalState;
+ EFI_MISC_CHASSIS_SECURITY_STATE ChassisSecurityState;
+ UINT32 ChassisOemDefined;
+ UINT32 ChassisHeight;
+ UINT32 ChassisNumberPowerCords;
+ UINT32 ChassisElementCount;
+ UINT32 ChassisElementRecordLength;
+ EFI_MISC_ELEMENTS ChassisElements;
} EFI_MISC_CHASSIS_MANUFACTURER_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. Port Connector Information - SMBIOS Type 8
//
-#define EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_RECORD_NUMBER 0x00000006
+#define EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_RECORD_NUMBER 0x00000006
typedef enum {
EfiPortConnectorTypeNone = 0x00,
@@ -1293,20 +1262,18 @@ typedef enum { } EFI_MISC_PORT_TYPE;
typedef struct {
- STRING_REF PortInternalConnectorDesignator;
- STRING_REF PortExternalConnectorDesignator;
- EFI_MISC_PORT_CONNECTOR_TYPE PortInternalConnectorType;
- EFI_MISC_PORT_CONNECTOR_TYPE PortExternalConnectorType;
- EFI_MISC_PORT_TYPE PortType;
- EFI_MISC_PORT_DEVICE_PATH PortPath;
+ STRING_REF PortInternalConnectorDesignator;
+ STRING_REF PortExternalConnectorDesignator;
+ EFI_MISC_PORT_CONNECTOR_TYPE PortInternalConnectorType;
+ EFI_MISC_PORT_CONNECTOR_TYPE PortExternalConnectorType;
+ EFI_MISC_PORT_TYPE PortType;
+ EFI_MISC_PORT_DEVICE_PATH PortPath;
} EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. System Slots - SMBIOS Type 9
//
-#define EFI_MISC_SYSTEM_SLOT_DESIGNATION_RECORD_NUMBER 0x00000007
+#define EFI_MISC_SYSTEM_SLOT_DESIGNATION_RECORD_NUMBER 0x00000007
typedef enum {
EfiSlotTypeOther = 0x01,
@@ -1361,37 +1328,35 @@ typedef enum { } EFI_MISC_SLOT_LENGTH;
typedef struct {
- UINT32 CharacteristicsUnknown :1;
- UINT32 Provides50Volts :1;
- UINT32 Provides33Volts :1;
- UINT32 SharedSlot :1;
- UINT32 PcCard16Supported :1;
- UINT32 CardBusSupported :1;
- UINT32 ZoomVideoSupported :1;
- UINT32 ModemRingResumeSupported:1;
- UINT32 PmeSignalSupported :1;
- UINT32 HotPlugDevicesSupported :1;
- UINT32 SmbusSignalSupported :1;
- UINT32 Reserved :21;
+ UINT32 CharacteristicsUnknown :1;
+ UINT32 Provides50Volts :1;
+ UINT32 Provides33Volts :1;
+ UINT32 SharedSlot :1;
+ UINT32 PcCard16Supported :1;
+ UINT32 CardBusSupported :1;
+ UINT32 ZoomVideoSupported :1;
+ UINT32 ModemRingResumeSupported:1;
+ UINT32 PmeSignalSupported :1;
+ UINT32 HotPlugDevicesSupported :1;
+ UINT32 SmbusSignalSupported :1;
+ UINT32 Reserved :21;
} EFI_MISC_SLOT_CHARACTERISTICS;
typedef struct {
- STRING_REF SlotDesignation;
- EFI_MISC_SLOT_TYPE SlotType;
- EFI_MISC_SLOT_DATA_BUS_WIDTH SlotDataBusWidth;
- EFI_MISC_SLOT_USAGE SlotUsage;
- EFI_MISC_SLOT_LENGTH SlotLength;
- UINT16 SlotId;
- EFI_MISC_SLOT_CHARACTERISTICS SlotCharacteristics;
- EFI_DEVICE_PATH_PROTOCOL SlotDevicePath;
+ STRING_REF SlotDesignation;
+ EFI_MISC_SLOT_TYPE SlotType;
+ EFI_MISC_SLOT_DATA_BUS_WIDTH SlotDataBusWidth;
+ EFI_MISC_SLOT_USAGE SlotUsage;
+ EFI_MISC_SLOT_LENGTH SlotLength;
+ UINT16 SlotId;
+ EFI_MISC_SLOT_CHARACTERISTICS SlotCharacteristics;
+ EFI_DEVICE_PATH_PROTOCOL SlotDevicePath;
} EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. Onboard Device - SMBIOS Type 10
//
-#define EFI_MISC_ONBOARD_DEVICE_RECORD_NUMBER 0x00000008
+#define EFI_MISC_ONBOARD_DEVICE_RECORD_NUMBER 0x00000008
typedef enum {
EfiOnBoardDeviceTypeOther = 1,
@@ -1404,102 +1369,88 @@ typedef enum { } EFI_MISC_ONBOARD_DEVICE_TYPE;
typedef struct {
- UINT32 DeviceType :16;
- UINT32 DeviceEnabled :1;
- UINT32 Reserved :15;
+ UINT32 DeviceType :16;
+ UINT32 DeviceEnabled :1;
+ UINT32 Reserved :15;
} EFI_MISC_ONBOARD_DEVICE_STATUS;
typedef struct {
- STRING_REF OnBoardDeviceDescription;
- EFI_MISC_ONBOARD_DEVICE_STATUS OnBoardDeviceStatus;
- EFI_DEVICE_PATH_PROTOCOL OnBoardDevicePath;
+ STRING_REF OnBoardDeviceDescription;
+ EFI_MISC_ONBOARD_DEVICE_STATUS OnBoardDeviceStatus;
+ EFI_DEVICE_PATH_PROTOCOL OnBoardDevicePath;
} EFI_MISC_ONBOARD_DEVICE_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. BIOS Language Information - SMBIOS Type 11
//
-#define EFI_MISC_OEM_STRING_RECORD_NUMBER 0x00000009
+#define EFI_MISC_OEM_STRING_RECORD_NUMBER 0x00000009
typedef struct {
- STRING_REF OemStringRef[1];
+ STRING_REF OemStringRef[1];
} EFI_MISC_OEM_STRING_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. System Options - SMBIOS Type 12
//
typedef struct {
- STRING_REF SystemOptionStringRef[1];
+ STRING_REF SystemOptionStringRef[1];
} EFI_MISC_SYSTEM_OPTION_STRING_DATA;
-#define EFI_MISC_SYSTEM_OPTION_STRING_RECORD_NUMBER 0x0000000A
+#define EFI_MISC_SYSTEM_OPTION_STRING_RECORD_NUMBER 0x0000000A
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. Number of Installable Languages - SMBIOS Type 13
//
-#define EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_RECORD_NUMBER 0x0000000B
+#define EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_RECORD_NUMBER 0x0000000B
typedef struct {
- UINT32 AbbreviatedLanguageFormat :1;
- UINT32 Reserved :31;
+ UINT32 AbbreviatedLanguageFormat :1;
+ UINT32 Reserved :31;
} EFI_MISC_LANGUAGE_FLAGS;
typedef struct {
- UINT16 NumberOfInstallableLanguages;
- EFI_MISC_LANGUAGE_FLAGS LanguageFlags;
- UINT16 CurrentLanguageNumber;
+ UINT16 NumberOfInstallableLanguages;
+ EFI_MISC_LANGUAGE_FLAGS LanguageFlags;
+ UINT16 CurrentLanguageNumber;
} EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. System Language String
//
-#define EFI_MISC_SYSTEM_LANGUAGE_STRING_RECORD_NUMBER 0x0000000C
+#define EFI_MISC_SYSTEM_LANGUAGE_STRING_RECORD_NUMBER 0x0000000C
typedef struct {
- UINT16 LanguageId;
- STRING_REF SystemLanguageString;
+ UINT16 LanguageId;
+ STRING_REF SystemLanguageString;
} EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Group Associations - SMBIOS Type 14
//
-#define EFI_MISC_GROUP_NAME_RECORD_NUMBER 0x0000000D
+#define EFI_MISC_GROUP_NAME_RECORD_NUMBER 0x0000000D
typedef struct {
- STRING_REF GroupName;
- UINT16 NumberGroupItems;
- UINT16 GroupId;
+ STRING_REF GroupName;
+ UINT16 NumberGroupItems;
+ UINT16 GroupId;
} EFI_MISC_GROUP_NAME_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Group Item Set Element
//
-#define EFI_MISC_GROUP_ITEM_SET_RECORD_NUMBER 0x0000000E
+#define EFI_MISC_GROUP_ITEM_SET_RECORD_NUMBER 0x0000000E
typedef struct {
- EFI_GUID SubClass;
- EFI_INTER_LINK_DATA GroupLink;
- UINT16 GroupId;
- UINT16 GroupElementId;
+ EFI_GUID SubClass;
+ EFI_INTER_LINK_DATA GroupLink;
+ UINT16 GroupId;
+ UINT16 GroupElementId;
} EFI_MISC_GROUP_ITEM_SET_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. Pointing Device Type - SMBIOS Type 21
//
-#define EFI_MISC_POINTING_DEVICE_TYPE_RECORD_NUMBER 0x0000000F
+#define EFI_MISC_POINTING_DEVICE_TYPE_RECORD_NUMBER 0x0000000F
typedef enum {
EfiPointingDeviceTypeOther = 0x01,
@@ -1535,11 +1486,9 @@ typedef struct { } EFI_MISC_PORTING_DEVICE_TYPE_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Portable Battery - SMBIOS Type 22
//
-#define EFI_MISC_PORTABLE_BATTERY_RECORD_NUMBER 0x00000010
+#define EFI_MISC_PORTABLE_BATTERY_RECORD_NUMBER 0x00000010
typedef enum {
EfiPortableBatteryDeviceChemistryOther = 1,
@@ -1553,38 +1502,37 @@ typedef enum { } EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY;
typedef struct {
- STRING_REF Location;
- STRING_REF Manufacturer;
- STRING_REF ManufactureDate;
- STRING_REF SerialNumber;
- STRING_REF DeviceName;
- EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY DeviceChemistry;
- UINT16 DesignCapacity;
- UINT16 DesignVoltage;
- STRING_REF SBDSVersionNumber;
- UINT8 MaximumError;
- UINT16 SBDSSerialNumber;
- UINT16 SBDSManufactureDate;
- STRING_REF SBDSDeviceChemistry;
- UINT8 DesignCapacityMultiplier;
- UINT32 OEMSpecific;
- UINT8 BatteryNumber; // Temporary
- BOOLEAN Valid; // Is entry valid - Temporary
+ STRING_REF Location;
+ STRING_REF Manufacturer;
+ STRING_REF ManufactureDate;
+ STRING_REF SerialNumber;
+ STRING_REF DeviceName;
+ EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY
+ DeviceChemistry;
+ UINT16 DesignCapacity;
+ UINT16 DesignVoltage;
+ STRING_REF SBDSVersionNumber;
+ UINT8 MaximumError;
+ UINT16 SBDSSerialNumber;
+ UINT16 SBDSManufactureDate;
+ STRING_REF SBDSDeviceChemistry;
+ UINT8 DesignCapacityMultiplier;
+ UINT32 OEMSpecific;
+ UINT8 BatteryNumber; // Temporary
+ BOOLEAN Valid; // Is entry valid - Temporary
} EFI_MISC_PORTABLE_BATTERY;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. Reset Capabilities - SMBIOS Type 23
//
-#define EFI_MISC_RESET_CAPABILITIES_RECORD_NUMBER 0x00000011
+#define EFI_MISC_RESET_CAPABILITIES_RECORD_NUMBER 0x00000011
typedef struct {
- UINT32 Status :1;
- UINT32 BootOption :2;
- UINT32 BootOptionOnLimit :2;
- UINT32 WatchdogTimerPresent:1;
- UINT32 Reserved :26;
+ UINT32 Status :1;
+ UINT32 BootOption :2;
+ UINT32 BootOptionOnLimit :2;
+ UINT32 WatchdogTimerPresent:1;
+ UINT32 Reserved :26;
} EFI_MISC_RESET_CAPABILITIES_TYPE;
typedef struct {
@@ -1596,19 +1544,17 @@ typedef struct { } EFI_MISC_RESET_CAPABILITIES;
typedef struct {
- EFI_MISC_RESET_CAPABILITIES ResetCapabilities;
- UINT16 ResetCount;
- UINT16 ResetLimit;
- UINT16 ResetTimerInterval;
- UINT16 ResetTimeout;
+ EFI_MISC_RESET_CAPABILITIES ResetCapabilities;
+ UINT16 ResetCount;
+ UINT16 ResetLimit;
+ UINT16 ResetTimerInterval;
+ UINT16 ResetTimeout;
} EFI_MISC_RESET_CAPABILITIES_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. Hardware Security - SMBIOS Type 24
//
-#define EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA_RECORD_NUMBER 0x00000012
+#define EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA_RECORD_NUMBER 0x00000012
typedef enum {
EfiHardwareSecurityStatusDisabled = 0,
@@ -1618,11 +1564,11 @@ typedef enum { } EFI_MISC_HARDWARE_SECURITY_STATUS;
typedef struct {
- EFI_MISC_HARDWARE_SECURITY_STATUS FrontPanelResetStatus :2;
- EFI_MISC_HARDWARE_SECURITY_STATUS AdministratorPasswordStatus :2;
- EFI_MISC_HARDWARE_SECURITY_STATUS KeyboardPasswordStatus :2;
- EFI_MISC_HARDWARE_SECURITY_STATUS PowerOnPasswordStatus :2;
- EFI_MISC_HARDWARE_SECURITY_STATUS Reserved :24;
+ EFI_MISC_HARDWARE_SECURITY_STATUS FrontPanelResetStatus :2;
+ EFI_MISC_HARDWARE_SECURITY_STATUS AdministratorPasswordStatus :2;
+ EFI_MISC_HARDWARE_SECURITY_STATUS KeyboardPasswordStatus :2;
+ EFI_MISC_HARDWARE_SECURITY_STATUS PowerOnPasswordStatus :2;
+ EFI_MISC_HARDWARE_SECURITY_STATUS Reserved :24;
} EFI_MISC_HARDWARE_SECURITY_SETTINGS;
typedef struct {
@@ -1630,173 +1576,157 @@ typedef struct { } EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// System Power Controls - SMBIOS Type 25
//
-#define EFI_MISC_SCHEDULED_POWER_ON_MONTH_RECORD_NUMBER 0x00000013
+#define EFI_MISC_SCHEDULED_POWER_ON_MONTH_RECORD_NUMBER 0x00000013
typedef struct {
- UINT16 ScheduledPoweronMonth;
- UINT16 ScheduledPoweronDayOfMonth;
- UINT16 ScheduledPoweronHour;
- UINT16 ScheduledPoweronMinute;
- UINT16 ScheduledPoweronSecond;
+ UINT16 ScheduledPoweronMonth;
+ UINT16 ScheduledPoweronDayOfMonth;
+ UINT16 ScheduledPoweronHour;
+ UINT16 ScheduledPoweronMinute;
+ UINT16 ScheduledPoweronSecond;
} EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Voltage Probe - SMBIOS Type 26
//
-#define EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000014
+#define EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000014
typedef struct {
- UINT32 VoltageProbeSite :5;
- UINT32 VoltageProbeStatus :3;
- UINT32 Reserved :24;
+ UINT32 VoltageProbeSite :5;
+ UINT32 VoltageProbeStatus :3;
+ UINT32 Reserved :24;
} EFI_MISC_VOLTAGE_PROBE_LOCATION;
typedef struct {
- STRING_REF VoltageProbeDescription;
- EFI_MISC_VOLTAGE_PROBE_LOCATION VoltageProbeLocation;
- EFI_EXP_BASE10_DATA VoltageProbeMaximumValue;
- EFI_EXP_BASE10_DATA VoltageProbeMinimumValue;
- EFI_EXP_BASE10_DATA VoltageProbeResolution;
- EFI_EXP_BASE10_DATA VoltageProbeTolerance;
- EFI_EXP_BASE10_DATA VoltageProbeAccuracy;
- EFI_EXP_BASE10_DATA VoltageProbeNominalValue;
- EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold;
- EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold;
- EFI_EXP_BASE10_DATA MDLowerCriticalThreshold;
- EFI_EXP_BASE10_DATA MDUpperCriticalThreshold;
- EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold;
- EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold;
- UINT32 VoltageProbeOemDefined;
+ STRING_REF VoltageProbeDescription;
+ EFI_MISC_VOLTAGE_PROBE_LOCATION VoltageProbeLocation;
+ EFI_EXP_BASE10_DATA VoltageProbeMaximumValue;
+ EFI_EXP_BASE10_DATA VoltageProbeMinimumValue;
+ EFI_EXP_BASE10_DATA VoltageProbeResolution;
+ EFI_EXP_BASE10_DATA VoltageProbeTolerance;
+ EFI_EXP_BASE10_DATA VoltageProbeAccuracy;
+ EFI_EXP_BASE10_DATA VoltageProbeNominalValue;
+ EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold;
+ EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold;
+ EFI_EXP_BASE10_DATA MDLowerCriticalThreshold;
+ EFI_EXP_BASE10_DATA MDUpperCriticalThreshold;
+ EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold;
+ EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold;
+ UINT32 VoltageProbeOemDefined;
} EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Cooling Device - SMBIOS Type 27
//
-#define EFI_MISC_COOLING_DEVICE_TEMP_LINK_RECORD_NUMBER 0x00000015
+#define EFI_MISC_COOLING_DEVICE_TEMP_LINK_RECORD_NUMBER 0x00000015
typedef struct {
- UINT32 CoolingDevice :5;
- UINT32 CoolingDeviceStatus :3;
- UINT32 Reserved :24;
+ UINT32 CoolingDevice :5;
+ UINT32 CoolingDeviceStatus :3;
+ UINT32 Reserved :24;
} EFI_MISC_COOLING_DEVICE_TYPE;
typedef struct {
- EFI_MISC_COOLING_DEVICE_TYPE CoolingDeviceType;
- EFI_INTER_LINK_DATA CoolingDeviceTemperatureLink;
- UINT16 CoolingDeviceUnitGroup;
- EFI_EXP_BASE10_DATA CoolingDeviceNominalSpeed;
- UINT32 CoolingDeviceOemDefined;
+ EFI_MISC_COOLING_DEVICE_TYPE CoolingDeviceType;
+ EFI_INTER_LINK_DATA CoolingDeviceTemperatureLink;
+ UINT16 CoolingDeviceUnitGroup;
+ EFI_EXP_BASE10_DATA CoolingDeviceNominalSpeed;
+ UINT32 CoolingDeviceOemDefined;
} EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Temperature Probe - SMBIOS Type 28
//
-#define EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000016
+#define EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000016
typedef struct {
- UINT32 TemperatureProbeSite :5;
- UINT32 TemperatureProbeStatus :3;
- UINT32 Reserved :24;
+ UINT32 TemperatureProbeSite :5;
+ UINT32 TemperatureProbeStatus :3;
+ UINT32 Reserved :24;
} EFI_MISC_TEMPERATURE_PROBE_LOCATION;
typedef struct {
- STRING_REF TemperatureProbeDescription;
+ STRING_REF TemperatureProbeDescription;
EFI_MISC_TEMPERATURE_PROBE_LOCATION
- TemperatureProbeLocation;
- EFI_EXP_BASE10_DATA TemperatureProbeMaximumValue;
- EFI_EXP_BASE10_DATA TemperatureProbeMinimumValue;
- EFI_EXP_BASE10_DATA TemperatureProbeResolution;
- EFI_EXP_BASE10_DATA TemperatureProbeTolerance;
- EFI_EXP_BASE10_DATA TemperatureProbeAccuracy;
- EFI_EXP_BASE10_DATA TemperatureProbeNominalValue;
- EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold;
- EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold;
- EFI_EXP_BASE10_DATA MDLowerCriticalThreshold;
- EFI_EXP_BASE10_DATA MDUpperCriticalThreshold;
- EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold;
- EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold;
- UINT32 TemperatureProbeOemDefined;
+ TemperatureProbeLocation;
+ EFI_EXP_BASE10_DATA TemperatureProbeMaximumValue;
+ EFI_EXP_BASE10_DATA TemperatureProbeMinimumValue;
+ EFI_EXP_BASE10_DATA TemperatureProbeResolution;
+ EFI_EXP_BASE10_DATA TemperatureProbeTolerance;
+ EFI_EXP_BASE10_DATA TemperatureProbeAccuracy;
+ EFI_EXP_BASE10_DATA TemperatureProbeNominalValue;
+ EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold;
+ EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold;
+ EFI_EXP_BASE10_DATA MDLowerCriticalThreshold;
+ EFI_EXP_BASE10_DATA MDUpperCriticalThreshold;
+ EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold;
+ EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold;
+ UINT32 TemperatureProbeOemDefined;
} EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Electrical Current Probe - SMBIOS Type 29
//
-#define EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000017
+#define EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000017
typedef struct {
- UINT32 ElectricalCurrentProbeSite :5;
- UINT32 ElectricalCurrentProbeStatus :3;
- UINT32 Reserved :24;
+ UINT32 ElectricalCurrentProbeSite :5;
+ UINT32 ElectricalCurrentProbeStatus :3;
+ UINT32 Reserved :24;
} EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION;
typedef struct {
- STRING_REF ElectricalCurrentProbeDescription;
+ STRING_REF ElectricalCurrentProbeDescription;
EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION
- ElectricalCurrentProbeLocation;
- EFI_EXP_BASE10_DATA ElectricalCurrentProbeMaximumValue;
- EFI_EXP_BASE10_DATA ElectricalCurrentProbeMinimumValue;
- EFI_EXP_BASE10_DATA ElectricalCurrentProbeResolution;
- EFI_EXP_BASE10_DATA ElectricalCurrentProbeTolerance;
- EFI_EXP_BASE10_DATA ElectricalCurrentProbeAccuracy;
- EFI_EXP_BASE10_DATA ElectricalCurrentProbeNominalValue;
- EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold;
- EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold;
- EFI_EXP_BASE10_DATA MDLowerCriticalThreshold;
- EFI_EXP_BASE10_DATA MDUpperCriticalThreshold;
- EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold;
- EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold;
- UINT32 ElectricalCurrentProbeOemDefined;
+ ElectricalCurrentProbeLocation;
+ EFI_EXP_BASE10_DATA ElectricalCurrentProbeMaximumValue;
+ EFI_EXP_BASE10_DATA ElectricalCurrentProbeMinimumValue;
+ EFI_EXP_BASE10_DATA ElectricalCurrentProbeResolution;
+ EFI_EXP_BASE10_DATA ElectricalCurrentProbeTolerance;
+ EFI_EXP_BASE10_DATA ElectricalCurrentProbeAccuracy;
+ EFI_EXP_BASE10_DATA ElectricalCurrentProbeNominalValue;
+ EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold;
+ EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold;
+ EFI_EXP_BASE10_DATA MDLowerCriticalThreshold;
+ EFI_EXP_BASE10_DATA MDUpperCriticalThreshold;
+ EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold;
+ EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold;
+ UINT32 ElectricalCurrentProbeOemDefined;
} EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Out-of-Band Remote Access - SMBIOS Type 30
//
-#define EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_RECORD_NUMBER 0x00000018
+#define EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_RECORD_NUMBER 0x00000018
typedef struct {
- UINT32 InboundConnectionEnabled :1;
- UINT32 OutboundConnectionEnabled :1;
- UINT32 Reserved :30;
+ UINT32 InboundConnectionEnabled :1;
+ UINT32 OutboundConnectionEnabled :1;
+ UINT32 Reserved :30;
} EFI_MISC_REMOTE_ACCESS_CONNECTIONS;
typedef struct {
- STRING_REF RemoteAccessManufacturerNameDescription;
- EFI_MISC_REMOTE_ACCESS_CONNECTIONS RemoteAccessConnections;
+ STRING_REF RemoteAccessManufacturerNameDescription;
+ EFI_MISC_REMOTE_ACCESS_CONNECTIONS RemoteAccessConnections;
} EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. BIS Entry Point - SMBIOS Type 31
//
-#define EFI_MISC_BIS_ENTRY_POINT_RECORD_NUMBER 0x00000019
+#define EFI_MISC_BIS_ENTRY_POINT_RECORD_NUMBER 0x00000019
typedef struct {
- EFI_PHYSICAL_ADDRESS BisEntryPoint;
+ EFI_PHYSICAL_ADDRESS BisEntryPoint;
} EFI_MISC_BIS_ENTRY_POINT_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. Boot Information - SMBIOS Type 32
//
-#define EFI_MISC_BOOT_INFORMATION_STATUS_RECORD_NUMBER 0x0000001A
+#define EFI_MISC_BOOT_INFORMATION_STATUS_RECORD_NUMBER 0x0000001A
typedef enum {
EfiBootInformationStatusNoError = 0x00,
@@ -1819,11 +1749,9 @@ typedef struct { } EFI_MISC_BOOT_INFORMATION_STATUS_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Management Device - SMBIOS Type 34
//
-#define EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_RECORD_NUMBER 0x0000001B
+#define EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_RECORD_NUMBER 0x0000001B
typedef enum {
EfiManagementDeviceTypeOther = 0x01,
@@ -1850,31 +1778,27 @@ typedef enum { } EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE;
typedef struct {
- STRING_REF ManagementDeviceDescription;
- EFI_MISC_MANAGEMENT_DEVICE_TYPE ManagementDeviceType;
- UINTN ManagementDeviceAddress;
+ STRING_REF ManagementDeviceDescription;
+ EFI_MISC_MANAGEMENT_DEVICE_TYPE ManagementDeviceType;
+ UINTN ManagementDeviceAddress;
EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE
- ManagementDeviceAddressType;
+ ManagementDeviceAddressType;
} EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Management Device Component - SMBIOS Type 35
//
-#define EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_RECORD_NUMBER 0x0000001C
+#define EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_RECORD_NUMBER 0x0000001C
typedef struct {
- STRING_REF ManagementDeviceComponentDescription;
- EFI_INTER_LINK_DATA ManagementDeviceLink;
- EFI_INTER_LINK_DATA ManagementDeviceComponentLink;
- EFI_INTER_LINK_DATA ManagementDeviceThresholdLink;
+ STRING_REF ManagementDeviceComponentDescription;
+ EFI_INTER_LINK_DATA ManagementDeviceLink;
+ EFI_INTER_LINK_DATA ManagementDeviceComponentLink;
+ EFI_INTER_LINK_DATA ManagementDeviceThresholdLink;
} EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA;
//
-//////////////////////////////////////////////////////////////////////////////
-//
// IPMI Data Record - SMBIOS Type 38
//
typedef enum {
@@ -1885,91 +1809,85 @@ typedef enum { } EFI_MISC_IPMI_INTERFACE_TYPE;
typedef struct {
- UINT16 IpmiSpecLeastSignificantDigit:4;
- UINT16 IpmiSpecMostSignificantDigit: 4;
- UINT16 Reserved: 8;
+ UINT16 IpmiSpecLeastSignificantDigit:4;
+ UINT16 IpmiSpecMostSignificantDigit: 4;
+ UINT16 Reserved: 8;
} EFI_MISC_IPMI_SPECIFICATION_REVISION;
typedef struct {
- EFI_MISC_IPMI_INTERFACE_TYPE IpmiInterfaceType;
- EFI_MISC_IPMI_SPECIFICATION_REVISION IpmiSpecificationRevision;
- UINT16 IpmiI2CSlaveAddress;
- UINT16 IpmiNvDeviceAddress;
- UINT64 IpmiBaseAddress;
- EFI_DEVICE_PATH_PROTOCOL IpmiDevicePath;
+ EFI_MISC_IPMI_INTERFACE_TYPE IpmiInterfaceType;
+ EFI_MISC_IPMI_SPECIFICATION_REVISION
+ IpmiSpecificationRevision;
+ UINT16 IpmiI2CSlaveAddress;
+ UINT16 IpmiNvDeviceAddress;
+ UINT64 IpmiBaseAddress;
+ EFI_DEVICE_PATH_PROTOCOL IpmiDevicePath;
} EFI_MISC_IPMI_INTERFACE_TYPE_DATA;
-#define EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER 0x0000001D
+#define EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER 0x0000001D
//
-//////////////////////////////////////////////////////////////////////////////
-//
//System Power supply Record - SMBIOS Type 39
//
typedef struct {
- UINT16 PowerSupplyHotReplaceable :1;
- UINT16 PowerSupplyPresent :1;
- UINT16 PowerSupplyUnplugged :1;
- UINT16 InputVoltageRangeSwitch :4;
- UINT16 PowerSupplyStatus :3;
- UINT16 PowerSupplyType :4;
- UINT16 Reserved :2;
+ UINT16 PowerSupplyHotReplaceable:1;
+ UINT16 PowerSupplyPresent :1;
+ UINT16 PowerSupplyUnplugged :1;
+ UINT16 InputVoltageRangeSwitch :4;
+ UINT16 PowerSupplyStatus :3;
+ UINT16 PowerSupplyType :4;
+ UINT16 Reserved :2;
} POWER_SUPPLY_CHARACTERISTICS;
typedef struct {
- UINT16 PowerUnitGroup;
- STRING_REF PowerSupplyLocation;
- STRING_REF PowerSupplyDeviceName;
- STRING_REF PowerSupplyManufacturer;
- STRING_REF PowerSupplySerialNumber;
- STRING_REF PowerSupplyAssetTagNumber;
- STRING_REF PowerSupplyModelPartNumber;
- STRING_REF PowerSupplyRevisionLevel;
- UINT16 PowerSupplyMaxPowerCapacity;
- POWER_SUPPLY_CHARACTERISTICS PowerSupplyCharacteristics;
- EFI_INTER_LINK_DATA PowerSupplyInputVoltageProbeLink;
- EFI_INTER_LINK_DATA PowerSupplyCoolingDeviceLink;
- EFI_INTER_LINK_DATA PowerSupplyInputCurrentProbeLink;
+ UINT16 PowerUnitGroup;
+ STRING_REF PowerSupplyLocation;
+ STRING_REF PowerSupplyDeviceName;
+ STRING_REF PowerSupplyManufacturer;
+ STRING_REF PowerSupplySerialNumber;
+ STRING_REF PowerSupplyAssetTagNumber;
+ STRING_REF PowerSupplyModelPartNumber;
+ STRING_REF PowerSupplyRevisionLevel;
+ UINT16 PowerSupplyMaxPowerCapacity;
+ POWER_SUPPLY_CHARACTERISTICS PowerSupplyCharacteristics;
+ EFI_INTER_LINK_DATA PowerSupplyInputVoltageProbeLink;
+ EFI_INTER_LINK_DATA PowerSupplyCoolingDeviceLink;
+ EFI_INTER_LINK_DATA PowerSupplyInputCurrentProbeLink;
} EFI_MISC_SYSTEM_POWER_SUPPLY_DATA;
-#define EFI_MISC_SYSTEM_POWER_SUPPLY_RECORD_NUMBER 0x0000001E
+#define EFI_MISC_SYSTEM_POWER_SUPPLY_RECORD_NUMBER 0x0000001E
//
-//////////////////////////////////////////////////////////////////////////////
-//
// OEM Data Record - SMBIOS Type 0x80-0xFF
//
typedef struct {
- UINT8 Type;
- UINT8 Length;
- UINT16 Handle;
+ UINT8 Type;
+ UINT8 Length;
+ UINT16 Handle;
} SMBIOS_STRUCTURE_HDR;
typedef struct {
- SMBIOS_STRUCTURE_HDR Header;
- UINT8 RawData[1];
+ SMBIOS_STRUCTURE_HDR Header;
+ UINT8 RawData[1];
} EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA;
-#define EFI_MISC_SMBIOS_STRUCT_ENCAP_RECORD_NUMBER 0x0000001F
+#define EFI_MISC_SMBIOS_STRUCT_ENCAP_RECORD_NUMBER 0x0000001F
//
-//////////////////////////////////////////////////////////////////////////////
-//
// Misc. System Event Log - SMBIOS Type 15
//
-#define EFI_MISC_SYSTEM_EVENT_LOG_RECORD_NUMBER 0x00000020
-typedef struct {
- //SMBIOS_STRUCTURE_HDR Header;
- UINT16 LogAreaLength;
- UINT16 LogHeaderStartOffset;
- UINT16 LogDataStartOffset;
- UINT8 AccessMethod;
- UINT8 LogStatus;
- UINT32 LogChangeToken;
- UINT32 AccessMethodAddress;
- UINT8 LogHeaderFormat;
- UINT8 NumberOfSupportedLogType;
- UINT8 LengthOfLogDescriptor;
+#define EFI_MISC_SYSTEM_EVENT_LOG_RECORD_NUMBER 0x00000020
+typedef struct {
+ UINT16 LogAreaLength;
+ UINT16 LogHeaderStartOffset;
+ UINT16 LogDataStartOffset;
+ UINT8 AccessMethod;
+ UINT8 LogStatus;
+ UINT32 LogChangeToken;
+ UINT32 AccessMethodAddress;
+ UINT8 LogHeaderFormat;
+ UINT8 NumberOfSupportedLogType;
+ UINT8 LengthOfLogDescriptor;
} EFI_MISC_SYSTEM_EVENT_LOG_DATA;
//
@@ -1985,19 +1903,17 @@ typedef struct { #define ACCESS_GPNV 0x04
//
-//////////////////////////////////////////////////////////////////////////////
-//
//Management Device Threshold Data Record - SMBIOS Type 36
//
-#define EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD_RECORD_NUMBER 0x00000021
+#define EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD_RECORD_NUMBER 0x00000021
typedef struct {
- UINT16 LowerThresNonCritical;
- UINT16 UpperThresNonCritical;
- UINT16 LowerThresCritical;
- UINT16 UpperThresCritical;
- UINT16 LowerThresNonRecover;
- UINT16 UpperThresNonRecover;
+ UINT16 LowerThresNonCritical;
+ UINT16 UpperThresNonCritical;
+ UINT16 LowerThresCritical;
+ UINT16 UpperThresCritical;
+ UINT16 LowerThresNonRecover;
+ UINT16 UpperThresNonRecover;
} EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD;
//
@@ -2071,8 +1987,8 @@ typedef union { //
//
typedef struct {
- EFI_SUBCLASS_TYPE1_HEADER Header;
- EFI_MISC_SUBCLASS_RECORDS Record;
+ EFI_SUBCLASS_TYPE1_HEADER Header;
+ EFI_MISC_SUBCLASS_RECORDS Record;
} EFI_MISC_SUBCLASS_DRIVER_DATA;
#pragma pack()
diff --git a/IntelFrameworkPkg/Include/Framework/DxeCis.h b/IntelFrameworkPkg/Include/Framework/DxeCis.h index 0a4ae2171c..570c2bc7d7 100644 --- a/IntelFrameworkPkg/Include/Framework/DxeCis.h +++ b/IntelFrameworkPkg/Include/Framework/DxeCis.h @@ -32,44 +32,39 @@ typedef
VOID
(EFIAPI *EFI_AP_PROCEDURE)(
- IN VOID *Buffer
+ IN VOID *Buffer
);
typedef struct {
- EFI_TABLE_HEADER Hdr;
-
+ EFI_TABLE_HEADER Hdr;
//
// Time services
//
- EFI_GET_TIME GetTime;
- EFI_SET_TIME SetTime;
- EFI_GET_WAKEUP_TIME GetWakeupTime;
- EFI_SET_WAKEUP_TIME SetWakeupTime;
-
+ EFI_GET_TIME GetTime;
+ EFI_SET_TIME SetTime;
+ EFI_GET_WAKEUP_TIME GetWakeupTime;
+ EFI_SET_WAKEUP_TIME SetWakeupTime;
//
// Virtual memory services
//
- EFI_SET_VIRTUAL_ADDRESS_MAP SetVirtualAddressMap;
- EFI_CONVERT_POINTER ConvertPointer;
-
+ EFI_SET_VIRTUAL_ADDRESS_MAP SetVirtualAddressMap;
+ EFI_CONVERT_POINTER ConvertPointer;
//
// Variable services
//
- EFI_GET_VARIABLE GetVariable;
- EFI_GET_NEXT_VARIABLE_NAME GetNextVariableName;
- EFI_SET_VARIABLE SetVariable;
-
+ EFI_GET_VARIABLE GetVariable;
+ EFI_GET_NEXT_VARIABLE_NAME GetNextVariableName;
+ EFI_SET_VARIABLE SetVariable;
//
// Misc
//
- EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount;
- EFI_RESET_SYSTEM ResetSystem;
-
+ EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount;
+ EFI_RESET_SYSTEM ResetSystem;
//
// Framework extension to UEFI 2.0 runtime table
// It was moved to a protocol to not conflict with UEFI 2.0
//
- EFI_REPORT_STATUS_CODE ReportStatusCode;
+ EFI_REPORT_STATUS_CODE ReportStatusCode;
} FRAMEWORK_EFI_RUNTIME_SERVICES;
#define EFI_EVENT_RUNTIME_CONTEXT 0x20000000
@@ -77,18 +72,16 @@ typedef struct { #define EFI_EVENT_SIGNAL_READY_TO_BOOT 0x00000203
#define EFI_EVENT_SIGNAL_LEGACY_BOOT 0x00000204
-
typedef struct {
- EFI_DEVICE_PATH_PROTOCOL Header;
- EFI_GUID TianoSpecificDevicePath;
- UINT32 Type;
+ EFI_DEVICE_PATH_PROTOCOL Header;
+ EFI_GUID TianoSpecificDevicePath;
+ UINT32 Type;
} TIANO_DEVICE_PATH;
-#define TIANO_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE 0x01
+#define TIANO_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE 0x01
typedef struct {
- TIANO_DEVICE_PATH Tiano;
- EFI_GUID NameGuid;
+ TIANO_DEVICE_PATH Tiano;
+ EFI_GUID NameGuid;
} FRAMEWORK_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;
-
#endif
diff --git a/IntelFrameworkPkg/Include/Framework/FrameworkInternalFormRepresentation.h b/IntelFrameworkPkg/Include/Framework/FrameworkInternalFormRepresentation.h index 7c257c69de..7f7512a59f 100644 --- a/IntelFrameworkPkg/Include/Framework/FrameworkInternalFormRepresentation.h +++ b/IntelFrameworkPkg/Include/Framework/FrameworkInternalFormRepresentation.h @@ -75,12 +75,12 @@ // Define values for the flags fields in some VFR opcodes. These are
// bitmasks.
//
-#define FRAMEWORK_EFI_IFR_FLAG_DEFAULT 0x01
-#define FRAMEWORK_EFI_IFR_FLAG_MANUFACTURING 0x02
-#define FRAMEWORK_EFI_IFR_FLAG_INTERACTIVE 0x04
-#define FRAMEWORK_EFI_IFR_FLAG_NV_ACCESS 0x08
-#define FRAMEWORK_EFI_IFR_FLAG_RESET_REQUIRED 0x10
-#define FRAMEWORK_EFI_IFR_FLAG_LATE_CHECK 0x20
+#define FRAMEWORK_EFI_IFR_FLAG_DEFAULT 0x01
+#define FRAMEWORK_EFI_IFR_FLAG_MANUFACTURING 0x02
+#define FRAMEWORK_EFI_IFR_FLAG_INTERACTIVE 0x04
+#define FRAMEWORK_EFI_IFR_FLAG_NV_ACCESS 0x08
+#define FRAMEWORK_EFI_IFR_FLAG_RESET_REQUIRED 0x10
+#define FRAMEWORK_EFI_IFR_FLAG_LATE_CHECK 0x20
#define EFI_NON_DEVICE_CLASS 0x00 // Useful when you do not want something in the Device Manager
#define EFI_DISK_DEVICE_CLASS 0x01
@@ -111,258 +111,259 @@ // IFR Structure definitions
//
typedef struct {
- UINT8 OpCode;
- UINT8 Length;
+ UINT8 OpCode;
+ UINT8 Length;
} FRAMEWORK_EFI_IFR_OP_HEADER;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- EFI_GUID Guid;
- STRING_REF FormSetTitle;
- STRING_REF Help;
- EFI_PHYSICAL_ADDRESS CallbackHandle;
- UINT16 Class;
- UINT16 SubClass;
- UINT16 NvDataSize; // set once, size of the NV data as defined in the script
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ EFI_GUID Guid;
+ STRING_REF FormSetTitle;
+ STRING_REF Help;
+ EFI_PHYSICAL_ADDRESS CallbackHandle;
+ UINT16 Class;
+ UINT16 SubClass;
+ UINT16 NvDataSize; // set once, size of the NV data as defined in the script
} FRAMEWORK_EFI_IFR_FORM_SET;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 FormId;
- STRING_REF FormTitle;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 FormId;
+ STRING_REF FormTitle;
} FRAMEWORK_EFI_IFR_FORM;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 LabelId;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 LabelId;
} FRAMEWORK_EFI_IFR_LABEL;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- STRING_REF SubTitle;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ STRING_REF SubTitle;
} FRAMEWORK_EFI_IFR_SUBTITLE;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- STRING_REF Help;
- STRING_REF Text;
- STRING_REF TextTwo;
- UINT8 Flags; // This is included solely for purposes of interactive/dynamic support.
- UINT16 Key; // Value to be passed to caller to identify this particular op-code
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ STRING_REF Help;
+ STRING_REF Text;
+ STRING_REF TextTwo;
+ UINT8 Flags; // This is included solely for purposes of interactive/dynamic support.
+ UINT16 Key; // Value to be passed to caller to identify this particular op-code
} FRAMEWORK_EFI_IFR_TEXT;
//
// goto
//
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 FormId;
- STRING_REF Prompt;
- STRING_REF Help; // The string Token for the context-help
- UINT8 Flags; // This is included solely for purposes of interactive/dynamic support.
- UINT16 Key; // Value to be passed to caller to identify this particular op-code
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 FormId;
+ STRING_REF Prompt;
+ STRING_REF Help; // The string Token for the context-help
+ UINT8 Flags; // This is included solely for purposes of interactive/dynamic support.
+ UINT16 Key; // Value to be passed to caller to identify this particular op-code
} FRAMEWORK_EFI_IFR_REF;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
} FRAMEWORK_EFI_IFR_END_FORM;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
} FRAMEWORK_EFI_IFR_END_FORM_SET;
//
-// Also notice that the IFR_ONE_OF and IFR_CHECK_BOX are identical in structure......code assumes this to be true, if this ever
-// changes we need to revisit the InitializeTagStructures code
+// Also notice that the IFR_ONE_OF and IFR_CHECK_BOX are identical in structure......
+// code assumes this to be true, if this ever changes we need to revisit the InitializeTagStructures code
//
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 QuestionId; // The ID designating what the question is about...sucked in from a #define, likely in the form of a variable name
- UINT8 Width; // The Size of the Data being saved
- STRING_REF Prompt; // The String Token for the Prompt
- STRING_REF Help; // The string Token for the context-help
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 QuestionId; // The ID designating what the question is about...
+ UINT8 Width; // The Size of the Data being saved
+ STRING_REF Prompt; // The String Token for the Prompt
+ STRING_REF Help; // The string Token for the context-help
} FRAMEWORK_EFI_IFR_ONE_OF;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 QuestionId; // The offset in NV for storage of the data
- UINT8 MaxEntries; // The maximum number of options in the ordered list (=size of NVStore)
- STRING_REF Prompt; // The string token for the prompt
- STRING_REF Help; // The string token for the context-help
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 QuestionId; // The offset in NV for storage of the data
+ UINT8 MaxEntries; // The maximum number of options in the ordered list (=size of NVStore)
+ STRING_REF Prompt; // The string token for the prompt
+ STRING_REF Help; // The string token for the context-help
} FRAMEWORK_EFI_IFR_ORDERED_LIST;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 QuestionId; // The ID designating what the question is about...sucked in from a #define, likely in the form of a variable name
- UINT8 Width; // The Size of the Data being saved
- STRING_REF Prompt; // The String Token for the Prompt
- STRING_REF Help; // The string Token for the context-help
- UINT8 Flags; // For now, if non-zero, means that it is the default option, - further definition likely
- UINT16 Key; // Value to be passed to caller to identify this particular op-code
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 QuestionId; // The ID designating what the question is about...
+ UINT8 Width; // The Size of the Data being saved
+ STRING_REF Prompt; // The String Token for the Prompt
+ STRING_REF Help; // The string Token for the context-help
+ UINT8 Flags; // If non-zero, means that it is the default option
+ UINT16 Key; // Value to be passed to caller to identify this particular op-code
} FRAMEWORK_EFI_IFR_CHECKBOX, FRAMEWORK_EFI_IFR_CHECK_BOX;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- STRING_REF Option; // The string token describing the option
- UINT16 Value; // The value associated with this option that is stored in the NVRAM if chosen
- UINT8 Flags; // For now, if non-zero, means that it is the default option, - further definition likely above
- UINT16 Key; // Value to be passed to caller to identify this particular op-code
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ STRING_REF Option; // The string token describing the option
+ UINT16 Value; // The value associated with this option that is stored in the NVRAM
+ UINT8 Flags; // If non-zero, means that it is the default option
+ UINT16 Key; // Value to be passed to caller to identify this particular op-code
} FRAMEWORK_EFI_IFR_ONE_OF_OPTION;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 QuestionId; // The ID designating what the question is about...sucked in from a #define, likely in the form of a variable name
- UINT8 Width; // The Size of the Data being saved
- STRING_REF Prompt; // The String Token for the Prompt
- STRING_REF Help; // The string Token for the context-help
- UINT8 Flags; // This is included solely for purposes of interactive/dynamic support.
- UINT16 Key; // Value to be passed to caller to identify this particular op-code
- UINT16 Minimum;
- UINT16 Maximum;
- UINT16 Step; // If step is 0, then manual input is specified, otherwise, left/right arrow selection is called for
- UINT16 Default;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 QuestionId; // The ID designating what the question is about...
+ UINT8 Width; // The Size of the Data being saved
+ STRING_REF Prompt; // The String Token for the Prompt
+ STRING_REF Help; // The string Token for the context-help
+ UINT8 Flags; // This is included solely for purposes of interactive/dynamic support.
+ UINT16 Key; // Value to be passed to caller to identify this particular op-code
+ UINT16 Minimum;
+ UINT16 Maximum;
+ UINT16 Step; // Zero means manual input, otherwise, arrow selection is called for
+ UINT16 Default;
} FRAMEWORK_EFI_IFR_NUMERIC;
//
-// There is an interesting twist with regards to Time and Date. This is one of the few items which can accept input from
-// a user, however may or may not need to use storage in the NVRAM space. The decided method for determining if NVRAM space
-// will be used (only for a TimeOp or DateOp) is: If .QuestionId == 0 && .Width == 0 (normally an impossibility) then use system
-// resources to store the data away and not NV resources. In other words, the setup engine will call gRT->SetTime, and gRT->SetDate
-// for the saving of data, and the values displayed will be from the gRT->GetXXXX series of calls.
+// There is an interesting twist with regards to Time and Date. This is one of the few items which can accept input
+// from a user, however may or may not need to use storage in the NVRAM space. The decided method for determining
+// if NVRAM space will be used (only for a TimeOp or DateOp) is: If .QuestionId == 0 && .Width == 0 (normally an
+// impossibility) then use system resources to store the data away and not NV resources. In other words, the setup
+// engine will call gRT->SetTime, and gRT->SetDate for the saving of data, and the values displayed will be from the
+// gRT->GetXXXX series of calls.
//
typedef struct {
- FRAMEWORK_EFI_IFR_NUMERIC Hour;
- FRAMEWORK_EFI_IFR_NUMERIC Minute;
- FRAMEWORK_EFI_IFR_NUMERIC Second;
+ FRAMEWORK_EFI_IFR_NUMERIC Hour;
+ FRAMEWORK_EFI_IFR_NUMERIC Minute;
+ FRAMEWORK_EFI_IFR_NUMERIC Second;
} FRAMEWORK_EFI_IFR_TIME;
typedef struct {
- FRAMEWORK_EFI_IFR_NUMERIC Year;
- FRAMEWORK_EFI_IFR_NUMERIC Month;
- FRAMEWORK_EFI_IFR_NUMERIC Day;
+ FRAMEWORK_EFI_IFR_NUMERIC Year;
+ FRAMEWORK_EFI_IFR_NUMERIC Month;
+ FRAMEWORK_EFI_IFR_NUMERIC Day;
} FRAMEWORK_EFI_IFR_DATE;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 QuestionId; // The ID designating what the question is about...sucked in from a #define, likely in the form of a variable name
- UINT8 Width; // The Size of the Data being saved @bug -- remove someday
- STRING_REF Prompt; // The String Token for the Prompt
- STRING_REF Help; // The string Token for the context-help
- UINT8 Flags; // This is included solely for purposes of interactive/dynamic support.
- UINT16 Key; // Value to be passed to caller to identify this particular op-code
- UINT8 MinSize; // Minimum allowable sized password
- UINT8 MaxSize; // Maximum allowable sized password
- UINT16 Encoding;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 QuestionId;// The ID designating what the question is about...
+ UINT8 Width; // The Size of the Data being saved
+ STRING_REF Prompt; // The String Token for the Prompt
+ STRING_REF Help; // The string Token for the context-help
+ UINT8 Flags; // This is included solely for purposes of interactive/dynamic support.
+ UINT16 Key; // Value to be passed to caller to identify this particular op-code
+ UINT8 MinSize; // Minimum allowable sized password
+ UINT8 MaxSize; // Maximum allowable sized password
+ UINT16 Encoding;
} FRAMEWORK_EFI_IFR_PASSWORD;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 QuestionId; // The ID designating what the question is about...sucked in from a #define, likely in the form of a variable name
- UINT8 Width; // The Size of the Data being saved @bug -- remove someday
- STRING_REF Prompt; // The String Token for the Prompt
- STRING_REF Help; // The string Token for the context-help
- UINT8 Flags; // This is included solely for purposes of interactive/dynamic support.
- UINT16 Key; // Value to be passed to caller to identify this particular op-code
- UINT8 MinSize; // Minimum allowable sized password
- UINT8 MaxSize; // Maximum allowable sized password
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 QuestionId; // The ID designating what the question is about...
+ UINT8 Width; // The Size of the Data being saved
+ STRING_REF Prompt; // The String Token for the Prompt
+ STRING_REF Help; // The string Token for the context-help
+ UINT8 Flags; // This is included solely for purposes of interactive/dynamic support.
+ UINT16 Key; // Value to be passed to caller to identify this particular op-code
+ UINT8 MinSize; // Minimum allowable sized password
+ UINT8 MaxSize; // Maximum allowable sized password
} FRAMEWORK_EFI_IFR_STRING;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
} FRAMEWORK_EFI_IFR_END_ONE_OF;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 Value;
- UINT16 Key;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 Value;
+ UINT16 Key;
} FRAMEWORK_EFI_IFR_HIDDEN;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT8 Flags;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT8 Flags;
} FRAMEWORK_EFI_IFR_SUPPRESS;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT8 Flags;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT8 Flags;
} FRAMEWORK_EFI_IFR_GRAY_OUT;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- STRING_REF Popup;
- UINT8 Flags;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ STRING_REF Popup;
+ UINT8 Flags;
} FRAMEWORK_EFI_IFR_INCONSISTENT;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 QuestionId; // offset into variable storage
- UINT8 Width; // size of variable storage
- UINT16 Value; // value to compare against
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 QuestionId; // offset into variable storage
+ UINT8 Width; // size of variable storage
+ UINT16 Value; // value to compare against
} FRAMEWORK_EFI_IFR_EQ_ID_VAL;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 QuestionId; // offset into variable storage
- UINT8 Width; // size of variable storage
- UINT16 ListLength;
- UINT16 ValueList[1];
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 QuestionId; // offset into variable storage
+ UINT8 Width; // size of variable storage
+ UINT16 ListLength;
+ UINT16 ValueList[1];
} FRAMEWORK_EFI_IFR_EQ_ID_LIST;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 QuestionId1; // offset into variable storage for first value to compare
- UINT8 Width; // size of variable storage (must be same for both)
- UINT16 QuestionId2; // offset into variable storage for second value to compare
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 QuestionId1; // offset into variable storage for first value to compare
+ UINT8 Width; // size of variable storage (must be same for both)
+ UINT16 QuestionId2; // offset into variable storage for second value to compare
} FRAMEWORK_EFI_IFR_EQ_ID_ID;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 VariableId; // offset into variable storage
- UINT16 Value; // value to compare against
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 VariableId; // offset into variable storage
+ UINT16 Value; // value to compare against
} FRAMEWORK_EFI_IFR_EQ_VAR_VAL;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
} FRAMEWORK_EFI_IFR_AND;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
} FRAMEWORK_EFI_IFR_OR;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
} FRAMEWORK_EFI_IFR_NOT;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
} FRAMEWORK_EFI_IFR_END_EXPR, FRAMEWORK_EFI_IFR_END_IF;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 FormId;
- STRING_REF Prompt;
- STRING_REF Help;
- UINT8 Flags;
- UINT16 Key;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 FormId;
+ STRING_REF Prompt;
+ STRING_REF Help;
+ UINT8 Flags;
+ UINT16 Key;
} FRAMEWORK_EFI_IFR_SAVE_DEFAULTS;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- STRING_REF Help;
- STRING_REF Text;
- STRING_REF TextTwo; // optional text
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ STRING_REF Help;
+ STRING_REF Text;
+ STRING_REF TextTwo; // optional text
} FRAMEWORK_EFI_IFR_INVENTORY;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- EFI_GUID Guid; // GUID for the variable
- UINT16 VarId; // variable store ID, as referenced elsewhere in the form
- UINT16 Size; // size of the variable storage
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ EFI_GUID Guid; // GUID for the variable
+ UINT16 VarId; // variable store ID, as referenced elsewhere in the form
+ UINT16 Size; // size of the variable storage
} FRAMEWORK_EFI_IFR_VARSTORE;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 VarId; // variable store ID, as referenced elsewhere in the form
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 VarId; // variable store ID, as referenced elsewhere in the form
} FRAMEWORK_EFI_IFR_VARSTORE_SELECT;
//
@@ -372,25 +373,25 @@ typedef struct { // IFR opcodes use the VarId as defined here.
//
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- UINT16 VarId; // variable store ID, as referenced elsewhere in the form
- UINT16 SecondaryVarId; // variable store ID, as referenced elsewhere in the form
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ UINT16 VarId; // variable store ID, as referenced elsewhere in the form
+ UINT16 SecondaryVarId; // variable store ID, as referenced elsewhere in the form
} FRAMEWORK_EFI_IFR_VARSTORE_SELECT_PAIR;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
} FRAMEWORK_EFI_IFR_TRUE;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
} FRAMEWORK_EFI_IFR_FALSE;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
} FRAMEWORK_EFI_IFR_GT;
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
} FRAMEWORK_EFI_IFR_GE;
//
@@ -399,10 +400,10 @@ typedef struct { #define FRAMEWORK_EFI_IFR_RESTORE_DEFAULTS FRAMEWORK_EFI_IFR_SAVE_DEFAULTS
typedef struct {
- FRAMEWORK_EFI_IFR_OP_HEADER Header;
- STRING_REF Title; // The string token for the banner title
- UINT16 LineNumber; // 1-based line number
- UINT8 Alignment; // left, center, or right-aligned
+ FRAMEWORK_EFI_IFR_OP_HEADER Header;
+ STRING_REF Title; // The string token for the banner title
+ UINT16 LineNumber; // 1-based line number
+ UINT8 Alignment; // left, center, or right-aligned
} FRAMEWORK_EFI_IFR_BANNER;
#define FRAMEWORK_EFI_IFR_BANNER_ALIGN_LEFT 0
diff --git a/IntelFrameworkPkg/Include/Framework/Hob.h b/IntelFrameworkPkg/Include/Framework/Hob.h index cdc419d0ea..193451e493 100644 --- a/IntelFrameworkPkg/Include/Framework/Hob.h +++ b/IntelFrameworkPkg/Include/Framework/Hob.h @@ -25,12 +25,12 @@ //
// Capsule volume HOB -- identical to a firmware volume
//
-#define EFI_HOB_TYPE_CV 0x0008
+#define EFI_HOB_TYPE_CV 0x0008
typedef struct {
- EFI_HOB_GENERIC_HEADER Header;
- EFI_PHYSICAL_ADDRESS BaseAddress;
- UINT64 Length;
+ EFI_HOB_GENERIC_HEADER Header;
+ EFI_PHYSICAL_ADDRESS BaseAddress;
+ UINT64 Length;
} EFI_HOB_CAPSULE_VOLUME;
#endif
diff --git a/IntelFrameworkPkg/Include/Framework/Legacy16.h b/IntelFrameworkPkg/Include/Framework/Legacy16.h index 186c63bf32..e31844249a 100644 --- a/IntelFrameworkPkg/Include/Framework/Legacy16.h +++ b/IntelFrameworkPkg/Include/Framework/Legacy16.h @@ -25,60 +25,55 @@ #include <Base.h>
-//
-// All structures defined in this header file are packed on byte boundary
-//
#pragma pack(1)
-typedef UINT8 SERIAL_MODE;
-typedef UINT8 PARALLEL_MODE;
+typedef UINT8 SERIAL_MODE;
+typedef UINT8 PARALLEL_MODE;
-///////////////////////////////////////////////////////////////////////////////
+//
// EFI_COMPATIBILITY16_TABLE is located at a 16-byte boundary starting with the
// signature "$EFI"
-///////////////////////////////////////////////////////////////////////////////
-
+//
#define EFI_COMPATIBILITY16_TABLE_SIGNATURE SIGNATURE_32 ('I', 'F', 'E', '$')
-
typedef struct {
- UINT32 Signature; // "$EFI"
- UINT8 TableChecksum;
- UINT8 TableLength;
- UINT8 EfiMajorRevision;
- UINT8 EfiMinorRevision;
- UINT8 TableMajorRevision;
- UINT8 TableMinorRevision;
- UINT16 Reserved;
- UINT16 Compatibility16CallSegment;
- UINT16 Compatibility16CallOffset;
- UINT16 PnPInstallationCheckSegment;
- UINT16 PnPInstallationCheckOffset;
- UINT32 EfiSystemTable; // The physical address of EFI_SYSTEM_TABLE
- UINT32 OemIdStringPointer;
- UINT32 AcpiRsdPtrPointer;
- UINT16 OemRevision;
- UINT32 E820Pointer;
- UINT32 E820Length;
- UINT32 IrqRoutingTablePointer;
- UINT32 IrqRoutingTableLength;
- UINT32 MpTablePtr;
- UINT32 MpTableLength;
- UINT16 OemIntSegment;
- UINT16 OemIntOffset;
- UINT16 Oem32Segment;
- UINT16 Oem32Offset;
- UINT16 Oem16Segment;
- UINT16 Oem16Offset;
- UINT16 TpmSegment;
- UINT16 TpmOffset;
- UINT32 IbvPointer;
- UINT32 PciExpressBase;
- UINT8 LastPciBus;
+ UINT32 Signature;
+ UINT8 TableChecksum;
+ UINT8 TableLength;
+ UINT8 EfiMajorRevision;
+ UINT8 EfiMinorRevision;
+ UINT8 TableMajorRevision;
+ UINT8 TableMinorRevision;
+ UINT16 Reserved;
+ UINT16 Compatibility16CallSegment;
+ UINT16 Compatibility16CallOffset;
+ UINT16 PnPInstallationCheckSegment;
+ UINT16 PnPInstallationCheckOffset;
+ UINT32 EfiSystemTable; // The physical address of EFI_SYSTEM_TABLE
+ UINT32 OemIdStringPointer;
+ UINT32 AcpiRsdPtrPointer;
+ UINT16 OemRevision;
+ UINT32 E820Pointer;
+ UINT32 E820Length;
+ UINT32 IrqRoutingTablePointer;
+ UINT32 IrqRoutingTableLength;
+ UINT32 MpTablePtr;
+ UINT32 MpTableLength;
+ UINT16 OemIntSegment;
+ UINT16 OemIntOffset;
+ UINT16 Oem32Segment;
+ UINT16 Oem32Offset;
+ UINT16 Oem16Segment;
+ UINT16 Oem16Offset;
+ UINT16 TpmSegment;
+ UINT16 TpmOffset;
+ UINT32 IbvPointer;
+ UINT32 PciExpressBase;
+ UINT8 LastPciBus;
} EFI_COMPATIBILITY16_TABLE;
-///////////////////////////////////////////////////////////////////////////////
+//
// Functions provided by the CSM binary
-///////////////////////////////////////////////////////////////////////////////
+//
typedef enum {
Legacy16InitializeYourself = 0x0000,
Legacy16UpdateBbs = 0x0001,
@@ -91,34 +86,34 @@ typedef enum { Legacy16InstallPciHandler = 0x0008
} EFI_COMPATIBILITY_FUNCTIONS;
-///////////////////////////////////////////////////////////////////////////////
+//
// EFI_TO_COMPATIBILITY16_INIT_TABLE
-///////////////////////////////////////////////////////////////////////////////
+//
typedef struct {
- UINT32 BiosLessThan1MB;
- UINT32 HiPmmMemory;
- UINT32 HiPmmMemorySizeInBytes;
- UINT16 ReverseThunkCallSegment;
- UINT16 ReverseThunkCallOffset;
- UINT32 NumberE820Entries;
- UINT32 OsMemoryAbove1Mb;
- UINT32 ThunkStart;
- UINT32 ThunkSizeInBytes;
- UINT32 LowPmmMemory;
- UINT32 LowPmmMemorySizeInBytes;
+ UINT32 BiosLessThan1MB;
+ UINT32 HiPmmMemory;
+ UINT32 HiPmmMemorySizeInBytes;
+ UINT16 ReverseThunkCallSegment;
+ UINT16 ReverseThunkCallOffset;
+ UINT32 NumberE820Entries;
+ UINT32 OsMemoryAbove1Mb;
+ UINT32 ThunkStart;
+ UINT32 ThunkSizeInBytes;
+ UINT32 LowPmmMemory;
+ UINT32 LowPmmMemorySizeInBytes;
} EFI_TO_COMPATIBILITY16_INIT_TABLE;
-///////////////////////////////////////////////////////////////////////////////
+//
// EFI_TO_COMPATIBILITY16_BOOT_TABLE
-///////////////////////////////////////////////////////////////////////////////
+//
//
// DEVICE_PRODUCER_SERIAL & its modes
//
typedef struct {
- UINT16 Address;
- UINT8 Irq;
- SERIAL_MODE Mode;
+ UINT16 Address;
+ UINT8 Irq;
+ SERIAL_MODE Mode;
} DEVICE_PRODUCER_SERIAL;
#define DEVICE_SERIAL_MODE_NORMAL 0x00
@@ -131,10 +126,10 @@ typedef struct { // DEVICE_PRODUCER_PARALLEL & its modes
//
typedef struct {
- UINT16 Address;
- UINT8 Irq;
- UINT8 Dma;
- PARALLEL_MODE Mode;
+ UINT16 Address;
+ UINT8 Irq;
+ UINT8 Dma;
+ PARALLEL_MODE Mode;
} DEVICE_PRODUCER_PARALLEL;
#define DEVICE_PARALLEL_MODE_MODE_OUTPUT_ONLY 0x00
@@ -146,52 +141,52 @@ typedef struct { // DEVICE_PRODUCER_FLOPPY
//
typedef struct {
- UINT16 Address;
- UINT8 Irq;
- UINT8 Dma;
- UINT8 NumberOfFloppy;
+ UINT16 Address;
+ UINT8 Irq;
+ UINT8 Dma;
+ UINT8 NumberOfFloppy;
} DEVICE_PRODUCER_FLOPPY;
//
// LEGACY_DEVICE_FLAGS
//
typedef struct {
- UINT32 A20Kybd : 1;
- UINT32 A20Port90 : 1;
- UINT32 Reserved : 30;
+ UINT32 A20Kybd : 1;
+ UINT32 A20Port90 : 1;
+ UINT32 Reserved : 30;
} LEGACY_DEVICE_FLAGS;
//
// DEVICE_PRODUCER_DATA_HEADER
//
typedef struct {
- DEVICE_PRODUCER_SERIAL Serial[4];
- DEVICE_PRODUCER_PARALLEL Parallel[3];
- DEVICE_PRODUCER_FLOPPY Floppy;
- UINT8 MousePresent;
- LEGACY_DEVICE_FLAGS Flags;
+ DEVICE_PRODUCER_SERIAL Serial[4];
+ DEVICE_PRODUCER_PARALLEL Parallel[3];
+ DEVICE_PRODUCER_FLOPPY Floppy;
+ UINT8 MousePresent;
+ LEGACY_DEVICE_FLAGS Flags;
} DEVICE_PRODUCER_DATA_HEADER;
//
// ATAPI_IDENTIFY
//
typedef struct {
- UINT16 Raw[256];
+ UINT16 Raw[256];
} ATAPI_IDENTIFY;
//
// HDD_INFO & its status
//
typedef struct {
- UINT16 Status;
- UINT32 Bus;
- UINT32 Device;
- UINT32 Function;
- UINT16 CommandBaseAddress;
- UINT16 ControlBaseAddress;
- UINT16 BusMasterAddress;
- UINT8 HddIrq;
- ATAPI_IDENTIFY IdentifyDrive[2];
+ UINT16 Status;
+ UINT32 Bus;
+ UINT32 Device;
+ UINT32 Function;
+ UINT16 CommandBaseAddress;
+ UINT16 ControlBaseAddress;
+ UINT16 BusMasterAddress;
+ UINT8 HddIrq;
+ ATAPI_IDENTIFY IdentifyDrive[2];
} HDD_INFO;
#define HDD_PRIMARY 0x01
@@ -207,52 +202,52 @@ typedef struct { // BBS_STATUS_FLAGS
//
typedef struct {
- UINT16 OldPosition : 4;
- UINT16 Reserved1 : 4;
- UINT16 Enabled : 1;
- UINT16 Failed : 1;
- UINT16 MediaPresent : 2;
- UINT16 Reserved2 : 4;
+ UINT16 OldPosition : 4;
+ UINT16 Reserved1 : 4;
+ UINT16 Enabled : 1;
+ UINT16 Failed : 1;
+ UINT16 MediaPresent : 2;
+ UINT16 Reserved2 : 4;
} BBS_STATUS_FLAGS;
//
// BBS_TABLE, device type values & boot priority values
//
typedef struct {
- UINT16 BootPriority;
- UINT32 Bus;
- UINT32 Device;
- UINT32 Function;
- UINT8 Class;
- UINT8 SubClass;
- UINT16 MfgStringOffset;
- UINT16 MfgStringSegment;
- UINT16 DeviceType;
- BBS_STATUS_FLAGS StatusFlags;
- UINT16 BootHandlerOffset;
- UINT16 BootHandlerSegment;
- UINT16 DescStringOffset;
- UINT16 DescStringSegment;
- UINT32 InitPerReserved;
- UINT32 AdditionalIrq13Handler;
- UINT32 AdditionalIrq18Handler;
- UINT32 AdditionalIrq19Handler;
- UINT32 AdditionalIrq40Handler;
- UINT8 AssignedDriveNumber;
- UINT32 AdditionalIrq41Handler;
- UINT32 AdditionalIrq46Handler;
- UINT32 IBV1;
- UINT32 IBV2;
+ UINT16 BootPriority;
+ UINT32 Bus;
+ UINT32 Device;
+ UINT32 Function;
+ UINT8 Class;
+ UINT8 SubClass;
+ UINT16 MfgStringOffset;
+ UINT16 MfgStringSegment;
+ UINT16 DeviceType;
+ BBS_STATUS_FLAGS StatusFlags;
+ UINT16 BootHandlerOffset;
+ UINT16 BootHandlerSegment;
+ UINT16 DescStringOffset;
+ UINT16 DescStringSegment;
+ UINT32 InitPerReserved;
+ UINT32 AdditionalIrq13Handler;
+ UINT32 AdditionalIrq18Handler;
+ UINT32 AdditionalIrq19Handler;
+ UINT32 AdditionalIrq40Handler;
+ UINT8 AssignedDriveNumber;
+ UINT32 AdditionalIrq41Handler;
+ UINT32 AdditionalIrq46Handler;
+ UINT32 IBV1;
+ UINT32 IBV2;
} BBS_TABLE;
-#define BBS_FLOPPY 0x01
-#define BBS_HARDDISK 0x02
-#define BBS_CDROM 0x03
-#define BBS_PCMCIA 0x04
-#define BBS_USB 0x05
-#define BBS_EMBED_NETWORK 0x06
-#define BBS_BEV_DEVICE 0x80
-#define BBS_UNKNOWN 0xff
+#define BBS_FLOPPY 0x01
+#define BBS_HARDDISK 0x02
+#define BBS_CDROM 0x03
+#define BBS_PCMCIA 0x04
+#define BBS_USB 0x05
+#define BBS_EMBED_NETWORK 0x06
+#define BBS_BEV_DEVICE 0x80
+#define BBS_UNKNOWN 0xff
#define BBS_DO_NOT_BOOT_FROM 0xFFFC
#define BBS_LOWEST_PRIORITY 0xFFFD
@@ -263,10 +258,10 @@ typedef struct { // SMM_ATTRIBUTES & relating type, port and data size constants
//
typedef struct {
- UINT16 Type : 3;
- UINT16 PortGranularity : 3;
- UINT16 DataGranularity : 3;
- UINT16 Reserved : 7;
+ UINT16 Type : 3;
+ UINT16 PortGranularity : 3;
+ UINT16 DataGranularity : 3;
+ UINT16 Reserved : 7;
} SMM_ATTRIBUTES;
#define STANDARD_IO 0x00
@@ -286,8 +281,8 @@ typedef struct { // SMM_FUNCTION & relating constants
//
typedef struct {
- UINT16 Function : 15;
- UINT16 Owner : 1;
+ UINT16 Function : 15;
+ UINT16 Owner : 1;
} SMM_FUNCTION;
#define INT15_D042 0x0000
@@ -304,41 +299,41 @@ typedef struct { // properly to reflect that assumption.
//
typedef struct {
- SMM_ATTRIBUTES SmmAttributes;
- SMM_FUNCTION SmmFunction;
- UINT8 SmmPort;
- UINT8 SmmData;
+ SMM_ATTRIBUTES SmmAttributes;
+ SMM_FUNCTION SmmFunction;
+ UINT8 SmmPort;
+ UINT8 SmmData;
} SMM_ENTRY;
//
// SMM_TABLE
//
typedef struct {
- UINT16 NumSmmEntries;
- SMM_ENTRY SmmEntry;
+ UINT16 NumSmmEntries;
+ SMM_ENTRY SmmEntry;
} SMM_TABLE;
//
// UDC_ATTRIBUTES
//
typedef struct {
- UINT8 DirectoryServiceValidity : 1;
- UINT8 RabcaUsedFlag : 1;
- UINT8 ExecuteHddDiagnosticsFlag : 1;
- UINT8 Reserved : 5;
+ UINT8 DirectoryServiceValidity : 1;
+ UINT8 RabcaUsedFlag : 1;
+ UINT8 ExecuteHddDiagnosticsFlag : 1;
+ UINT8 Reserved : 5;
} UDC_ATTRIBUTES;
//
// UD_TABLE
//
typedef struct {
- UDC_ATTRIBUTES Attributes;
- UINT8 DeviceNumber;
- UINT8 BbsTableEntryNumberForParentDevice;
- UINT8 BbsTableEntryNumberForBoot;
- UINT8 BbsTableEntryNumberForHddDiag;
- UINT8 BeerData[128];
- UINT8 ServiceAreaData[64];
+ UDC_ATTRIBUTES Attributes;
+ UINT8 DeviceNumber;
+ UINT8 BbsTableEntryNumberForParentDevice;
+ UINT8 BbsTableEntryNumberForBoot;
+ UINT8 BbsTableEntryNumberForHddDiag;
+ UINT8 BeerData[128];
+ UINT8 ServiceAreaData[64];
} UD_TABLE;
//
@@ -349,61 +344,55 @@ typedef struct { #define MAX_IDE_CONTROLLER 8
typedef struct {
- UINT16 MajorVersion;
- UINT16 MinorVersion;
- UINT32 AcpiTable; // 4 GB range
- UINT32 SmbiosTable; // 4 GB range
- UINT32 SmbiosTableLength;
-
+ UINT16 MajorVersion;
+ UINT16 MinorVersion;
+ UINT32 AcpiTable; // 4 GB range
+ UINT32 SmbiosTable; // 4 GB range
+ UINT32 SmbiosTableLength;
//
// Legacy SIO state
//
- DEVICE_PRODUCER_DATA_HEADER SioData;
-
- UINT16 DevicePathType;
- UINT16 PciIrqMask;
- UINT32 NumberE820Entries;
-
+ DEVICE_PRODUCER_DATA_HEADER SioData;
+ UINT16 DevicePathType;
+ UINT16 PciIrqMask;
+ UINT32 NumberE820Entries;
//
// Controller & Drive Identify[2] per controller information
//
- HDD_INFO HddInfo[MAX_IDE_CONTROLLER];
-
- UINT32 NumberBbsEntries;
- UINT32 BbsTable;
- UINT32 SmmTable;
- UINT32 OsMemoryAbove1Mb;
- UINT32 UnconventionalDeviceTable;
+ HDD_INFO HddInfo[MAX_IDE_CONTROLLER];
+ UINT32 NumberBbsEntries;
+ UINT32 BbsTable;
+ UINT32 SmmTable;
+ UINT32 OsMemoryAbove1Mb;
+ UINT32 UnconventionalDeviceTable;
} EFI_TO_COMPATIBILITY16_BOOT_TABLE;
-///////////////////////////////////////////////////////////////////////////////
+//
// EFI_LEGACY_INSTALL_PCI_HANDLER
-///////////////////////////////////////////////////////////////////////////////
+//
typedef struct {
- UINT8 PciBus;
- UINT8 PciDeviceFun;
- UINT8 PciSegment;
- UINT8 PciClass;
- UINT8 PciSubclass;
- UINT8 PciInterface;
-
+ UINT8 PciBus;
+ UINT8 PciDeviceFun;
+ UINT8 PciSegment;
+ UINT8 PciClass;
+ UINT8 PciSubclass;
+ UINT8 PciInterface;
//
// Primary section
//
- UINT8 PrimaryIrq;
- UINT8 PrimaryReserved;
- UINT16 PrimaryControl;
- UINT16 PrimaryBase;
- UINT16 PrimaryBusMaster;
-
+ UINT8 PrimaryIrq;
+ UINT8 PrimaryReserved;
+ UINT16 PrimaryControl;
+ UINT16 PrimaryBase;
+ UINT16 PrimaryBusMaster;
//
// Secondary Section
//
- UINT8 SecondaryIrq;
- UINT8 SecondaryReserved;
- UINT16 SecondaryControl;
- UINT16 SecondaryBase;
- UINT16 SecondaryBusMaster;
+ UINT8 SecondaryIrq;
+ UINT8 SecondaryReserved;
+ UINT16 SecondaryControl;
+ UINT16 SecondaryBase;
+ UINT16 SecondaryBusMaster;
} EFI_LEGACY_INSTALL_PCI_HANDLER;
//
diff --git a/IntelFrameworkPkg/Include/Framework/PeiCis.h b/IntelFrameworkPkg/Include/Framework/PeiCis.h index 60d182c456..bcaf54e9e9 100644 --- a/IntelFrameworkPkg/Include/Framework/PeiCis.h +++ b/IntelFrameworkPkg/Include/Framework/PeiCis.h @@ -36,8 +36,8 @@ typedef struct _FRAMEWORK_EFI_PEI_SERVICES FRAMEWORK_EFI_PEI_SERVICES; typedef
EFI_STATUS
(EFIAPI *EFI_PEIM_ENTRY_POINT)(
- IN EFI_FFS_FILE_HEADER *FfsHeader,
- IN EFI_PEI_SERVICES **PeiServices
+ IN EFI_FFS_FILE_HEADER *FfsHeader,
+ IN EFI_PEI_SERVICES **PeiServices
);
/**
@@ -58,9 +58,9 @@ EFI_STATUS typedef
EFI_STATUS
(EFIAPI *EFI_PEI_FFS_FIND_NEXT_VOLUME)(
- IN FRAMEWORK_EFI_PEI_SERVICES **PeiServices,
- IN UINTN Instance,
- IN OUT EFI_FIRMWARE_VOLUME_HEADER **FwVolHeader
+ IN FRAMEWORK_EFI_PEI_SERVICES **PeiServices,
+ IN UINTN Instance,
+ IN OUT EFI_FIRMWARE_VOLUME_HEADER **FwVolHeader
);
/**
@@ -76,18 +76,18 @@ EFI_STATUS @param FileHeader Pointer to the current file from which to begin searching.This pointer will be
updated upon return to reflect the file found.
- @retval EFI_SUCCESS The file was found.
- @retval EFI_NOT_FOUND The file was not found.
- @retval EFI_NOT_FOUND The header checksum was not zero.
+ @retval EFI_SUCCESS The file was found.
+ @retval EFI_NOT_FOUND The file was not found.
+ @retval EFI_NOT_FOUND The header checksum was not zero.
**/
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_FFS_FIND_NEXT_FILE)(
- IN FRAMEWORK_EFI_PEI_SERVICES **PeiServices,
- IN EFI_FV_FILETYPE SearchType,
- IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader,
- IN OUT EFI_FFS_FILE_HEADER **FileHeader
+ IN FRAMEWORK_EFI_PEI_SERVICES **PeiServices,
+ IN EFI_FV_FILETYPE SearchType,
+ IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader,
+ IN OUT EFI_FFS_FILE_HEADER **FileHeader
);
/**
@@ -99,72 +99,73 @@ EFI_STATUS @param FfsFileHeader A pointer to the file header that contains the set of sections to be searched.
@param SectionData A pointer to the discovered section, if successful.
- @retval EFI_SUCCESS The section was found.
- @retval EFI_NOT_FOUND The section was not found.
+ @retval EFI_SUCCESS The section was found.
+ @retval EFI_NOT_FOUND The section was not found.
**/
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_FFS_FIND_SECTION_DATA)(
- IN FRAMEWORK_EFI_PEI_SERVICES **PeiServices,
- IN EFI_SECTION_TYPE SectionType,
- IN EFI_FFS_FILE_HEADER *FfsFileHeader,
- IN OUT VOID **SectionData
+ IN FRAMEWORK_EFI_PEI_SERVICES **PeiServices,
+ IN EFI_SECTION_TYPE SectionType,
+ IN EFI_FFS_FILE_HEADER *FfsFileHeader,
+ IN OUT VOID **SectionData
);
struct _FRAMEWORK_EFI_PEI_SERVICES {
- EFI_TABLE_HEADER Hdr;
+ EFI_TABLE_HEADER Hdr;
//
// PPI Functions
//
- EFI_PEI_INSTALL_PPI InstallPpi;
- EFI_PEI_REINSTALL_PPI ReInstallPpi;
- EFI_PEI_LOCATE_PPI LocatePpi;
- EFI_PEI_NOTIFY_PPI NotifyPpi;
+ EFI_PEI_INSTALL_PPI InstallPpi;
+ EFI_PEI_REINSTALL_PPI ReInstallPpi;
+ EFI_PEI_LOCATE_PPI LocatePpi;
+ EFI_PEI_NOTIFY_PPI NotifyPpi;
//
// Boot Mode Functions
//
- EFI_PEI_GET_BOOT_MODE GetBootMode;
- EFI_PEI_SET_BOOT_MODE SetBootMode;
+ EFI_PEI_GET_BOOT_MODE GetBootMode;
+ EFI_PEI_SET_BOOT_MODE SetBootMode;
//
// HOB Functions
//
- EFI_PEI_GET_HOB_LIST GetHobList;
- EFI_PEI_CREATE_HOB CreateHob;
+ EFI_PEI_GET_HOB_LIST GetHobList;
+ EFI_PEI_CREATE_HOB CreateHob;
//
// Firmware Volume Functions
//
- EFI_PEI_FFS_FIND_NEXT_VOLUME FfsFindNextVolume;
- EFI_PEI_FFS_FIND_NEXT_FILE FfsFindNextFile;
- EFI_PEI_FFS_FIND_SECTION_DATA FfsFindSectionData;
+ EFI_PEI_FFS_FIND_NEXT_VOLUME FfsFindNextVolume;
+ EFI_PEI_FFS_FIND_NEXT_FILE FfsFindNextFile;
+ EFI_PEI_FFS_FIND_SECTION_DATA FfsFindSectionData;
//
// PEI Memory Functions
//
- EFI_PEI_INSTALL_PEI_MEMORY InstallPeiMemory;
- EFI_PEI_ALLOCATE_PAGES AllocatePages;
- EFI_PEI_ALLOCATE_POOL AllocatePool;
- EFI_PEI_COPY_MEM CopyMem;
- EFI_PEI_SET_MEM SetMem;
+ EFI_PEI_INSTALL_PEI_MEMORY InstallPeiMemory;
+ EFI_PEI_ALLOCATE_PAGES AllocatePages;
+ EFI_PEI_ALLOCATE_POOL AllocatePool;
+ EFI_PEI_COPY_MEM CopyMem;
+ EFI_PEI_SET_MEM SetMem;
//
// Status Code
- EFI_PEI_REPORT_STATUS_CODE ReportStatusCode;
+ //
+ EFI_PEI_REPORT_STATUS_CODE ReportStatusCode;
//
// Reset
//
- EFI_PEI_RESET_SYSTEM ResetSystem;
+ EFI_PEI_RESET_SYSTEM ResetSystem;
//
// (the following interfaces are installed by publishing PEIM)
//
// I/O Abstractions
//
- EFI_PEI_CPU_IO_PPI *CpuIo;
- EFI_PEI_PCI_CFG_PPI *PciCfg;
+ EFI_PEI_CPU_IO_PPI *CpuIo;
+ EFI_PEI_PCI_CFG_PPI *PciCfg;
};
typedef struct {
- UINTN BootFirmwareVolume;
- UINTN SizeOfCacheAsRam;
- EFI_PEI_PPI_DESCRIPTOR *DispatchTable;
+ UINTN BootFirmwareVolume;
+ UINTN SizeOfCacheAsRam;
+ EFI_PEI_PPI_DESCRIPTOR *DispatchTable;
} EFI_PEI_STARTUP_DESCRIPTOR;
#endif
diff --git a/IntelFrameworkPkg/Include/Framework/StatusCode.h b/IntelFrameworkPkg/Include/Framework/StatusCode.h index 91b9d08a08..0f2d3de067 100644 --- a/IntelFrameworkPkg/Include/Framework/StatusCode.h +++ b/IntelFrameworkPkg/Include/Framework/StatusCode.h @@ -6,13 +6,12 @@ <pre>
Section: Contents:
- 1 General Status Code Definitions
- 2 Class definitions
- 3 Computing Unit Subclasses, Progress and Error Codes
- 4 Peripheral Subclasses, Progress and Error Codes.
- 5 IO Bus Subclasses, Progress and Error Codes.
- 6 Software Subclasses, Progress and Error Codes.
- 7 Debug Codes
+ 1 Class definitions
+ 2 Computing Unit Subclasses, Progress and Error Codes
+ 3 Peripheral Subclasses, Progress and Error Codes.
+ 4 IO Bus Subclasses, Progress and Error Codes.
+ 5 Software Subclasses, Progress and Error Codes.
+ 6 Debug Codes
</pre>
Copyright (c) 2007, Intel Corporation
@@ -37,10 +36,7 @@ #include <PiPei.h>
//
-// /////////////////////////////////////////////////////////////////////////////
// Section 1
-///////////////////////////////////////////////////////////////////////////////
-//
// Class definitions
// Values of 4-127 are reserved for future use by this
// specification.
@@ -60,11 +56,8 @@ #define EFI_SUBCLASS_SPECIFIC 0x1000
#define EFI_OEM_SPECIFIC 0x8000
-//
-// /////////////////////////////////////////////////////////////////////////////
+//
// Section 2
-///////////////////////////////////////////////////////////////////////////////
-//
// Computing Unit Subclass definitions.
// Values of 8-127 are reserved for future use by this
// specification.
@@ -195,10 +188,8 @@ // Computing Unit Chipset Subclass Error Code definitions.
//
-///////////////////////////////////////////////////////////////////////////////
-// Section 4
-///////////////////////////////////////////////////////////////////////////////
//
+// Section 3
// Peripheral Subclass definitions.
// Values of 12-127 are reserved for future use by this
// specification.
@@ -336,10 +327,8 @@ // Peripheral Class Network Subclass Error Code definitions.
//
-///////////////////////////////////////////////////////////////////////////////
-// Section 5
-///////////////////////////////////////////////////////////////////////////////
//
+// Section 4
// IO Bus Subclass definitions.
// Values of 14-127 are reserved for future use by this
// specification.
@@ -475,10 +464,8 @@ // IO Bus Class I2C Subclass Error Code definitions.
//
-///////////////////////////////////////////////////////////////////////////////
-// Section 6
-///////////////////////////////////////////////////////////////////////////////
//
+// Section 5
// Software Subclass definitions.
// Values of 14-127 are reserved for future use by this
// specification.
@@ -870,10 +857,8 @@ // Software Class EFI DXE Service Subclass Error Code definitions.
//
-///////////////////////////////////////////////////////////////////////////////
-// Section 7
-///////////////////////////////////////////////////////////////////////////////
//
+// Section 6
// Debug Code definitions for all classes and subclass
// Only one debug code is defined at this point and should
// be used for anything that gets sent to debug stream.
|