• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2 This driver parses the mMiscSubclassDataTable structure and reports
3 any generated data to smbios.
4 
5 Copyright (c) 2013-2015 Intel Corporation.
6 
7 This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution.  The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
11 
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 
15 
16 **/
17 
18 
19 #include "CommonHeader.h"
20 
21 #include "SmbiosMisc.h"
22 
23 
24 //
25 // Static (possibly build generated) Bios Vendor data.
26 //
27 MISC_SMBIOS_TABLE_DATA(EFI_MISC_ONBOARD_DEVICE, MiscOnboardDeviceVideo) = {
28   STRING_TOKEN(STR_MISC_ONBOARD_DEVICE_VIDEO),    // OnBoardDeviceDescription
29   {                                               // OnBoardDeviceStatus
30     EfiOnBoardDeviceTypeVideo,                    // DeviceType
31     1,                                            // DeviceEnabled
32     0                                             // Reserved
33   },
34   {0}                                               // OnBoardDevicePath
35 };
36 
37 MISC_SMBIOS_TABLE_DATA(EFI_MISC_ONBOARD_DEVICE, MiscOnboardDeviceNetwork) = {
38   STRING_TOKEN(STR_MISC_ONBOARD_DEVICE_NETWORK),  // OnBoardDeviceDescription
39   {                                               // OnBoardDeviceStatus
40     EfiOnBoardDeviceTypeEthernet,                 // DeviceType
41     1,                                            // DeviceEnabled
42     0                                             // Reserved
43   },
44   {0}                                               // OnBoardDevicePath
45 };
46 
47 MISC_SMBIOS_TABLE_DATA(EFI_MISC_ONBOARD_DEVICE, MiscOnboardDeviceAudio) = {
48   STRING_TOKEN(STR_MISC_ONBOARD_DEVICE_AUDIO),    // OnBoardDeviceDescription
49   {                                               // OnBoardDeviceStatus
50     EfiOnBoardDeviceTypeSound,                    // DeviceType
51     1,                                            // DeviceEnabled
52     0                                             // Reserved
53   },
54   DP_END                                          // OnBoardDevicePath
55 };
56