aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAvik Sil <aviksil@linux.vnet.ibm.com>2013-09-23 14:07:35 +0530
committerNikunj A Dadhania <nikunj@linux.vnet.ibm.com>2013-10-04 11:58:51 +0530
commit89dee020cfc6101125c5f558e6e1e844f5cef129 (patch)
tree2e1caab96233c605d95b9fadb805c610dedff923 /include
parent43ba6e5c7faa2bf7ca202279ebbd4be3575bdf0a (diff)
downloadSLOF-89dee020cfc6101125c5f558e6e1e844f5cef129.zip
SLOF-89dee020cfc6101125c5f558e6e1e844f5cef129.tar.gz
SLOF-89dee020cfc6101125c5f558e6e1e844f5cef129.tar.bz2
Add SLOF pci wrapper functions
Signed-off-by: Avik Sil <aviksil@linux.vnet.ibm.com> Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/helpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/helpers.h b/include/helpers.h
index 1a1f6e5..e37f916 100644
--- a/include/helpers.h
+++ b/include/helpers.h
@@ -27,5 +27,10 @@ extern void *SLOF_alloc_mem_aligned(long align, long size);
extern void SLOF_free_mem(void *addr, long size);
extern long SLOF_dma_map_in(void *virt, long size, int cacheable);
extern void SLOF_dma_map_out(long phys, void *virt, long size);
+extern long SLOF_pci_config_read32(long offset);
+extern long SLOF_pci_config_read16(long offset);
+extern void SLOF_pci_config_write32(long offset, long value);
+extern void SLOF_pci_config_write16(long offset, long value);
+extern void *SLOF_translate_my_address(void *addr);
#endif