mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
c40aa22af0
commit
9205b2d766
|
@ -151,7 +151,6 @@ typedef struct {
|
|||
UINT16 SubInstance;
|
||||
} EFI_INTER_LINK_DATA;
|
||||
|
||||
|
||||
//
|
||||
// EXP data
|
||||
//
|
||||
|
@ -161,30 +160,20 @@ typedef struct {
|
|||
UINT16 Exponent;
|
||||
} EFI_EXP_BASE2_DATA;
|
||||
|
||||
|
||||
typedef struct {
|
||||
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 {
|
||||
|
@ -325,11 +314,8 @@ typedef enum {
|
|||
} 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 enum {
|
||||
|
@ -388,7 +374,6 @@ 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 enum {
|
||||
|
@ -399,7 +384,6 @@ typedef enum {
|
|||
|
||||
typedef UINTN EFI_PROCESSOR_PACKAGE_NUMBER_DATA;
|
||||
|
||||
|
||||
typedef enum {
|
||||
ProcessorCoreFrequencyRecordType = 1,
|
||||
ProcessorFsbFrequencyRecordType = 2,
|
||||
|
@ -461,11 +445,8 @@ typedef struct {
|
|||
#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 struct {
|
||||
|
@ -582,8 +563,6 @@ typedef struct {
|
|||
} EFI_CACHE_DATA_RECORD;
|
||||
|
||||
#define EFI_MEMORY_SUBCLASS_VERSION 0x0100
|
||||
|
||||
|
||||
#define EFI_MEMORY_SIZE_RECORD_NUMBER 0x00000001
|
||||
|
||||
typedef enum _EFI_MEMORY_REGION_TYPE {
|
||||
|
@ -831,7 +810,7 @@ typedef enum {
|
|||
typedef struct {
|
||||
UINT16 Other :1;
|
||||
UINT16 Unknown :1;
|
||||
UINT16 SeventyNs :1;
|
||||
UINT16 SeventyNs:1;
|
||||
UINT16 SixtyNs :1;
|
||||
UINT16 FiftyNs :1;
|
||||
UINT16 Reserved :11;
|
||||
|
@ -841,7 +820,7 @@ typedef struct {
|
|||
UINT16 Other :1;
|
||||
UINT16 Unknown :1;
|
||||
UINT16 Standard :1;
|
||||
UINT16 FastPageMode :1;
|
||||
UINT16 FastPageMode:1;
|
||||
UINT16 EDO :1;
|
||||
UINT16 Parity :1;
|
||||
UINT16 ECC :1;
|
||||
|
@ -856,7 +835,7 @@ typedef struct {
|
|||
UINT8 Five :1;
|
||||
UINT8 There :1;
|
||||
UINT8 Two :1;
|
||||
UINT8 Reserved :5;
|
||||
UINT8 Reserved:5;
|
||||
} EFI_MEMORY_MODULE_VOLTAGE_TYPE;
|
||||
|
||||
typedef struct {
|
||||
|
@ -956,8 +935,7 @@ typedef struct {
|
|||
#define EFI_MISC_SUBCLASS_VERSION 0x0100
|
||||
|
||||
#pragma pack(1)
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Last PCI Bus Number
|
||||
//
|
||||
|
@ -967,8 +945,6 @@ typedef struct {
|
|||
UINT8 LastPciBus;
|
||||
} EFI_MISC_LAST_PCI_BUS_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. BIOS Vendor - SMBIOS Type 0
|
||||
//
|
||||
|
@ -1021,7 +997,7 @@ typedef struct {
|
|||
|
||||
typedef struct {
|
||||
UINT64 BiosReserved :16;
|
||||
UINT64 SystemReserved :16;
|
||||
UINT64 SystemReserved:16;
|
||||
UINT64 Reserved :32;
|
||||
} EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION;
|
||||
|
||||
|
@ -1032,15 +1008,14 @@ typedef struct {
|
|||
EFI_PHYSICAL_ADDRESS BiosStartingAddress;
|
||||
EFI_EXP_BASE2_DATA BiosPhysicalDeviceSize;
|
||||
EFI_MISC_BIOS_CHARACTERISTICS BiosCharacteristics1;
|
||||
EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION BiosCharacteristics2;
|
||||
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
|
||||
//
|
||||
|
@ -1069,8 +1044,6 @@ typedef struct {
|
|||
STRING_REF SystemFamily;
|
||||
} EFI_MISC_SYSTEM_MANUFACTURER_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. Base Board Manufacturer - SMBIOS Type 2
|
||||
//
|
||||
|
@ -1115,8 +1088,6 @@ typedef struct {
|
|||
EFI_INTER_LINK_DATA LinkN;
|
||||
} EFI_MISC_BASE_BOARD_MANUFACTURER_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. System/Chassis Enclosure - SMBIOS Type 3
|
||||
//
|
||||
|
@ -1174,8 +1145,8 @@ 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 {
|
||||
|
@ -1200,12 +1171,10 @@ typedef struct {
|
|||
UINT32 ChassisHeight;
|
||||
UINT32 ChassisNumberPowerCords;
|
||||
UINT32 ChassisElementCount;
|
||||
UINT32 ChassisElementRecordLength;//
|
||||
UINT32 ChassisElementRecordLength;
|
||||
EFI_MISC_ELEMENTS ChassisElements;
|
||||
} EFI_MISC_CHASSIS_MANUFACTURER_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. Port Connector Information - SMBIOS Type 8
|
||||
//
|
||||
|
@ -1301,8 +1270,6 @@ typedef struct {
|
|||
EFI_MISC_PORT_DEVICE_PATH PortPath;
|
||||
} EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. System Slots - SMBIOS Type 9
|
||||
//
|
||||
|
@ -1386,8 +1353,6 @@ typedef struct {
|
|||
EFI_DEVICE_PATH_PROTOCOL SlotDevicePath;
|
||||
} EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. Onboard Device - SMBIOS Type 10
|
||||
//
|
||||
|
@ -1415,8 +1380,6 @@ typedef struct {
|
|||
EFI_DEVICE_PATH_PROTOCOL OnBoardDevicePath;
|
||||
} EFI_MISC_ONBOARD_DEVICE_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. BIOS Language Information - SMBIOS Type 11
|
||||
//
|
||||
|
@ -1426,8 +1389,6 @@ typedef struct {
|
|||
STRING_REF OemStringRef[1];
|
||||
} EFI_MISC_OEM_STRING_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. System Options - SMBIOS Type 12
|
||||
//
|
||||
|
@ -1437,8 +1398,6 @@ typedef struct {
|
|||
|
||||
#define EFI_MISC_SYSTEM_OPTION_STRING_RECORD_NUMBER 0x0000000A
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. Number of Installable Languages - SMBIOS Type 13
|
||||
//
|
||||
|
@ -1455,8 +1414,6 @@ typedef struct {
|
|||
UINT16 CurrentLanguageNumber;
|
||||
} EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. System Language String
|
||||
//
|
||||
|
@ -1467,8 +1424,6 @@ typedef struct {
|
|||
STRING_REF SystemLanguageString;
|
||||
} EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Group Associations - SMBIOS Type 14
|
||||
//
|
||||
|
@ -1480,8 +1435,6 @@ typedef struct {
|
|||
UINT16 GroupId;
|
||||
} EFI_MISC_GROUP_NAME_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Group Item Set Element
|
||||
//
|
||||
|
@ -1494,8 +1447,6 @@ typedef struct {
|
|||
UINT16 GroupElementId;
|
||||
} EFI_MISC_GROUP_ITEM_SET_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. Pointing Device Type - SMBIOS Type 21
|
||||
//
|
||||
|
@ -1534,8 +1485,6 @@ typedef struct {
|
|||
EFI_DEVICE_PATH_PROTOCOL PointingDevicePath;
|
||||
} EFI_MISC_PORTING_DEVICE_TYPE_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Portable Battery - SMBIOS Type 22
|
||||
//
|
||||
|
@ -1558,7 +1507,8 @@ typedef struct {
|
|||
STRING_REF ManufactureDate;
|
||||
STRING_REF SerialNumber;
|
||||
STRING_REF DeviceName;
|
||||
EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY DeviceChemistry;
|
||||
EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY
|
||||
DeviceChemistry;
|
||||
UINT16 DesignCapacity;
|
||||
UINT16 DesignVoltage;
|
||||
STRING_REF SBDSVersionNumber;
|
||||
|
@ -1572,8 +1522,6 @@ typedef struct {
|
|||
BOOLEAN Valid; // Is entry valid - Temporary
|
||||
} EFI_MISC_PORTABLE_BATTERY;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. Reset Capabilities - SMBIOS Type 23
|
||||
//
|
||||
|
@ -1603,8 +1551,6 @@ typedef struct {
|
|||
UINT16 ResetTimeout;
|
||||
} EFI_MISC_RESET_CAPABILITIES_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. Hardware Security - SMBIOS Type 24
|
||||
//
|
||||
|
@ -1629,8 +1575,6 @@ typedef struct {
|
|||
EFI_MISC_HARDWARE_SECURITY_SETTINGS HardwareSecuritySettings;
|
||||
} EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// System Power Controls - SMBIOS Type 25
|
||||
//
|
||||
|
@ -1644,8 +1588,6 @@ typedef struct {
|
|||
UINT16 ScheduledPoweronSecond;
|
||||
} EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Voltage Probe - SMBIOS Type 26
|
||||
//
|
||||
|
@ -1675,8 +1617,6 @@ typedef struct {
|
|||
UINT32 VoltageProbeOemDefined;
|
||||
} EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Cooling Device - SMBIOS Type 27
|
||||
//
|
||||
|
@ -1696,8 +1636,6 @@ typedef struct {
|
|||
UINT32 CoolingDeviceOemDefined;
|
||||
} EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Temperature Probe - SMBIOS Type 28
|
||||
//
|
||||
|
@ -1728,8 +1666,6 @@ typedef struct {
|
|||
UINT32 TemperatureProbeOemDefined;
|
||||
} EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Electrical Current Probe - SMBIOS Type 29
|
||||
//
|
||||
|
@ -1761,8 +1697,6 @@ typedef struct {
|
|||
UINT32 ElectricalCurrentProbeOemDefined;
|
||||
} EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Out-of-Band Remote Access - SMBIOS Type 30
|
||||
//
|
||||
|
@ -1780,8 +1714,6 @@ typedef struct {
|
|||
EFI_MISC_REMOTE_ACCESS_CONNECTIONS RemoteAccessConnections;
|
||||
} EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. BIS Entry Point - SMBIOS Type 31
|
||||
//
|
||||
|
@ -1791,8 +1723,6 @@ typedef struct {
|
|||
EFI_PHYSICAL_ADDRESS BisEntryPoint;
|
||||
} EFI_MISC_BIS_ENTRY_POINT_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Misc. Boot Information - SMBIOS Type 32
|
||||
//
|
||||
|
@ -1818,8 +1748,6 @@ typedef struct {
|
|||
UINT8 BootInformationData[9];
|
||||
} EFI_MISC_BOOT_INFORMATION_STATUS_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Management Device - SMBIOS Type 34
|
||||
//
|
||||
|
@ -1857,8 +1785,6 @@ typedef struct {
|
|||
ManagementDeviceAddressType;
|
||||
} EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Management Device Component - SMBIOS Type 35
|
||||
//
|
||||
|
@ -1872,8 +1798,6 @@ typedef struct {
|
|||
EFI_INTER_LINK_DATA ManagementDeviceThresholdLink;
|
||||
} EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA;
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// IPMI Data Record - SMBIOS Type 38
|
||||
//
|
||||
|
@ -1892,7 +1816,8 @@ typedef struct {
|
|||
|
||||
typedef struct {
|
||||
EFI_MISC_IPMI_INTERFACE_TYPE IpmiInterfaceType;
|
||||
EFI_MISC_IPMI_SPECIFICATION_REVISION IpmiSpecificationRevision;
|
||||
EFI_MISC_IPMI_SPECIFICATION_REVISION
|
||||
IpmiSpecificationRevision;
|
||||
UINT16 IpmiI2CSlaveAddress;
|
||||
UINT16 IpmiNvDeviceAddress;
|
||||
UINT64 IpmiBaseAddress;
|
||||
|
@ -1901,13 +1826,11 @@ typedef struct {
|
|||
|
||||
#define EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER 0x0000001D
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//System Power supply Record - SMBIOS Type 39
|
||||
//
|
||||
typedef struct {
|
||||
UINT16 PowerSupplyHotReplaceable :1;
|
||||
UINT16 PowerSupplyHotReplaceable:1;
|
||||
UINT16 PowerSupplyPresent :1;
|
||||
UINT16 PowerSupplyUnplugged :1;
|
||||
UINT16 InputVoltageRangeSwitch :4;
|
||||
|
@ -1934,8 +1857,6 @@ typedef struct {
|
|||
|
||||
#define EFI_MISC_SYSTEM_POWER_SUPPLY_RECORD_NUMBER 0x0000001E
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// OEM Data Record - SMBIOS Type 0x80-0xFF
|
||||
//
|
||||
|
@ -1952,14 +1873,11 @@ typedef struct {
|
|||
|
||||
#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;
|
||||
|
@ -1984,8 +1902,6 @@ typedef struct {
|
|||
#define ACCESS_MEMORY_MAPPED 0x03
|
||||
#define ACCESS_GPNV 0x04
|
||||
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//Management Device Threshold Data Record - SMBIOS Type 36
|
||||
//
|
||||
|
|
|
@ -37,7 +37,6 @@ VOID
|
|||
|
||||
typedef struct {
|
||||
EFI_TABLE_HEADER Hdr;
|
||||
|
||||
//
|
||||
// Time services
|
||||
//
|
||||
|
@ -45,26 +44,22 @@ typedef struct {
|
|||
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;
|
||||
|
||||
//
|
||||
// Variable services
|
||||
//
|
||||
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;
|
||||
|
||||
//
|
||||
// Framework extension to UEFI 2.0 runtime table
|
||||
// It was moved to a protocol to not conflict with UEFI 2.0
|
||||
|
@ -77,7 +72,6 @@ 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;
|
||||
|
@ -90,5 +84,4 @@ typedef struct {
|
|||
EFI_GUID NameGuid;
|
||||
} FRAMEWORK_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -172,12 +172,12 @@ typedef struct {
|
|||
} 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
|
||||
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
|
||||
|
@ -193,25 +193,25 @@ typedef struct {
|
|||
|
||||
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
|
||||
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; // For now, if non-zero, means that it is the default option, - further definition likely
|
||||
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 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
|
||||
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
|
||||
|
@ -219,16 +219,17 @@ typedef struct {
|
|||
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 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;
|
||||
|
@ -244,8 +245,8 @@ typedef struct {
|
|||
|
||||
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
|
||||
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.
|
||||
|
@ -257,8 +258,8 @@ typedef struct {
|
|||
|
||||
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
|
||||
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.
|
||||
|
|
|
@ -25,23 +25,18 @@
|
|||
|
||||
#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;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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"
|
||||
UINT32 Signature;
|
||||
UINT8 TableChecksum;
|
||||
UINT8 TableLength;
|
||||
UINT8 EfiMajorRevision;
|
||||
|
@ -76,9 +71,9 @@ typedef struct {
|
|||
UINT8 LastPciBus;
|
||||
} EFI_COMPATIBILITY16_TABLE;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Functions provided by the CSM binary
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
typedef enum {
|
||||
Legacy16InitializeYourself = 0x0000,
|
||||
Legacy16UpdateBbs = 0x0001,
|
||||
|
@ -91,9 +86,9 @@ typedef enum {
|
|||
Legacy16InstallPciHandler = 0x0008
|
||||
} EFI_COMPATIBILITY_FUNCTIONS;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// EFI_TO_COMPATIBILITY16_INIT_TABLE
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
typedef struct {
|
||||
UINT32 BiosLessThan1MB;
|
||||
UINT32 HiPmmMemory;
|
||||
|
@ -108,9 +103,9 @@ typedef struct {
|
|||
UINT32 LowPmmMemorySizeInBytes;
|
||||
} EFI_TO_COMPATIBILITY16_INIT_TABLE;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// EFI_TO_COMPATIBILITY16_BOOT_TABLE
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
//
|
||||
// DEVICE_PRODUCER_SERIAL & its modes
|
||||
|
@ -354,21 +349,17 @@ typedef struct {
|
|||
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;
|
||||
|
||||
//
|
||||
// Controller & Drive Identify[2] per controller information
|
||||
//
|
||||
HDD_INFO HddInfo[MAX_IDE_CONTROLLER];
|
||||
|
||||
UINT32 NumberBbsEntries;
|
||||
UINT32 BbsTable;
|
||||
UINT32 SmmTable;
|
||||
|
@ -376,9 +367,9 @@ typedef struct {
|
|||
UINT32 UnconventionalDeviceTable;
|
||||
} EFI_TO_COMPATIBILITY16_BOOT_TABLE;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// EFI_LEGACY_INSTALL_PCI_HANDLER
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
typedef struct {
|
||||
UINT8 PciBus;
|
||||
UINT8 PciDeviceFun;
|
||||
|
@ -386,7 +377,6 @@ typedef struct {
|
|||
UINT8 PciClass;
|
||||
UINT8 PciSubclass;
|
||||
UINT8 PciInterface;
|
||||
|
||||
//
|
||||
// Primary section
|
||||
//
|
||||
|
@ -395,7 +385,6 @@ typedef struct {
|
|||
UINT16 PrimaryControl;
|
||||
UINT16 PrimaryBase;
|
||||
UINT16 PrimaryBusMaster;
|
||||
|
||||
//
|
||||
// Secondary Section
|
||||
//
|
||||
|
|
|
@ -147,6 +147,7 @@ struct _FRAMEWORK_EFI_PEI_SERVICES {
|
|||
EFI_PEI_SET_MEM SetMem;
|
||||
//
|
||||
// Status Code
|
||||
//
|
||||
EFI_PEI_REPORT_STATUS_CODE ReportStatusCode;
|
||||
//
|
||||
// Reset
|
||||
|
|
|
@ -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.
|
||||
|
@ -61,10 +57,7 @@
|
|||
#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.
|
||||
|
|
Loading…
Reference in New Issue