Home | History | Annotate | Download | only in SmBiosMiscDxe
      1 /** @file
      2 
      3 Copyright (c) 2004  - 2014, Intel Corporation. All rights reserved.<BR>
      4 
      5   This program and the accompanying materials are licensed and made available under
      7   the terms and conditions of the BSD License that accompanies this distribution.
      9   The full text of the license may be found at
     11   http://opensource.org/licenses/bsd-license.php.
     13 
     15   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     17   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     19 
     21 
     23 
     24 Module Name:
     25 
     26     MiscSystemSlotDesignationData.c
     27 
     28 Abstract:
     29 
     30   Static data of System Slot Designation.
     31   System Slot Designation is Misc. subclass type 7 and SMBIOS type 9.
     32 
     33 
     34 **/
     35 
     36 
     37 #include "CommonHeader.h"
     38 
     39 #include "MiscSubclassDriver.h"
     40 
     41 
     42 //
     43 // Static (possibly build generated) Bios Vendor data.
     44 //
     45 MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx16Slot1) = {
     46   STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX16_1),    // SlotDesignation
     47   EfiSlotTypePciExpress,        // SlotType
     48   EfiSlotDataBusWidth16xOrx16,  // SlotDataBusWidth
     49   EfiSlotUsageAvailable,        // SlotUsage
     50   EfiSlotLengthShort,           // SlotLength
     51   0x06,                         // SlotId
     52   {                             // SlotCharacteristics
     53     0,                          // CharacteristicsUnknown  :1;
     54     0,                          // Provides50Volts         :1;
     55     1,                          // Provides33Volts         :1;
     56     0,                          // SharedSlot              :1;
     57     0,                          // PcCard16Supported       :1;
     58     0,                          // CardBusSupported        :1;
     59     0,                          // ZoomVideoSupported      :1;
     60     0,                          // ModemRingResumeSupported:1;
     61     0,                          // PmeSignalSupported      :1;
     62     0,                          // HotPlugDevicesSupported :1;
     63     0,                          // SmbusSignalSupported    :1;
     64     0                           // Reserved                :21;
     65   },
     66   0                             // SlotDevicePath
     67 };
     68 
     69 MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx16Slot2) = {
     70   STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX16_2),    // SlotDesignation
     71   EfiSlotTypePciExpress,        // SlotType
     72   EfiSlotDataBusWidth16xOrx16,  // SlotDataBusWidth
     73   EfiSlotUsageAvailable,        // SlotUsage
     74   EfiSlotLengthShort,           // SlotLength
     75   0x04,                         // SlotId
     76   {                             // SlotCharacteristics
     77     0,                          // CharacteristicsUnknown  :1;
     78     0,                          // Provides50Volts         :1;
     79     1,                          // Provides33Volts         :1;
     80     0,                          // SharedSlot              :1;
     81     0,                          // PcCard16Supported       :1;
     82     0,                          // CardBusSupported        :1;
     83     0,                          // ZoomVideoSupported      :1;
     84     0,                          // ModemRingResumeSupported:1;
     85     0,                          // PmeSignalSupported      :1;
     86     0,                          // HotPlugDevicesSupported :1;
     87     0,                          // SmbusSignalSupported    :1;
     88     0                           // Reserved                :21;
     89   },
     90   0                             // SlotDevicePath
     91 };
     92 
     93 MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx4) = {
     94   STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX4),    // SlotDesignation
     95   EfiSlotTypePciExpress,        // SlotType
     96   EfiSlotDataBusWidth4xOrx4,  // SlotDataBusWidth
     97   EfiSlotUsageAvailable,        // SlotUsage
     98   EfiSlotLengthShort,           // SlotLength
     99   0x03,                         // SlotId
    100   {                             // SlotCharacteristics
    101     0,                          // CharacteristicsUnknown  :1;
    102     0,                          // Provides50Volts         :1;
    103     1,                          // Provides33Volts         :1;
    104     0,                          // SharedSlot              :1;
    105     0,                          // PcCard16Supported       :1;
    106     0,                          // CardBusSupported        :1;
    107     0,                          // ZoomVideoSupported      :1;
    108     0,                          // ModemRingResumeSupported:1;
    109     0,                          // PmeSignalSupported      :1;
    110     0,                          // HotPlugDevicesSupported :1;
    111     0,                          // SmbusSignalSupported    :1;
    112     0                           // Reserved                :21;
    113   },
    114   0                             // SlotDevicePath
    115 };
    116 
    117 MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx1Slot1) = {
    118   STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX1_1),    // SlotDesignation
    119   EfiSlotTypePciExpress,        // SlotType
    120   EfiSlotDataBusWidth1xOrx1,    // SlotDataBusWidth
    121   EfiSlotUsageAvailable,        // SlotUsage
    122   EfiSlotLengthShort,           // SlotLength
    123   0x02,                         // SlotId
    124   {                             // SlotCharacteristics
    125     0,                          // CharacteristicsUnknown  :1;
    126     0,                          // Provides50Volts         :1;
    127     1,                          // Provides33Volts         :1;
    128     0,                          // SharedSlot              :1;
    129     0,                          // PcCard16Supported       :1;
    130     0,                          // CardBusSupported        :1;
    131     0,                          // ZoomVideoSupported      :1;
    132     0,                          // ModemRingResumeSupported:1;
    133     1,                          // PmeSignalSupported      :1;
    134     0,                          // HotPlugDevicesSupported :1;
    135     1,                          // SmbusSignalSupported    :1;
    136     0                           // Reserved                :21;
    137   },
    138   0                             // SlotDevicePath
    139 };
    140 
    141 MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx1Slot2) = {
    142   STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX1_2),    // SlotDesignation
    143   EfiSlotTypePciExpress,        // SlotType
    144   EfiSlotDataBusWidth1xOrx1,    // SlotDataBusWidth
    145   EfiSlotUsageAvailable,        // SlotUsage
    146   EfiSlotLengthShort,           // SlotLength
    147   0x15,                         // SlotId
    148   {                             // SlotCharacteristics
    149     0,                          // CharacteristicsUnknown  :1;
    150     0,                          // Provides50Volts         :1;
    151     1,                          // Provides33Volts         :1;
    152     0,                          // SharedSlot              :1;
    153     0,                          // PcCard16Supported       :1;
    154     0,                          // CardBusSupported        :1;
    155     0,                          // ZoomVideoSupported      :1;
    156     0,                          // ModemRingResumeSupported:1;
    157     1,                          // PmeSignalSupported      :1;
    158     0,                          // HotPlugDevicesSupported :1;
    159     1,                          // SmbusSignalSupported    :1;
    160     0                           // Reserved                :21;
    161   },
    162   0                             // SlotDevicePath
    163 };
    164 
    165 MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx1Slot3) = {
    166   STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX1_3),    // SlotDesignation
    167   EfiSlotTypePciExpress,        // SlotType
    168   EfiSlotDataBusWidth1xOrx1,    // SlotDataBusWidth
    169   EfiSlotUsageAvailable,        // SlotUsage
    170   EfiSlotLengthShort,           // SlotLength
    171   0x16,                         // SlotId
    172   {                             // SlotCharacteristics
    173     0,                          // CharacteristicsUnknown  :1;
    174     0,                          // Provides50Volts         :1;
    175     1,                          // Provides33Volts         :1;
    176     0,                          // SharedSlot              :1;
    177     0,                          // PcCard16Supported       :1;
    178     0,                          // CardBusSupported        :1;
    179     0,                          // ZoomVideoSupported      :1;
    180     0,                          // ModemRingResumeSupported:1;
    181     1,                          // PmeSignalSupported      :1;
    182     0,                          // HotPlugDevicesSupported :1;
    183     1,                          // SmbusSignalSupported    :1;
    184     0                           // Reserved                :21;
    185   },
    186   0                             // SlotDevicePath
    187 };
    188 
    189 MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCI1) = {
    190   STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCI1),    // SlotDesignation
    191   EfiSlotTypePci,               // SlotType
    192   EfiSlotDataBusWidth32Bit,     // SlotDataBusWidth
    193   EfiSlotUsageAvailable,        // SlotUsage
    194   EfiSlotLengthLong ,           // SlotLength
    195   0x07,                         // SlotId
    196   {                             // SlotCharacteristics
    197     0,                          // CharacteristicsUnknown  :1;
    198     0,                          // Provides50Volts         :1;
    199     1,                          // Provides33Volts         :1;
    200     0,                          // SharedSlot              :1;
    201     0,                          // PcCard16Supported       :1;
    202     0,                          // CardBusSupported        :1;
    203     0,                          // ZoomVideoSupported      :1;
    204     0,                          // ModemRingResumeSupported:1;
    205     1,                          // PmeSignalSupported      :1;
    206     0,                          // HotPlugDevicesSupported :1;
    207     1,                          // SmbusSignalSupported    :1;
    208     0                           // Reserved                :21;
    209   },
    210   0                             // SlotDevicePath
    211 };
    212 
    213 MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCI2) = {
    214   STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCI2),    // SlotDesignation
    215   EfiSlotTypePci,               // SlotType
    216   EfiSlotDataBusWidth32Bit,     // SlotDataBusWidth
    217   EfiSlotUsageAvailable,        // SlotUsage
    218   EfiSlotLengthLong ,           // SlotLength
    219   0x18,                         // SlotId
    220   {                             // SlotCharacteristics
    221     0,                          // CharacteristicsUnknown  :1;
    222     0,                          // Provides50Volts         :1;
    223     1,                          // Provides33Volts         :1;
    224     0,                          // SharedSlot              :1;
    225     0,                          // PcCard16Supported       :1;
    226     0,                          // CardBusSupported        :1;
    227     0,                          // ZoomVideoSupported      :1;
    228     0,                          // ModemRingResumeSupported:1;
    229     1,                          // PmeSignalSupported      :1;
    230     0,                          // HotPlugDevicesSupported :1;
    231     1,                          // SmbusSignalSupported    :1;
    232     0                           // Reserved                :21;
    233   },
    234   0                             // SlotDevicePath
    235 };
    236 
    237 MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCI3) = {
    238   STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCI3),    // SlotDesignation
    239   EfiSlotTypePci,               // SlotType
    240   EfiSlotDataBusWidth32Bit,     // SlotDataBusWidth
    241   EfiSlotUsageAvailable,        // SlotUsage
    242   EfiSlotLengthLong ,           // SlotLength
    243   0x17,                         // SlotId
    244   {                             // SlotCharacteristics
    245     0,                          // CharacteristicsUnknown  :1;
    246     0,                          // Provides50Volts         :1;
    247     1,                          // Provides33Volts         :1;
    248     0,                          // SharedSlot              :1;
    249     0,                          // PcCard16Supported       :1;
    250     0,                          // CardBusSupported        :1;
    251     0,                          // ZoomVideoSupported      :1;
    252     0,                          // ModemRingResumeSupported:1;
    253     1,                          // PmeSignalSupported      :1;
    254     0,                          // HotPlugDevicesSupported :1;
    255     1,                          // SmbusSignalSupported    :1;
    256     0                           // Reserved                :21;
    257   },
    258   0                             // SlotDevicePath
    259 };
    260 
    261