X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FCommon%2FDataHubRecords.h;h=4a017a3bc6707f1383261c44df1847f59a052654;hp=0bc8f23d756688e6a59ce751abfac925c1d96e69;hb=a682ecebfef53187fb44f8ff8bdc34c1d33e35f6;hpb=878ddf1fc3540a715f63594ed22b6929e881afb4 diff --git a/MdePkg/Include/Common/DataHubRecords.h b/MdePkg/Include/Common/DataHubRecords.h index 0bc8f23d75..4a017a3bc6 100644 --- a/MdePkg/Include/Common/DataHubRecords.h +++ b/MdePkg/Include/Common/DataHubRecords.h @@ -1,10 +1,7 @@ /** @file - This file defines GUIDs and associated data structures for records - posted to the Data Hub. - The producers of these records use these definitions to construct - records. - The consumers of these records use these definitions to retrieve, - filter and parse records. + This file defines GUIDs and associated data structures for records posted to the Data Hub. + The producers of these records use these definitions to construct records. + The consumers of these records use these definitions to retrieve, filter and parse records. Copyright (c) 2006, Intel Corporation All rights reserved. This program and the accompanying materials @@ -814,54 +811,54 @@ typedef struct { #define EFI_MISC_BIOS_VENDOR_RECORD_NUMBER 0x00000002 typedef struct { - UINT32 Reserved1 :2; - UINT32 Unknown :1; - UINT32 BiosCharacteristicsNotSupported :1; - UINT32 IsaIsSupported :1; - UINT32 McaIsSupported :1; - UINT32 EisaIsSupported :1; - UINT32 PciIsSupported :1; - UINT32 PcmciaIsSupported :1; - UINT32 PlugAndPlayIsSupported :1; - UINT32 ApmIsSupported :1; - UINT32 BiosIsUpgradable :1; - UINT32 BiosShadowingAllowed :1; - UINT32 VlVesaIsSupported :1; - UINT32 EscdSupportIsAvailable :1; - UINT32 BootFromCdIsSupported :1; - UINT32 SelectableBootIsSupported :1; - UINT32 RomBiosIsSocketed :1; - UINT32 BootFromPcmciaIsSupported :1; - UINT32 EDDSpecificationIsSupported :1; - UINT32 JapaneseNecFloppyIsSupported :1; - UINT32 JapaneseToshibaFloppyIsSupported :1; - UINT32 Floppy525_360IsSupported :1; - UINT32 Floppy525_12IsSupported :1; - UINT32 Floppy35_720IsSupported :1; - UINT32 Floppy35_288IsSupported :1; - UINT32 PrintScreenIsSupported :1; - UINT32 Keyboard8042IsSupported :1; - UINT32 SerialIsSupported :1; - UINT32 PrinterIsSupported :1; - UINT32 CgaMonoIsSupported :1; - UINT32 NecPc98 :1; - UINT32 AcpiIsSupported :1; - UINT32 UsbLegacyIsSupported :1; - UINT32 AgpIsSupported :1; - UINT32 I20BootIsSupported :1; - UINT32 Ls120BootIsSupported :1; - UINT32 AtapiZipDriveBootIsSupported :1; - UINT32 Boot1394IsSupported :1; - UINT32 SmartBatteryIsSupported :1; - UINT32 BiosBootSpecIsSupported :1; - UINT32 FunctionKeyNetworkBootIsSupported :1; - UINT32 Reserved :22; + 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 { - UINT32 BiosReserved :16; - UINT32 SystemReserved :16; - UINT32 Reserved :32; + UINT64 BiosReserved :16; + UINT64 SystemReserved :16; + UINT64 Reserved :32; } EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION; typedef struct { @@ -1789,8 +1786,26 @@ typedef struct { #define EFI_MISC_SMBIOS_STRUCT_ENCAP_RECORD_NUMBER 0x0000001F // -////////////////////////////////////////////////////////////////////////////// -// +// Declare the following strutures alias to use them more conviniently. +// +typedef EFI_MISC_LAST_PCI_BUS_DATA EFI_MISC_LAST_PCI_BUS; +typedef EFI_MISC_BIOS_VENDOR_DATA EFI_MISC_BIOS_VENDOR; +typedef EFI_MISC_SYSTEM_MANUFACTURER_DATA EFI_MISC_SYSTEM_MANUFACTURER; +typedef EFI_MISC_BASE_BOARD_MANUFACTURER_DATA EFI_MISC_BASE_BOARD_MANUFACTURER; +typedef EFI_MISC_CHASSIS_MANUFACTURER_DATA EFI_MISC_CHASSIS_MANUFACTURER; +typedef EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR; +typedef EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA EFI_MISC_SYSTEM_SLOT_DESIGNATION; +typedef EFI_MISC_ONBOARD_DEVICE_DATA EFI_MISC_ONBOARD_DEVICE; +typedef EFI_MISC_PORTING_DEVICE_TYPE_DATA EFI_MISC_ONBOARD_DEVICE_TYPE_DATA; +typedef EFI_MISC_OEM_STRING_DATA EFI_MISC_OEM_STRING; +typedef EFI_MISC_SYSTEM_OPTION_STRING_DATA EFI_MISC_SYSTEM_OPTION_STRING; +typedef EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES; +typedef EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA EFI_MISC_SYSTEM_LANGUAGE_STRING; +typedef EFI_MISC_BIS_ENTRY_POINT_DATA EFI_MISC_BIS_ENTRY_POINT; +typedef EFI_MISC_BOOT_INFORMATION_STATUS_DATA EFI_MISC_BOOT_INFORMATION_STATUS; +typedef EFI_MISC_SYSTEM_POWER_SUPPLY_DATA EFI_MISC_SYSTEM_POWER_SUPPLY; +typedef EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION; + typedef union { EFI_MISC_LAST_PCI_BUS_DATA LastPciBus; EFI_MISC_BIOS_VENDOR_DATA MiscBiosVendor;