Verified some definitions of DataHubRecord.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8666 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ae358cb21b
commit
a244f400e5
@ -360,106 +360,124 @@ typedef enum {
|
|||||||
/// This data record is 4 bytes in length.
|
/// This data record is 4 bytes in length.
|
||||||
///
|
///
|
||||||
typedef enum {
|
typedef enum {
|
||||||
EfiProcessorFamilyOther = 1,
|
EfiProcessorFamilyOther = 0x01,
|
||||||
EfiProcessorFamilyUnknown = 2,
|
EfiProcessorFamilyUnknown = 0x02,
|
||||||
EfiProcessorFamily8086 = 3,
|
EfiProcessorFamily8086 = 0x03,
|
||||||
EfiProcessorFamily80286 = 4,
|
EfiProcessorFamily80286 = 0x04,
|
||||||
EfiProcessorFamilyIntel386 = 5,
|
EfiProcessorFamilyIntel386 = 0x05,
|
||||||
EfiProcessorFamilyIntel486 = 6,
|
EfiProcessorFamilyIntel486 = 0x06,
|
||||||
EfiProcessorFamily8087 = 7,
|
EfiProcessorFamily8087 = 0x07,
|
||||||
EfiProcessorFamily80287 = 8,
|
EfiProcessorFamily80287 = 0x08,
|
||||||
EfiProcessorFamily80387 = 9,
|
EfiProcessorFamily80387 = 0x09,
|
||||||
EfiProcessorFamily80487 = 0x0A,
|
EfiProcessorFamily80487 = 0x0A,
|
||||||
EfiProcessorFamilyPentium = 0x0B,
|
EfiProcessorFamilyPentium = 0x0B,
|
||||||
EfiProcessorFamilyPentiumPro = 0x0C,
|
EfiProcessorFamilyPentiumPro = 0x0C,
|
||||||
EfiProcessorFamilyPentiumII = 0x0D,
|
EfiProcessorFamilyPentiumII = 0x0D,
|
||||||
EfiProcessorFamilyPentiumMMX = 0x0E,
|
EfiProcessorFamilyPentiumMMX = 0x0E,
|
||||||
EfiProcessorFamilyCeleron = 0x0F,
|
EfiProcessorFamilyCeleron = 0x0F,
|
||||||
EfiProcessorFamilyPentiumIIXeon = 0x10,
|
EfiProcessorFamilyPentiumIIXeon = 0x10,
|
||||||
EfiProcessorFamilyPentiumIII = 0x11,
|
EfiProcessorFamilyPentiumIII = 0x11,
|
||||||
EfiProcessorFamilyM1 = 0x12,
|
EfiProcessorFamilyM1 = 0x12,
|
||||||
EfiProcessorFamilyM1Reserved1 = 0x13,
|
EfiProcessorFamilyM2 = 0x13,
|
||||||
EfiProcessorFamilyM1Reserved2 = 0x14,
|
EfiProcessorFamilyM1Reserved2 = 0x14,
|
||||||
EfiProcessorFamilyM1Reserved3 = 0x15,
|
EfiProcessorFamilyM1Reserved3 = 0x15,
|
||||||
EfiProcessorFamilyM1Reserved4 = 0x16,
|
EfiProcessorFamilyM1Reserved4 = 0x16,
|
||||||
EfiProcessorFamilyM1Reserved5 = 0x17,
|
EfiProcessorFamilyM1Reserved5 = 0x17,
|
||||||
EfiProcessorFamilyM1Reserved6 = 0x18,
|
EfiProcessorFamilyAmdDuron = 0x18,
|
||||||
EfiProcessorFamilyK5 = 0x19,
|
EfiProcessorFamilyK5 = 0x19,
|
||||||
EfiProcessorFamilyK5Reserved1 = 0x1A,
|
EfiProcessorFamilyK6 = 0x1A,
|
||||||
EfiProcessorFamilyK5Reserved2 = 0x1B,
|
EfiProcessorFamilyK6_2 = 0x1B,
|
||||||
EfiProcessorFamilyK5Reserved3 = 0x1C,
|
EfiProcessorFamilyK6_3 = 0x1C,
|
||||||
EfiProcessorFamilyK5Reserved4 = 0x1D,
|
EfiProcessorFamilyAmdAthlon = 0x1D,
|
||||||
EfiProcessorFamilyK5Reserved5 = 0x1E,
|
EfiProcessorFamilyAmd29000 = 0x1E,
|
||||||
EfiProcessorFamilyK5Reserved6 = 0x1F,
|
EfiProcessorFamilyK6_2Plus = 0x1F,
|
||||||
EfiProcessorFamilyPowerPC = 0x20,
|
EfiProcessorFamilyPowerPC = 0x20,
|
||||||
EfiProcessorFamilyPowerPC601 = 0x21,
|
EfiProcessorFamilyPowerPC601 = 0x21,
|
||||||
EfiProcessorFamilyPowerPC603 = 0x22,
|
EfiProcessorFamilyPowerPC603 = 0x22,
|
||||||
EfiProcessorFamilyPowerPC603Plus = 0x23,
|
EfiProcessorFamilyPowerPC603Plus = 0x23,
|
||||||
EfiProcessorFamilyPowerPC604 = 0x24,
|
EfiProcessorFamilyPowerPC604 = 0x24,
|
||||||
EfiProcessorFamilyPowerPC620 = 0x25,
|
EfiProcessorFamilyPowerPC620 = 0x25,
|
||||||
EfiProcessorFamilyPowerPC704 = 0x26,
|
EfiProcessorFamilyPowerPCx704 = 0x26,
|
||||||
EfiProcessorFamilyPowerPC750 = 0x27,
|
EfiProcessorFamilyPowerPC750 = 0x27,
|
||||||
EfiProcessorFamilyAlpha2 = 0x30,
|
EfiProcessorFamilyAlpha3 = 0x30,
|
||||||
EfiProcessorFamilyAlpha21064 = 0x31,
|
EfiProcessorFamilyAlpha21064 = 0x31,
|
||||||
EfiProcessorFamilyAlpha21066 = 0x32,
|
EfiProcessorFamilyAlpha21066 = 0x32,
|
||||||
EfiProcessorFamilyAlpha21164 = 0x33,
|
EfiProcessorFamilyAlpha21164 = 0x33,
|
||||||
EfiProcessorFamilyAlpha21164PC = 0x34,
|
EfiProcessorFamilyAlpha21164PC = 0x34,
|
||||||
EfiProcessorFamilyAlpha21164a = 0x35,
|
EfiProcessorFamilyAlpha21164a = 0x35,
|
||||||
EfiProcessorFamilyAlpha21264 = 0x36,
|
EfiProcessorFamilyAlpha21264 = 0x36,
|
||||||
EfiProcessorFamilyAlpha21364 = 0x37,
|
EfiProcessorFamilyAlpha21364 = 0x37,
|
||||||
EfiProcessorFamilyMips = 0x40,
|
EfiProcessorFamilyMips = 0x40,
|
||||||
EfiProcessorFamilyMIPSR4000 = 0x41,
|
EfiProcessorFamilyMIPSR4000 = 0x41,
|
||||||
EfiProcessorFamilyMIPSR4200 = 0x42,
|
EfiProcessorFamilyMIPSR4200 = 0x42,
|
||||||
EfiProcessorFamilyMIPSR4400 = 0x43,
|
EfiProcessorFamilyMIPSR4400 = 0x43,
|
||||||
EfiProcessorFamilyMIPSR4600 = 0x44,
|
EfiProcessorFamilyMIPSR4600 = 0x44,
|
||||||
EfiProcessorFamilyMIPSR10000 = 0x45,
|
EfiProcessorFamilyMIPSR10000 = 0x45,
|
||||||
EfiProcessorFamilySparc = 0x50,
|
EfiProcessorFamilySparc = 0x50,
|
||||||
EfiProcessorFamilySuperSparc = 0x51,
|
EfiProcessorFamilySuperSparc = 0x51,
|
||||||
EfiProcessorFamilymicroSparcII = 0x52,
|
EfiProcessorFamilymicroSparcII = 0x52,
|
||||||
EfiProcessorFamilymicroSparcIIep = 0x53,
|
EfiProcessorFamilymicroSparcIIep = 0x53,
|
||||||
EfiProcessorFamilyUltraSparc = 0x54,
|
EfiProcessorFamilyUltraSparc = 0x54,
|
||||||
EfiProcessorFamilyUltraSparcII = 0x55,
|
EfiProcessorFamilyUltraSparcII = 0x55,
|
||||||
EfiProcessorFamilyUltraSparcIIi = 0x56,
|
EfiProcessorFamilyUltraSparcIIi = 0x56,
|
||||||
EfiProcessorFamilyUltraSparcIII = 0x57,
|
EfiProcessorFamilyUltraSparcIII = 0x57,
|
||||||
EfiProcessorFamilyUltraSparcIIIi = 0x58,
|
EfiProcessorFamilyUltraSparcIIIi = 0x58,
|
||||||
EfiProcessorFamily68040 = 0x60,
|
EfiProcessorFamily68040 = 0x60,
|
||||||
EfiProcessorFamily68xxx = 0x61,
|
EfiProcessorFamily68xxx = 0x61,
|
||||||
EfiProcessorFamily68000 = 0x62,
|
EfiProcessorFamily68000 = 0x62,
|
||||||
EfiProcessorFamily68010 = 0x63,
|
EfiProcessorFamily68010 = 0x63,
|
||||||
EfiProcessorFamily68020 = 0x64,
|
EfiProcessorFamily68020 = 0x64,
|
||||||
EfiProcessorFamily68030 = 0x65,
|
EfiProcessorFamily68030 = 0x65,
|
||||||
EfiProcessorFamilyHobbit = 0x70,
|
EfiProcessorFamilyHobbit = 0x70,
|
||||||
EfiProcessorFamilyCrusoeTM5000 = 0x78,
|
EfiProcessorFamilyCrusoeTM5000 = 0x78,
|
||||||
EfiProcessorFamilyCrusoeTM3000 = 0x79,
|
EfiProcessorFamilyCrusoeTM3000 = 0x79,
|
||||||
EfiProcessorFamilyWeitek = 0x80,
|
EfiProcessorFamilyEfficeonTM8000 = 0x7A,
|
||||||
EfiProcessorFamilyItanium = 0x82,
|
EfiProcessorFamilyWeitek = 0x80,
|
||||||
EfiProcessorFamilyAmdAthlon64 = 0x83,
|
EfiProcessorFamilyItanium = 0x82,
|
||||||
EfiProcessorFamilyAmdOpteron = 0x84,
|
EfiProcessorFamilyAmdAthlon64 = 0x83,
|
||||||
EfiProcessorFamilyPARISC = 0x90,
|
EfiProcessorFamilyAmdOpteron = 0x84,
|
||||||
EfiProcessorFamilyPaRisc8500 = 0x91,
|
EfiProcessorFamilyAmdSempron = 0x85,
|
||||||
EfiProcessorFamilyPaRisc8000 = 0x92,
|
EfiProcessorFamilyAmdTurion64Mobile = 0x86,
|
||||||
EfiProcessorFamilyPaRisc7300LC = 0x93,
|
EfiProcessorFamilyDualCoreAmdOpteron = 0x87,
|
||||||
EfiProcessorFamilyPaRisc7200 = 0x94,
|
EfiProcessorFamilyAmdAthlon64X2DualCore = 0x88,
|
||||||
EfiProcessorFamilyPaRisc7100LC = 0x95,
|
EfiProcessorFamilyAmdTurion64X2Mobile = 0x89,
|
||||||
EfiProcessorFamilyPaRisc7100 = 0x96,
|
EfiProcessorFamilyPARISC = 0x90,
|
||||||
EfiProcessorFamilyV30 = 0xA0,
|
EfiProcessorFamilyPaRisc8500 = 0x91,
|
||||||
EfiProcessorFamilyPentiumIIIXeon = 0xB0,
|
EfiProcessorFamilyPaRisc8000 = 0x92,
|
||||||
EfiProcessorFamilyPentiumIIISpeedStep = 0xB1,
|
EfiProcessorFamilyPaRisc7300LC = 0x93,
|
||||||
EfiProcessorFamilyPentium4 = 0xB2,
|
EfiProcessorFamilyPaRisc7200 = 0x94,
|
||||||
EfiProcessorFamilyIntelXeon = 0xB3,
|
EfiProcessorFamilyPaRisc7100LC = 0x95,
|
||||||
EfiProcessorFamilyAS400 = 0xB4,
|
EfiProcessorFamilyPaRisc7100 = 0x96,
|
||||||
EfiProcessorFamilyIntelXeonMP = 0xB5,
|
EfiProcessorFamilyV30 = 0xA0,
|
||||||
EfiProcessorFamilyAMDAthlonXP = 0xB6,
|
EfiProcessorFamilyPentiumIIIXeon = 0xB0,
|
||||||
EfiProcessorFamilyAMDAthlonMP = 0xB7,
|
EfiProcessorFamilyPentiumIIISpeedStep = 0xB1,
|
||||||
EfiProcessorFamilyIntelPentiumM = 0xB9,
|
EfiProcessorFamilyPentium4 = 0xB2,
|
||||||
EfiProcessorFamilyIntelCeleronD = 0xBA,
|
EfiProcessorFamilyIntelXeon = 0xB3,
|
||||||
EfiProcessorFamilyIntelPentiumD = 0xBB,
|
EfiProcessorFamilyAS400 = 0xB4,
|
||||||
EfiProcessorFamilyIntelPentiumEx = 0xBC,
|
EfiProcessorFamilyIntelXeonMP = 0xB5,
|
||||||
EfiProcessorFamilyIBM390 = 0xC8,
|
EfiProcessorFamilyAMDAthlonXP = 0xB6,
|
||||||
EfiProcessorFamilyG4 = 0xC9,
|
EfiProcessorFamilyAMDAthlonMP = 0xB7,
|
||||||
EfiProcessorFamilyG5 = 0xCA,
|
EfiProcessorFamilyIntelItanium2 = 0xB8,
|
||||||
EfiProcessorFamilyi860 = 0xFA,
|
EfiProcessorFamilyIntelPentiumM = 0xB9,
|
||||||
EfiProcessorFamilyi960 = 0xFB
|
EfiProcessorFamilyIntelCeleronD = 0xBA,
|
||||||
|
EfiProcessorFamilyIntelPentiumD = 0xBB,
|
||||||
|
EfiProcessorFamilyIntelPentiumEx = 0xBC,
|
||||||
|
EfiProcessorFamilyIntelCoreSolo = 0xBD, ///< SMBIOS spec 2.6 correct this value
|
||||||
|
EfiProcessorFamilyReserved = 0xBE,
|
||||||
|
EfiProcessorFamilyIntelCore2 = 0xBF,
|
||||||
|
EfiProcessorFamilyIBM390 = 0xC8,
|
||||||
|
EfiProcessorFamilyG4 = 0xC9,
|
||||||
|
EfiProcessorFamilyG5 = 0xCA,
|
||||||
|
EfiProcessorFamilyG6 = 0xCB,
|
||||||
|
EfiProcessorFamilyzArchitectur = 0xCC,
|
||||||
|
EfiProcessorFamilyViaC7M = 0xD2,
|
||||||
|
EfiProcessorFamilyViaC7D = 0xD3,
|
||||||
|
EfiProcessorFamilyViaC7 = 0xD4,
|
||||||
|
EfiProcessorFamilyViaEden = 0xD5,
|
||||||
|
EfiProcessorFamilyi860 = 0xFA,
|
||||||
|
EfiProcessorFamilyi960 = 0xFB,
|
||||||
|
EfiProcessorFamilyIndicatorFamily2 = 0xFE,
|
||||||
|
EfiProcessorFamilyReserved1 = 0xFF
|
||||||
} EFI_PROCESSOR_FAMILY_DATA;
|
} EFI_PROCESSOR_FAMILY_DATA;
|
||||||
|
|
||||||
///
|
///
|
||||||
@ -1226,11 +1244,15 @@ typedef struct {
|
|||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
UINT8 Five :1;
|
UINT8 Five :1;
|
||||||
UINT8 There :1;
|
UINT8 Three :1;
|
||||||
UINT8 Two :1;
|
UINT8 Two :1;
|
||||||
UINT8 Reserved:5;
|
UINT8 Reserved:5;
|
||||||
} EFI_MEMORY_MODULE_VOLTAGE_TYPE;
|
} EFI_MEMORY_MODULE_VOLTAGE_TYPE;
|
||||||
|
|
||||||
|
//
|
||||||
|
// EFI_MEMORY_CONTROLLER_INFORMATION is obsolete
|
||||||
|
// Use EFI_MEMORY_CONTROLLER_INFORMATION_DATA instead
|
||||||
|
//
|
||||||
typedef struct {
|
typedef struct {
|
||||||
EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod;
|
EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod;
|
||||||
EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability;
|
EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability;
|
||||||
@ -1245,6 +1267,20 @@ typedef struct {
|
|||||||
UINT16 *MemoryModuleConfigHandles;
|
UINT16 *MemoryModuleConfigHandles;
|
||||||
} EFI_MEMORY_CONTROLLER_INFORMATION;
|
} EFI_MEMORY_CONTROLLER_INFORMATION;
|
||||||
|
|
||||||
|
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;
|
||||||
|
EFI_INTER_LINK_DATA MemoryModuleConfig[1];
|
||||||
|
} EFI_MEMORY_CONTROLLER_INFORMATION_DATA;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Memory. Error Information - SMBIOS Type 18
|
// Memory. Error Information - SMBIOS Type 18
|
||||||
//
|
//
|
||||||
@ -1538,8 +1574,9 @@ typedef enum {
|
|||||||
} EFI_MISC_CHASSIS_SECURITY_STATE;
|
} EFI_MISC_CHASSIS_SECURITY_STATE;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
UINT32 RecordType:1;
|
UINT32 RecordType :1;
|
||||||
UINT32 Reserved:24;
|
UINT32 Type :7;
|
||||||
|
UINT32 Reserved :24;
|
||||||
} EFI_MISC_ELEMENT_TYPE;
|
} EFI_MISC_ELEMENT_TYPE;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user