]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscDevicePath.h
QuarkPlatformPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / QuarkPlatformPkg / Platform / Dxe / SmbiosMiscDxe / MiscDevicePath.h
1 /** @file
2 Misc class required EFI Device Path definitions (Ports, slots &
3 onboard devices)
4
5 Copyright (c) 2013-2015 Intel Corporation.
6
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9
10 **/
11
12 #ifndef _MISC_DEVICE_PATH_H
13 #define _MISC_DEVICE_PATH_H
14
15 #pragma pack(1)
16
17 //USB
18 /* For reference:
19 #define USB1_1_STR "ACPI(PNP0A03,0)/PCI(1D,0)."
20 #define USB1_2_STR "ACPI(PNP0A03,0)/PCI(1D,1)."
21 #define USB1_3_STR "ACPI(PNP0A03,0)/PCI(1D,2)."
22 #define USB2_1_STR "ACPI(PNP0A03,0)/PCI(1D,7)."
23 */
24
25 #define DP_ACPI { ACPI_DEVICE_PATH,\
26 ACPI_DP, (UINT8) (sizeof (ACPI_HID_DEVICE_PATH)),\
27 (UINT8) ((sizeof (ACPI_HID_DEVICE_PATH)) >> 8), EISA_PNP_ID(0x0A03), 0 }
28 #define DP_PCI( device,function) { HARDWARE_DEVICE_PATH,\
29 HW_PCI_DP, (UINT8) (sizeof (PCI_DEVICE_PATH)),\
30 (UINT8) ((sizeof (PCI_DEVICE_PATH)) >> 8), function, device }
31 #define DP_END { END_DEVICE_PATH_TYPE, \
32 END_ENTIRE_DEVICE_PATH_SUBTYPE, {END_DEVICE_PATH_LENGTH, 0 }}
33
34 #define DP_LPC(eisaid,function ){ ACPI_DEVICE_PATH, \
35 ACPI_DP,(UINT8) (sizeof (ACPI_HID_DEVICE_PATH)),\
36 (UINT8) ((sizeof (ACPI_HID_DEVICE_PATH)) >> 8),EISA_PNP_ID(eisaid), function }
37
38
39 #pragma pack()
40
41
42 #endif