From 7060556bb7bdd894a99662fcd0968a4f69f0b1cb Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 10 May 2014 15:42:59 +0800 Subject: [PATCH] Kernel/PCI - (minor) Planned function to handle device mapping --- KernelLand/Kernel/include/drv_pci.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1