From: John Hodge Date: Sat, 10 May 2014 07:42:59 +0000 (+0800) Subject: Kernel/PCI - (minor) Planned function to handle device mapping X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=7060556bb7bdd894a99662fcd0968a4f69f0b1cb;p=tpg%2Facess2.git Kernel/PCI - (minor) Planned function to handle device mapping --- diff --git a/KernelLand/Kernel/include/drv_pci.h b/KernelLand/Kernel/include/drv_pci.h index 1032814f..bdc8c850 100644 --- a/KernelLand/Kernel/include/drv_pci.h +++ b/KernelLand/Kernel/include/drv_pci.h @@ -82,5 +82,6 @@ extern Uint8 PCI_GetIRQ(tPCIDev id); extern Uint32 PCI_GetBAR(tPCIDev id, int BAR); extern Uint64 PCI_GetValidBAR(tPCIDev id, int BAR, tPCI_BARType BARType); //extern Uint16 PCI_AssignPort(tPCIDev id, int bar, int count); +//extern void* PCI_MapMemBAR(tPCIDev id, int BAR, tPCI_BARType BARType, size_t* Size, tPAddr* PAddr); #endif