Added definition of SMBIOS type 15 - System Event Log.
authorjtang12 <jtang12@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 20 Oct 2006 03:17:29 +0000 (03:17 +0000)
committerjtang12 <jtang12@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 20 Oct 2006 03:17:29 +0000 (03:17 +0000)
Added some missing field to SMBIOS type 1 - System Manufacturer.
Added some missing field to SMBIOS type 0 - BIOS information.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1801 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Common/DataHubRecords.h

index d34062d..fbf2310 100644 (file)
@@ -1,22 +1,22 @@
 /** @file\r
-  This file defines GUIDs and associated data structures for records posted to the Data Hub. \r
+  This file defines GUIDs and associated data structures for records posted to the Data Hub.\r
   The producers of these records use these definitions to construct records.\r
   The consumers of these records use these definitions to retrieve, filter and parse records.\r
 \r
-  Copyright (c) 2006, Intel Corporation                                                         \r
-  All rights reserved. This program and the accompanying materials                          \r
-  are licensed and made available under the terms and conditions of the BSD License         \r
-  which accompanies this distribution.  The full text of the license may be found at        \r
-  http://opensource.org/licenses/bsd-license.php                                            \r
+  Copyright (c) 2006, Intel Corporation\r
+  All rights reserved. This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
 \r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   Module Name:  DataHubRecords.h\r
 \r
   @par Revision Reference:\r
-  DataHubRecord.h include all data hub sub class defitions from Cache subclass \r
-  spec 0.9, DataHub SubClass spec 0.9, Memory SubClass Spec 0.9, Processor \r
+  DataHubRecord.h include all data hub sub class defitions from Cache subclass\r
+  spec 0.9, DataHub SubClass spec 0.9, Memory SubClass Spec 0.9, Processor\r
   Subclass spec 0.9,Misc SubClass spec 0.9.\r
 \r
 **/\r
@@ -139,7 +139,7 @@ typedef struct {
   UINT32    HeaderSize;\r
   UINT16    Instance;\r
   UINT16    SubInstance;\r
-  UINT32    RecordType;    \r
+  UINT32    RecordType;\r
 } EFI_SUBCLASS_TYPE1_HEADER;\r
 \r
 typedef struct {\r
@@ -380,7 +380,7 @@ typedef enum {
   EfiProcessorHealthy        = 1,\r
   EfiProcessorPerfRestricted = 2,\r
   EfiProcessorFuncRestricted = 3\r
-} EFI_PROCESSOR_HEALTH_STATUS;  \r
+} EFI_PROCESSOR_HEALTH_STATUS;\r
 \r
 typedef UINTN   EFI_PROCESSOR_PACKAGE_NUMBER_DATA;\r
 \r
@@ -465,7 +465,7 @@ typedef struct {
   UINT32  Reserved      :25;\r
 } EFI_CACHE_SRAM_TYPE_DATA;\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiCacheErrorOther     = 1,\r
   EfiCacheErrorUnknown   = 2,\r
   EfiCacheErrorNone      = 3,\r
@@ -474,7 +474,7 @@ typedef enum {
   EfiCacheErrorMultiBit  = 6\r
 } EFI_CACHE_ERROR_TYPE_DATA;\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiCacheTypeOther       = 1,\r
   EfiCacheTypeUnknown     = 2,\r
   EfiCacheTypeInstruction = 3,\r
@@ -482,7 +482,7 @@ typedef enum {
   EfiCacheTypeUnified     = 5\r
 } EFI_CACHE_TYPE_DATA;\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiCacheAssociativityOther        = 1,\r
   EfiCacheAssociativityUnknown      = 2,\r
   EfiCacheAssociativityDirectMapped = 3,\r
@@ -493,7 +493,7 @@ typedef enum {
   EfiCacheAssociativity16Way        = 8\r
 } EFI_CACHE_ASSOCIATIVITY_DATA;\r
 \r
-typedef struct {  \r
+typedef struct {\r
   UINT32    Level           :3;\r
   UINT32    Socketed        :1;\r
   UINT32    Reserved2       :1;\r
@@ -518,7 +518,7 @@ typedef enum {
   EfiCacheReserved = 2,\r
   EfiCacheUnknown  = 3\r
 } EFI_CACHE_LOCATION;\r
-  \r
+\r
 #define EFI_CACHE_ENABLED    1\r
 #define EFI_CACHE_DISABLED   0\r
 \r
@@ -561,9 +561,9 @@ typedef union {
 \r
 typedef struct {\r
    EFI_SUBCLASS_TYPE1_HEADER      DataRecordHeader;\r
-   EFI_CACHE_VARIABLE_RECORD      VariableRecord;  \r
+   EFI_CACHE_VARIABLE_RECORD      VariableRecord;\r
 } EFI_CACHE_DATA_RECORD;\r
-  \r
+\r
 #define EFI_MEMORY_SUBCLASS_VERSION     0x0100\r
 \r
 \r
@@ -870,7 +870,11 @@ typedef struct {
   EFI_EXP_BASE2_DATA              BiosPhysicalDeviceSize;\r
   EFI_MISC_BIOS_CHARACTERISTICS   BiosCharacteristics1;\r
   EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION  BiosCharacteristics2;\r
-} EFI_MISC_BIOS_VENDOR_DATA;       \r
+  UINT8                           BiosMajorRelease;\r
+  UINT8                           BiosMinorRelease;\r
+  UINT8                           BiosEmbeddedFirmwareMajorRelease;\r
+  UINT8                           BiosEmbeddedFirmwareMinorRelease;\r
+} EFI_MISC_BIOS_VENDOR_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -879,7 +883,7 @@ typedef struct {
 //\r
 #define EFI_MISC_SYSTEM_MANUFACTURER_RECORD_NUMBER 0x00000003\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiSystemWakeupTypeReserved        = 0,\r
   EfiSystemWakeupTypeOther           = 1,\r
   EfiSystemWakeupTypeUnknown         = 2,\r
@@ -898,7 +902,9 @@ typedef struct {
   STRING_REF                      SystemSerialNumber;\r
   EFI_GUID                        SystemUuid;\r
   EFI_MISC_SYSTEM_WAKEUP_TYPE     SystemWakeupType;\r
-} EFI_MISC_SYSTEM_MANUFACTURER_DATA;       \r
+  STRING_REF                      SystemSKUNumber;\r
+  STRING_REF                      SystemFamily;\r
+} EFI_MISC_SYSTEM_MANUFACTURER_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -916,7 +922,7 @@ typedef struct {
   UINT32  Reserved              :27;\r
 } EFI_BASE_BOARD_FEATURE_FLAGS;\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiBaseBoardTypeUnknown                = 1,\r
   EfiBaseBoardTypeOther                  = 2,\r
   EfiBaseBoardTypeServerBlade            = 3,\r
@@ -944,7 +950,7 @@ typedef struct {
   EFI_INTER_LINK_DATA             BaseBoardChassisLink;\r
   UINT32                          BaseBoardNumberLinks;\r
   EFI_INTER_LINK_DATA             LinkN;\r
-} EFI_MISC_BASE_BOARD_MANUFACTURER_DATA;       \r
+} EFI_MISC_BASE_BOARD_MANUFACTURER_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -953,7 +959,7 @@ typedef struct {
 //\r
 #define EFI_MISC_CHASSIS_MANUFACTURER_RECORD_NUMBER  0x00000005\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiMiscChassisTypeOther               = 0x1,\r
   EfiMiscChassisTypeUnknown             = 0x2,\r
   EfiMiscChassisTypeDeskTop             = 0x3,\r
@@ -987,7 +993,7 @@ typedef struct {
   UINT32  Reserved          :15;\r
 } EFI_MISC_CHASSIS_STATUS;\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiChassisStateOther           = 0x01,\r
   EfiChassisStateUnknown         = 0x02,\r
   EfiChassisStateSafe            = 0x03,\r
@@ -996,7 +1002,7 @@ typedef enum {
   EfiChassisStateNonRecoverable  = 0x06,\r
 } EFI_MISC_CHASSIS_STATE;\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiChassisSecurityStatusOther                          = 0x01,\r
   EfiChassisSecurityStatusUnknown                        = 0x02,\r
   EfiChassisSecurityStatusNone                           = 0x03,\r
@@ -1015,7 +1021,7 @@ typedef struct {
   EFI_BASE_BOARD_TYPE     ChassisBaseBoard;\r
   UINT32                  ChassisElementMinimum;\r
   UINT32                  ChassisElementMaximum;\r
-} EFI_MISC_ELEMENTS; \r
+} EFI_MISC_ELEMENTS;\r
 \r
 typedef struct {\r
   STRING_REF                      ChassisManufacturer;\r
@@ -1042,7 +1048,7 @@ typedef struct {
 //\r
 #define EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_RECORD_NUMBER 0x00000006\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiPortConnectorTypeNone                   = 0x00,\r
   EfiPortConnectorTypeCentronics             = 0x01,\r
   EfiPortConnectorTypeMiniCentronics         = 0x02,\r
@@ -1085,7 +1091,7 @@ typedef enum {
   EfiPortConnectorTypeOther                  = 0xFF,\r
 } EFI_MISC_PORT_CONNECTOR_TYPE;\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiPortTypeNone                      = 0x00,\r
   EfiPortTypeParallelXtAtCompatible    = 0x01,\r
   EfiPortTypeParallelPortPs2           = 0x02,\r
@@ -1130,7 +1136,7 @@ typedef struct {
   EFI_MISC_PORT_CONNECTOR_TYPE  PortExternalConnectorType;\r
   EFI_MISC_PORT_TYPE            PortType;\r
   EFI_MISC_PORT_DEVICE_PATH     PortPath;\r
-} EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA;      \r
+} EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1139,7 +1145,7 @@ typedef struct {
 //\r
 #define EFI_MISC_SYSTEM_SLOT_DESIGNATION_RECORD_NUMBER 0x00000007\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiSlotTypeOther                        = 0x01,\r
   EfiSlotTypeUnknown                      = 0x02,\r
   EfiSlotTypeIsa                          = 0x03,\r
@@ -1167,7 +1173,7 @@ typedef enum {
   EfiSlotTypePciExpress                   = 0xA5\r
 } EFI_MISC_SLOT_TYPE;\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiSlotDataBusWidthOther      = 0x01,\r
   EfiSlotDataBusWidthUnknown    = 0x02,\r
   EfiSlotDataBusWidth8Bit       = 0x03,\r
@@ -1177,14 +1183,14 @@ typedef enum {
   EfiSlotDataBusWidth128Bit     = 0x07,\r
 } EFI_MISC_SLOT_DATA_BUS_WIDTH;\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiSlotUsageOther     = 1,\r
   EfiSlotUsageUnknown   = 2,\r
   EfiSlotUsageAvailable = 3,\r
   EfiSlotUsageInUse     = 4,\r
 } EFI_MISC_SLOT_USAGE;\r
-  \r
-typedef enum {  \r
+\r
+typedef enum {\r
   EfiSlotLengthOther   = 1,\r
   EfiSlotLengthUnknown = 2,\r
   EfiSlotLengthShort   = 3,\r
@@ -1215,7 +1221,7 @@ typedef struct {
   UINT16                        SlotId;\r
   EFI_MISC_SLOT_CHARACTERISTICS SlotCharacteristics;\r
   EFI_DEVICE_PATH_PROTOCOL      SlotDevicePath;\r
-} EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA;      \r
+} EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1224,7 +1230,7 @@ typedef struct {
 //\r
 #define EFI_MISC_ONBOARD_DEVICE_RECORD_NUMBER 0x00000008\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiOnBoardDeviceTypeOther          = 1,\r
   EfiOnBoardDeviceTypeUnknown        = 2,\r
   EfiOnBoardDeviceTypeVideo          = 3,\r
@@ -1264,7 +1270,7 @@ typedef struct {
 //\r
 typedef struct {\r
   STRING_REF                          SystemOptionStringRef[1];\r
-} EFI_MISC_SYSTEM_OPTION_STRING_DATA;      \r
+} EFI_MISC_SYSTEM_OPTION_STRING_DATA;\r
 \r
 #define EFI_MISC_SYSTEM_OPTION_STRING_RECORD_NUMBER 0x0000000A\r
 \r
@@ -1284,7 +1290,7 @@ typedef struct {
   UINT16                              NumberOfInstallableLanguages;\r
   EFI_MISC_LANGUAGE_FLAGS             LanguageFlags;\r
   UINT16                              CurrentLanguageNumber;\r
-} EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA;       \r
+} EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1296,7 +1302,7 @@ typedef struct {
 typedef struct {\r
   UINT16                              LanguageId;\r
   STRING_REF                          SystemLanguageString;\r
-} EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA;      \r
+} EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1309,7 +1315,7 @@ typedef struct {
   STRING_REF               GroupName;\r
   UINT16                   NumberGroupItems;\r
   UINT16                   GroupId;\r
-} EFI_MISC_GROUP_NAME_DATA;  \r
+} EFI_MISC_GROUP_NAME_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1319,12 +1325,40 @@ typedef struct {
 #define EFI_MISC_GROUP_ITEM_SET_RECORD_NUMBER      0x0000000E\r
 \r
 typedef struct {\r
-  EFI_GUID                 SubClass;         \r
+  EFI_GUID                 SubClass;\r
   EFI_INTER_LINK_DATA      GroupLink;\r
   UINT16                   GroupId;\r
   UINT16                   GroupElementId;\r
 } EFI_MISC_GROUP_ITEM_SET_DATA;\r
 \r
+//  Misc. System Event Log  - SMBIOS Type 15\r
+//\r
+#define EFI_MISC_SYSTEM_EVENT_LOG_RECORD_NUMBER 0x0000000D\r
+typedef struct {\r
+  UINT16                LogAreaLength;\r
+  UINT16                LogHeaderStartOffset;\r
+  UINT16                LogDataStartOffset;\r
+  UINT8                 AccessMethod;\r
+  UINT8                 LogStatus;\r
+  UINT32                LogChangeToken;\r
+  UINT32                AccessMethodAddress;\r
+  UINT8                 LogHeaderFormat;\r
+  UINT8                 NumberOfSupportedLogType;\r
+  UINT8                 LengthOfLogDescriptor;\r
+} EFI_MISC_SYSTEM_EVENT_LOG_DATA;\r
+\r
+//\r
+// Access Method.\r
+//  0x00~0x04:  as following definition\r
+//  0x05~0x7f:  Available for future assignment.\r
+//  0x80~0xff:  BIOS Vendor/OEM-specific.\r
+//\r
+#define ACCESS_INDEXIO_1INDEX8BIT_DATA8BIT    0x00\r
+#define ACCESS_INDEXIO_2INDEX8BIT_DATA8BIT    0X01\r
+#define ACCESS_INDEXIO_1INDEX16BIT_DATA8BIT   0X02\r
+#define ACCESS_MEMORY_MAPPED                  0x03\r
+#define ACCESS_GPNV                           0x04\r
+\r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
 //\r
@@ -1332,7 +1366,7 @@ typedef struct {
 //\r
 #define EFI_MISC_POINTING_DEVICE_TYPE_RECORD_NUMBER 0x0000000F\r
 \r
-typedef enum { \r
+typedef enum {\r
   EfiPointingDeviceTypeOther         = 0x01,\r
   EfiPointingDeviceTypeUnknown       = 0x02,\r
   EfiPointingDeviceTypeMouse         = 0x03,\r
@@ -1344,7 +1378,7 @@ typedef enum {
   EfiPointingDeviceOpticalSensor     = 0x09,\r
 } EFI_MISC_POINTING_DEVICE_TYPE;\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiPointingDeviceInterfaceOther              = 0x01,\r
   EfiPointingDeviceInterfaceUnknown            = 0x02,\r
   EfiPointingDeviceInterfaceSerial             = 0x03,\r
@@ -1372,7 +1406,7 @@ typedef struct {
 //\r
 #define EFI_MISC_BATTERY_LOCATION_RECORD_NUMBER  0x00000010\r
 \r
-typedef enum { \r
+typedef enum {\r
   EfiBatteryDeviceChemistryTypeOther               = 0x01,\r
   EfiBatteryDeviceChemistryTypeUnknown             = 0x02,\r
   EfiBatteryDeviceChemistryTypeLeadAcid            = 0x03,\r
@@ -1406,7 +1440,7 @@ typedef struct {
   EFI_MISC_BATTERY_SBDS_MANUFACTURE_DATE\r
                                      BatterySbdsManufacturingDate;\r
   UINT32                             BatteryOemSpecific;\r
-} EFI_MISC_BATTERY_LOCATION_DATA;   \r
+} EFI_MISC_BATTERY_LOCATION_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1430,14 +1464,14 @@ typedef struct {
   UINT16                            ResetTimerInterval;\r
   UINT16                            ResetTimeout;\r
 } EFI_MISC_RESET_CAPABILITIES;\r
\r
+\r
 typedef struct {\r
     EFI_MISC_RESET_CAPABILITIES   ResetCapabilities;\r
     UINT16                        ResetCount;\r
     UINT16                        ResetLimit;\r
     UINT16                        ResetTimerInterval;\r
     UINT16                        ResetTimeout;\r
-} EFI_MISC_RESET_CAPABILITIES_DATA;       \r
+} EFI_MISC_RESET_CAPABILITIES_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1451,19 +1485,19 @@ typedef enum {
   EfiHardwareSecurityStatusEnabled        = 1,\r
   EfiHardwareSecurityStatusNotImplemented = 2,\r
   EfiHardwareSecurityStatusUnknown        = 3\r
-} EFI_MISC_HARDWARE_SECURITY_STATUS; \r
+} EFI_MISC_HARDWARE_SECURITY_STATUS;\r
 \r
 typedef struct {\r
-  EFI_MISC_HARDWARE_SECURITY_STATUS   FrontPanelResetStatus       :2;  \r
-  EFI_MISC_HARDWARE_SECURITY_STATUS   AdministratorPasswordStatus :2;  \r
-  EFI_MISC_HARDWARE_SECURITY_STATUS   KeyboardPasswordStatus      :2;  \r
-  EFI_MISC_HARDWARE_SECURITY_STATUS   PowerOnPasswordStatus       :2;  \r
-  EFI_MISC_HARDWARE_SECURITY_STATUS   Reserved                    :24;  \r
+  EFI_MISC_HARDWARE_SECURITY_STATUS   FrontPanelResetStatus       :2;\r
+  EFI_MISC_HARDWARE_SECURITY_STATUS   AdministratorPasswordStatus :2;\r
+  EFI_MISC_HARDWARE_SECURITY_STATUS   KeyboardPasswordStatus      :2;\r
+  EFI_MISC_HARDWARE_SECURITY_STATUS   PowerOnPasswordStatus       :2;\r
+  EFI_MISC_HARDWARE_SECURITY_STATUS   Reserved                    :24;\r
 } EFI_MISC_HARDWARE_SECURITY_SETTINGS;\r
 \r
 typedef struct {\r
   EFI_MISC_HARDWARE_SECURITY_SETTINGS HardwareSecuritySettings;\r
-} EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA;       \r
+} EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1478,7 +1512,7 @@ typedef struct {
   UINT16             ScheduledPoweronHour;\r
   UINT16             ScheduledPoweronMinute;\r
   UINT16             ScheduledPoweronSecond;\r
-} EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA;  \r
+} EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1509,7 +1543,7 @@ typedef struct {
   EFI_EXP_BASE10_DATA             MDLowerNonrecoverableThreshold;\r
   EFI_EXP_BASE10_DATA             MDUpperNonrecoverableThreshold;\r
   UINT32                          VoltageProbeOemDefined;\r
-} EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA; \r
+} EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1530,7 +1564,7 @@ typedef struct {
   UINT16                         CoolingDeviceUnitGroup;\r
   EFI_EXP_BASE10_DATA            CoolingDeviceNominalSpeed;\r
   UINT32                         CoolingDeviceOemDefined;\r
-} EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA; \r
+} EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1554,7 +1588,7 @@ typedef struct {
   EFI_EXP_BASE10_DATA      TemperatureProbeResolution;\r
   EFI_EXP_BASE10_DATA      TemperatureProbeTolerance;\r
   EFI_EXP_BASE10_DATA      TemperatureProbeAccuracy;\r
-  EFI_EXP_BASE10_DATA      TemperatureProbeNominalValue; \r
+  EFI_EXP_BASE10_DATA      TemperatureProbeNominalValue;\r
   EFI_EXP_BASE10_DATA      MDLowerNoncriticalThreshold;\r
   EFI_EXP_BASE10_DATA      MDUpperNoncriticalThreshold;\r
   EFI_EXP_BASE10_DATA      MDLowerCriticalThreshold;\r
@@ -1562,7 +1596,7 @@ typedef struct {
   EFI_EXP_BASE10_DATA      MDLowerNonrecoverableThreshold;\r
   EFI_EXP_BASE10_DATA      MDUpperNonrecoverableThreshold;\r
   UINT32                   TemperatureProbeOemDefined;\r
-} EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA;  \r
+} EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1625,7 +1659,7 @@ typedef struct {
 \r
 typedef struct {\r
   EFI_PHYSICAL_ADDRESS       BisEntryPoint;\r
-} EFI_MISC_BIS_ENTRY_POINT_DATA;    \r
+} EFI_MISC_BIS_ENTRY_POINT_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1634,7 +1668,7 @@ typedef struct {
 //\r
 #define EFI_MISC_BOOT_INFORMATION_STATUS_RECORD_NUMBER  0x0000001A\r
 \r
-typedef enum {  \r
+typedef enum {\r
   EfiBootInformationStatusNoError                  = 0x00,\r
   EfiBootInformationStatusNoBootableMedia          = 0x01,\r
   EfiBootInformationStatusNormalOSFailedLoading    = 0x02,\r
@@ -1661,7 +1695,7 @@ typedef struct {
 //\r
 #define EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_RECORD_NUMBER   0x0000001B\r
 \r
-typedef enum { \r
+typedef enum {\r
   EfiManagementDeviceTypeOther      = 0x01,\r
   EfiManagementDeviceTypeUnknown    = 0x02,\r
   EfiManagementDeviceTypeLm75       = 0x03,\r
@@ -1677,7 +1711,7 @@ typedef enum {
   EfiManagementDeviceTypeHt82H791   = 0x0D,\r
 } EFI_MISC_MANAGEMENT_DEVICE_TYPE;\r
 \r
-typedef enum { \r
+typedef enum {\r
   EfiManagementDeviceAddressTypeOther   = 1,\r
   EfiManagementDeviceAddressTypeUnknown = 2,\r
   EfiManagementDeviceAddressTypeIOPort  = 3,\r
@@ -1691,7 +1725,7 @@ typedef struct {
   UINTN                            ManagementDeviceAddress;\r
   EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE\r
                                    ManagementDeviceAddressType;\r
-} EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA; \r
+} EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
@@ -1704,15 +1738,15 @@ typedef struct {
 typedef struct {\r
   STRING_REF               ManagementDeviceComponentDescription;\r
   EFI_INTER_LINK_DATA      ManagementDeviceLink;\r
-  EFI_INTER_LINK_DATA      ManagementDeviceComponentLink; \r
-} EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA; \r
+  EFI_INTER_LINK_DATA      ManagementDeviceComponentLink;\r
+} EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA;\r
 \r
 //\r
 //////////////////////////////////////////////////////////////////////////////\r
 //\r
 // IPMI Data Record - SMBIOS Type 38\r
 //\r
-typedef enum {  \r
+typedef enum {\r
   EfiIpmiOther = 0,\r
   EfiIpmiKcs   = 1,\r
   EfiIpmiSmic  = 2,\r
@@ -1733,7 +1767,7 @@ typedef struct {
   UINT64                                IpmiBaseAddress;\r
   EFI_DEVICE_PATH_PROTOCOL              IpmiDevicePath;\r
 } EFI_MISC_IPMI_INTERFACE_TYPE_DATA;\r
-       \r
+\r
 #define EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER  0x0000001D\r
 \r
 //\r
@@ -1783,9 +1817,9 @@ typedef struct {
 typedef struct {\r
   SMBIOS_STRUCTURE_HDR          Header;\r
   UINT8                         RawData[1];\r
-} EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA; \r
+} EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA;\r
 \r
-#define EFI_MISC_SMBIOS_STRUCT_ENCAP_RECORD_NUMBER  0x0000001F \r
+#define EFI_MISC_SMBIOS_STRUCT_ENCAP_RECORD_NUMBER  0x0000001F\r
 \r
 //\r
 // Declare the following strutures alias to use them more conviniently.\r
@@ -1803,6 +1837,7 @@ typedef EFI_MISC_OEM_STRING_DATA                          EFI_MISC_OEM_STRING;
 typedef EFI_MISC_SYSTEM_OPTION_STRING_DATA                EFI_MISC_SYSTEM_OPTION_STRING;\r
 typedef EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA     EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES;\r
 typedef EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA              EFI_MISC_SYSTEM_LANGUAGE_STRING;\r
+typedef EFI_MISC_SYSTEM_EVENT_LOG_DATA                    EFI_MISC_SYSTEM_EVENT_LOG;\r
 typedef EFI_MISC_BIS_ENTRY_POINT_DATA                     EFI_MISC_BIS_ENTRY_POINT;\r
 typedef EFI_MISC_BOOT_INFORMATION_STATUS_DATA             EFI_MISC_BOOT_INFORMATION_STATUS;\r
 typedef EFI_MISC_SYSTEM_POWER_SUPPLY_DATA                 EFI_MISC_SYSTEM_POWER_SUPPLY;\r
@@ -1813,23 +1848,24 @@ typedef union {
   EFI_MISC_BIOS_VENDOR_DATA                          MiscBiosVendor;\r
   EFI_MISC_SYSTEM_MANUFACTURER_DATA                  MiscSystemManufacturer;\r
   EFI_MISC_BASE_BOARD_MANUFACTURER_DATA              MiscBaseBoardManufacturer;\r
-  EFI_MISC_CHASSIS_MANUFACTURER_DATA                 MiscChassisManufacturer;  \r
+  EFI_MISC_CHASSIS_MANUFACTURER_DATA                 MiscChassisManufacturer;\r
   EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA   MiscPortInternalConnectorDesignator;\r
   EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA              MiscSystemSlotDesignation;\r
   EFI_MISC_ONBOARD_DEVICE_DATA                       MiscOnboardDevice;\r
   EFI_MISC_OEM_STRING_DATA                           MiscOemString;\r
   EFI_MISC_SYSTEM_OPTION_STRING_DATA                 MiscOptionString;\r
   EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA      NumberOfInstallableLanguages;\r
-  EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA               MiscSystemLanguageString;  \r
+  EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA               MiscSystemLanguageString;\r
+  EFI_MISC_SYSTEM_EVENT_LOG_DATA                     MiscSystemEventLog;\r
   EFI_MISC_GROUP_NAME_DATA                           MiscGroupNameData;\r
   EFI_MISC_GROUP_ITEM_SET_DATA                       MiscGroupItemSetData;\r
   EFI_MISC_PORTING_DEVICE_TYPE_DATA                  MiscPortingDeviceTypeData;\r
   EFI_MISC_RESET_CAPABILITIES_DATA                   MiscResetCapablilitiesData;\r
-  EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA           MiscHardwareSecuritySettingsData;  \r
+  EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA           MiscHardwareSecuritySettingsData;\r
   EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA             MiscScheduledPowerOnMonthData;\r
   EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA            MiscVoltagePorbeDescriptionData;\r
   EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA             MiscCoolingDeviceTempLinkData;\r
-  EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA        MiscTemperatureProbeDescriptionData;   \r
+  EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA        MiscTemperatureProbeDescriptionData;\r
   EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA MiscElectricalCurrentProbeDescriptionData;\r
   EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA\r
                                                      MiscRemoteAccessManufacturerDescriptionData;\r
@@ -1840,7 +1876,7 @@ typedef union {
                                                      MiscmangementDeviceComponentDescriptionData;\r
   EFI_MISC_IPMI_INTERFACE_TYPE_DATA                  MiscIpmiInterfaceTypeData;\r
   EFI_MISC_SYSTEM_POWER_SUPPLY_DATA                  MiscPowerSupplyInfo;\r
-  EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA          MiscSmbiosStructEncapsulation;  \r
+  EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA          MiscSmbiosStructEncapsulation;\r
 } EFI_MISC_SUBCLASS_RECORDS;\r
 \r
 //\r