TianoCore EDK2 master
Loading...
Searching...
No Matches
PciHostResource.h
Go to the documentation of this file.
1
10#ifndef _PCI_HOST_RESOURCE_H_
11#define _PCI_HOST_RESOURCE_H_
12
13#include <PiDxe.h>
14
15#define PCI_RESOURCE_LESS 0xFFFFFFFFFFFFFFFEULL
16
17typedef enum {
18 TypeIo = 0,
19 TypeMem32,
20 TypePMem32,
21 TypeMem64,
22 TypePMem64,
23 TypeBus,
24 TypeMax
25} PCI_RESOURCE_TYPE;
26
27typedef enum {
28 ResNone,
29 ResSubmitted,
30 ResAllocated,
31 ResStatusMax
32} RES_STATUS;
33
34typedef struct {
35 PCI_RESOURCE_TYPE Type;
36 //
37 // Base is a host address
38 //
39 UINT64 Base;
40 UINT64 Length;
41 UINT64 Alignment;
42 RES_STATUS Status;
44
45#endif