Kernel/PCI - (minor) Planned function to handle device mapping
authorJohn Hodge <[email protected]>
Sat, 10 May 2014 07:42:59 +0000 (15:42 +0800)
committerJohn Hodge <[email protected]>
Sat, 10 May 2014 07:42:59 +0000 (15:42 +0800)
KernelLand/Kernel/include/drv_pci.h

index 1032814..bdc8c85 100644 (file)
@@ -82,5 +82,6 @@ extern Uint8  PCI_GetIRQ(tPCIDev id);
 extern Uint32  PCI_GetBAR(tPCIDev id, int BAR);\r
 extern Uint64  PCI_GetValidBAR(tPCIDev id, int BAR, tPCI_BARType BARType);\r
 //extern Uint16        PCI_AssignPort(tPCIDev id, int bar, int count);\r
+//extern void* PCI_MapMemBAR(tPCIDev id, int BAR, tPCI_BARType BARType, size_t* Size, tPAddr* PAddr);\r
 \r
 #endif\r

UCC git Repository :: git.ucc.asn.au