1 /** @file 2 3 The Header file of the Pci Host Bridge Driver. 4 5 Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.<BR> 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 10 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. 13 14 **/ 15 #ifndef _PCI_HOST_RESOURCE_H_ 16 #define _PCI_HOST_RESOURCE_H_ 17 18 #include <PiDxe.h> 19 20 #define PCI_RESOURCE_LESS 0xFFFFFFFFFFFFFFFEULL 21 22 typedef enum { 23 TypeIo = 0, 24 TypeMem32, 25 TypePMem32, 26 TypeMem64, 27 TypePMem64, 28 TypeBus, 29 TypeMax 30 } PCI_RESOURCE_TYPE; 31 32 typedef enum { 33 ResNone, 34 ResSubmitted, 35 ResAllocated, 36 ResStatusMax 37 } RES_STATUS; 38 39 typedef struct { 40 PCI_RESOURCE_TYPE Type; 41 UINT64 Base; 42 UINT64 Length; 43 UINT64 Alignment; 44 RES_STATUS Status; 45 } PCI_RES_NODE; 46 47 #endif 48