2 Head file for BDS Platform specific code
4 Copyright (c) 2013-2015 Intel Corporation.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 #include <Protocol/DevicePath.h>
21 #include <Library/DevicePathLib.h>
23 extern EFI_DEVICE_PATH_PROTOCOL
*gDeviceConnectOption
[];
25 #define PCI_DEVICE_PATH_NODE(Func, Dev) \
28 HARDWARE_DEVICE_PATH, \
31 (UINT8) (sizeof (PCI_DEVICE_PATH)), \
32 (UINT8) ((sizeof (PCI_DEVICE_PATH)) >> 8) \
39 #define PNPID_DEVICE_PATH_NODE(PnpId) \
45 (UINT8) (sizeof (ACPI_HID_DEVICE_PATH)), \
46 (UINT8) ((sizeof (ACPI_HID_DEVICE_PATH)) >> 8) \
49 EISA_PNP_ID((PnpId)), \
57 END_DEVICE_PATH_TYPE, \
58 END_ENTIRE_DEVICE_PATH_SUBTYPE, \
60 END_DEVICE_PATH_LENGTH, \
65 #define gPciRootBridge \
66 PNPID_DEVICE_PATH_NODE(0x0A03)
70 // Platform Root Bridge
73 ACPI_HID_DEVICE_PATH PciRootBridge
;
74 EFI_DEVICE_PATH_PROTOCOL End
;
75 } PLATFORM_ROOT_BRIDGE_DEVICE_PATH
;
79 ACPI_HID_DEVICE_PATH PciRootBridge
;
80 PCI_DEVICE_PATH IohDevice
;
81 EFI_DEVICE_PATH_PROTOCOL End
;
82 } IOH_PCI_USB_DEVICE_PATH
;