diff options
author | Michael Brown <mcb30@ipxe.org> | 2020-09-24 16:58:14 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2020-09-24 21:45:56 +0100 |
commit | 371af4eef2dfa1facf6645a5704d8a55ff45c965 (patch) | |
tree | 9026c2cde9011a04cc1c8b5857cbeaa5f9c6b79f /src/interface/efi | |
parent | ccfffc797ae67621700f0ccb7b41050214c87b2d (diff) | |
download | ipxe-371af4eef2dfa1facf6645a5704d8a55ff45c965.tar.gz |
[pci] Define pci_ioremap() for mapping PCI bus addresses
Define pci_ioremap() as a wrapper around ioremap() that could allow
for a non-zero address translation offset.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi')
-rw-r--r-- | src/interface/efi/efi_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/efi/efi_pci.c b/src/interface/efi/efi_pci.c index a298f2407..6a929090c 100644 --- a/src/interface/efi/efi_pci.c +++ b/src/interface/efi/efi_pci.c @@ -231,6 +231,7 @@ PROVIDE_PCIAPI_INLINE ( efi, pci_read_config_dword ); PROVIDE_PCIAPI_INLINE ( efi, pci_write_config_byte ); PROVIDE_PCIAPI_INLINE ( efi, pci_write_config_word ); PROVIDE_PCIAPI_INLINE ( efi, pci_write_config_dword ); +PROVIDE_PCIAPI_INLINE ( efi, pci_ioremap ); /****************************************************************************** * |