]> git.proxmox.com Git - mirror_edk2.git/blame - Nt32Pkg/MiscSubClassPlatformDxe/MiscPortInternalConnectorDesignatorData.c
Fix GUID dereference
[mirror_edk2.git] / Nt32Pkg / MiscSubClassPlatformDxe / MiscPortInternalConnectorDesignatorData.c
CommitLineData
6ae81428 1/**@file\r
8879d432 2\r
8f2a5f80
HT
3Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
8879d432 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 MiscPortInternalConnectorDesignatorData.c\r
15 \r
16Abstract: \r
17\r
18 This driver parses the mMiscSubclassDataTable structure and reports\r
19 any generated data to the DataHub.\r
20\r
6ae81428 21**/\r
8879d432 22\r
8879d432 23#include "MiscSubclassDriver.h"\r
24\r
25//\r
26// Static (possibly build generated) Bios Vendor data.\r
27//\r
1fdd39d3 28MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortInternalConnectorDesignator) = {\r
8879d432 29 STRING_TOKEN(STR_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR), // PortInternalConnectorDesignator\r
30 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_CONNECTOR_DESIGNATOR), // PortExternalConnectorDesignator\r
31 EfiPortConnectorTypeOther, // PortInternalConnectorType\r
32 EfiPortConnectorTypeOther, // PortExternalConnectorType\r
33 EfiPortTypeNone, // PortType\r
34 0 // PortPath\r
35};\r
36\r
37//\r
38// Static (possibly build generated) Bios Vendor data.\r
39//\r
1fdd39d3 40MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortKeyboard) = {\r
8879d432 41 STRING_TOKEN (STR_MISC_PORT_INTERNAL_KEYBOARD), // PortInternalConnectorDesignator\r
42 STRING_TOKEN (STR_MISC_PORT_EXTERNAL_KEYBOARD), // PortExternalConnectorDesignator\r
43 EfiPortConnectorTypeNone, // PortInternalConnectorType\r
44 EfiPortConnectorTypePS2, // PortExternalConnectorType\r
45 EfiPortTypeKeyboard, // PortType\r
46 // mPs2KbyboardDevicePath // PortPath\r
47 //\r
48 0\r
49};\r
50\r
1fdd39d3 51MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortMouse) = {\r
8879d432 52 STRING_TOKEN (STR_MISC_PORT_INTERNAL_MOUSE), // PortInternalConnectorDesignator\r
53 STRING_TOKEN (STR_MISC_PORT_EXTERNAL_MOUSE), // PortExternalConnectorDesignator\r
54 EfiPortConnectorTypeNone, // PortInternalConnectorType\r
55 EfiPortConnectorTypePS2, // PortExternalConnectorType\r
56 EfiPortTypeMouse, // PortType\r
57 // mPs2MouseDevicePath // PortPath\r
58 //\r
59 0\r
60};\r
61\r
62\r
1fdd39d3 63MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortCom1) = {\r
8879d432 64 STRING_TOKEN(STR_MISC_PORT_INTERNAL_COM1),\r
65 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_COM1),\r
66 EfiPortConnectorTypeNone,\r
67 EfiPortConnectorTypeDB9Female,\r
68 EfiPortTypeSerial16550ACompatible,\r
69 0\r
70};\r
71\r
1fdd39d3 72MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortCom2) = {\r
8879d432 73 STRING_TOKEN(STR_MISC_PORT_INTERNAL_COM2),\r
74 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_COM2),\r
75 EfiPortConnectorTypeNone,\r
76 EfiPortConnectorTypeDB9Female,\r
77 EfiPortTypeSerial16550ACompatible,\r
78 0\r
79};\r
80\r
1fdd39d3 81MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortExtensionPower) = {\r
8879d432 82 STRING_TOKEN(STR_MISC_PORT_INTERNAL_EXTENSION_POWER),\r
83 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_EXTENSION_POWER),\r
84 EfiPortConnectorTypeOther,\r
85 EfiPortConnectorTypeNone,\r
86 EfiPortTypeOther,\r
87 0\r
88};\r
89\r
1fdd39d3 90MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortFloppy) = {\r
8879d432 91 STRING_TOKEN(STR_MISC_PORT_INTERNAL_FLOPPY),\r
92 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_FLOPPY),\r
93 EfiPortConnectorTypeOnboardFloppy,\r
94 EfiPortConnectorTypeNone,\r
95 EfiPortTypeOther,\r
96 0\r
97};\r
98\r
99/* eof - MiscPortInternalConnectorDesignatorData.c */\r