3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 #ifndef PCI_PLATFORM_H_
22 #define PCI_PLATFORM_H_
31 #include <Protocol/PciPlatform.h>
33 #define IGD_DID_II 0x0BE1
34 #define IGD_DID_0BE4 0x0BE4
35 #define IGD_DID_VLV_A0 0x0F31
36 #define OPROM_DID_OFFSET 0x46
47 } PCI_OPTION_ROM_TABLE
;
52 IN EFI_PCI_PLATFORM_PROTOCOL
*This
,
53 IN EFI_HANDLE HostBridge
,
54 IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PHASE Phase
,
55 IN EFI_PCI_CHIPSET_EXECUTION_PHASE ChipsetPhase
61 PlatformPrepController (
62 IN EFI_PCI_PLATFORM_PROTOCOL
*This
,
63 IN EFI_HANDLE HostBridge
,
64 IN EFI_HANDLE RootBridge
,
65 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress
,
66 IN EFI_PCI_CONTROLLER_RESOURCE_ALLOCATION_PHASE Phase
,
67 IN EFI_PCI_CHIPSET_EXECUTION_PHASE ChipsetPhase
73 IN CONST EFI_PCI_PLATFORM_PROTOCOL
*This
,
74 OUT EFI_PCI_PLATFORM_POLICY
*PciPolicy
80 IN CONST EFI_PCI_PLATFORM_PROTOCOL
*This
,
81 IN EFI_HANDLE PciHandle
,