summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation/Framework/Guid/DataHubRecords/DataHubSubClassMisc.h
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-01-24 06:37:35 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-01-24 06:37:35 +0000
commit2c40a813fc32c5c9aa204b10b037c48f42fe6422 (patch)
tree3e33404cc85dc7e8e73ee6108dc9329986a97734 /EdkCompatibilityPkg/Foundation/Framework/Guid/DataHubRecords/DataHubSubClassMisc.h
parent8336fd87df501f8bb26c47d4f216710fc9420ebd (diff)
downloadedk2-platforms-2c40a813fc32c5c9aa204b10b037c48f42fe6422.tar.xz
1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6) 1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol. 1.3) Add Smbios 2.5, 2.6 supports. Incompatible changes hilighted: 1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed. 2) EFI_IP4_IPCONFIG_DATA changed. 2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4622 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Framework/Guid/DataHubRecords/DataHubSubClassMisc.h')
-rw-r--r--EdkCompatibilityPkg/Foundation/Framework/Guid/DataHubRecords/DataHubSubClassMisc.h71
1 files changed, 69 insertions, 2 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Framework/Guid/DataHubRecords/DataHubSubClassMisc.h b/EdkCompatibilityPkg/Foundation/Framework/Guid/DataHubRecords/DataHubSubClassMisc.h
index 901a464487..5c3e6dae04 100644
--- a/EdkCompatibilityPkg/Foundation/Framework/Guid/DataHubRecords/DataHubSubClassMisc.h
+++ b/EdkCompatibilityPkg/Foundation/Framework/Guid/DataHubRecords/DataHubSubClassMisc.h
@@ -1,6 +1,6 @@
/*++
-Copyright (c) 2004 - 2006, Intel Corporation
+Copyright (c) 2004 - 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -43,6 +43,11 @@ typedef struct {
UINT8 LastPciBus;
} EFI_MISC_LAST_PCI_BUS;
+typedef struct {
+ UINT8 FunctionNum :3;
+ UINT8 DeviceNum :5;
+} EFI_MISC_DEV_FUNC_NUM;
+
//
//////////////////////////////////////////////////////////////////////////////
//
@@ -225,6 +230,10 @@ typedef enum {
EfiMiscChassisTypeRackMountChassis = 0x17,
EfiMiscChassisTypeSealedCasePc = 0x18,
EfiMiscChassisMultiSystemChassis = 0x19,
+ EfiMiscChassisCompactPCI = 0x1A,
+ EfiMiscChassisAdvancedTCA = 0x1B,
+ EfiMiscChassisBlade = 0x1C,
+ EfiMiscChassisBladeEnclosure = 0x1D
} EFI_MISC_CHASSIS_TYPE;
typedef struct {
@@ -323,6 +332,7 @@ typedef enum {
EfiPortConnectorTypeHeadPhoneMiniJack = 0x1F,
EfiPortConnectorTypeBNC = 0x20,
EfiPortConnectorType1394 = 0x21,
+ EfiPortConnectorTypeSasSata = 0x22,
EfiPortConnectorTypePC98 = 0xA0,
EfiPortConnectorTypePC98Hireso = 0xA1,
EfiPortConnectorTypePCH98 = 0xA2,
@@ -364,6 +374,8 @@ typedef enum {
EfiPortTypeAudioPort = 0x1D,
EfiPortTypeModemPort = 0x1E,
EfiPortTypeNetworkPort = 0x1F,
+ EfiPortTypeSata = 0x20,
+ EfiPortTypeSas = 0x21,
EfiPortType8251Compatible = 0xA0,
EfiPortType8251FifoCompatible = 0xA1,
EfiPortTypeOther = 0xFF,
@@ -412,6 +424,11 @@ typedef enum {
EfiSlotTypePC98LocalBus = 0xA3,
EfiSlotTypePC98Card = 0xA4,
EfiSlotTypePciExpress = 0xA5,
+ EfiSlotTypePciExpressX1 = 0xA6,
+ EfiSlotTypePciExpressX2 = 0xA7,
+ EfiSlotTypePciExpressX4 = 0xA8,
+ EfiSlotTypePciExpressX8 = 0xA9,
+ EfiSlotTypePciExpressX16 = 0xAA
} EFI_MISC_SLOT_TYPE;
typedef enum {
@@ -469,6 +486,9 @@ typedef struct {
UINT16 SlotId;
EFI_MISC_SLOT_CHARACTERISTICS SlotCharacteristics;
EFI_DEVICE_PATH_PROTOCOL SlotDevicePath;
+ UINT16 SegmentGroupNum;
+ UINT8 BusNum;
+ EFI_MISC_DEV_FUNC_NUM DevFuncNum;
} EFI_MISC_SYSTEM_SLOT_DESIGNATION;
//
@@ -486,6 +506,9 @@ typedef enum {
EfiOnBoardDeviceTypeEthernet = 5,
EfiOnBoardDeviceTypeTokenRing = 6,
EfiOnBoardDeviceTypeSound = 7,
+ EfiOnBoardDeviceTypePataController = 8,
+ EfiOnBoardDeviceTypeSataController = 9,
+ EfiOnBoardDeviceTypeSasController = 10
} EFI_MISC_ONBOARD_DEVICE_TYPE;
typedef struct {
@@ -1010,6 +1033,48 @@ typedef struct {
//
//////////////////////////////////////////////////////////////////////////////
//
+//Additional Information Record - SMBIOS Type 40
+//
+typedef struct {
+ UINT8 EntryLength;
+ UINT8 ReferencedSmbiosType;
+ EFI_INTER_LINK_DATA ReferencedLink;
+ UINT8 ReferencedOffset;
+ STRING_REF EntryString;
+ EFI_PHYSICAL_ADDRESS ValueAddress;
+} EFI_MISC_ADDITIONAL_INFORMATION_ENTRY;
+
+typedef struct {
+ UINT8 NumberOfAdditionalInformationEntries;
+ EFI_PHYSICAL_ADDRESS AdditionalInfoEntriesAddr;
+} EFI_MISC_ADDITIONAL_INFORMATION;
+
+#define EFI_MISC_ADDITIONAL_INFORMATION_RECORD_NUMBER 0x00000022
+
+//
+//////////////////////////////////////////////////////////////////////////////
+//
+//Onboard Devices Extended Infomation Record - SMBIOS Type 41
+//
+typedef struct {
+ UINT8 TypeOfDevice:7;
+ UINT8 DeviceStatus:1;
+} EFI_MISC_DEVICE_TYPE;
+
+typedef struct {
+ STRING_REF ReferenceDesignation;
+ EFI_MISC_DEVICE_TYPE DeviceType;
+ UINT8 DeviceTypeInstance;
+ UINT16 SegmentGroupNum;
+ UINT8 BusNum;
+ EFI_MISC_DEV_FUNC_NUM DevFuncNum;
+} EFI_MISC_ONBOARD_DEVICES_EXTENDED_INFORMATION;
+
+#define EFI_MISC_ONBOARD_DEVICES_EXTENDED_INFORMATION_RECORD_NUMBER 0x00000023
+
+//
+//////////////////////////////////////////////////////////////////////////////
+//
// Generic Data Record - All SMBIOS Type
// Put smbios raw data into one datahub record directly. Smbios driver would
// copy smbios raw data into smbios table but not take any translation.
@@ -1113,7 +1178,9 @@ typedef union {
EFI_MISC_IPMI_INTERFACE_TYPE_DATA MiscIpmiInterfaceTypeData;
EFI_MISC_SYSTEM_POWER_SUPPLY MiscPowerSupplyInfo;
EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION MiscSmbiosStructEncapsulation;
- EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD MiscManagementDeviceThreshold;
+ EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD MiscManagementDeviceThreshold;
+ EFI_MISC_ADDITIONAL_INFORMATION MiscAdditionalInformation;
+ EFI_MISC_ONBOARD_DEVICES_EXTENDED_INFORMATION MiscOnBoardDevicesExtendedInformation;
} EFI_MISC_SUBCLASS_RECORDS;
//