5 #include <drv_pci_int.h>
8 //#define PCI_BASE 0x60000000
10 //#define PCI_BASE 0xF0400000 // VMM Mapping
14 void PCI_CfgWriteDWord(Uint32 Addr, Uint32 Data)
17 Uint32 address = PCI_BASE | Addr;
18 *(Uint32*)(address) = Data;
23 Uint32 PCI_CfgReadDWord(Uint32 Addr)
26 Uint32 address = PCI_BASE | Addr;
27 return *(Uint32*)address;