1#ifndef _IPXE_IOMAP_VIRT_H
2#define _IPXE_IOMAP_VIRT_H
17#define IOMAP_PREFIX_virt
19#define IOMAP_PREFIX_virt __virt_
34 return virt_to_phys ( io_addr );
#define NULL
NULL pointer (VOID *)
#define __always_inline
Declare a function to be always inline.
#define __unused
Declare a variable or data structure as unused.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
#define IOMAP_INLINE(_subsys, _api_func)
Calculate static inline I/O mapping API function name.
unsigned long io_to_bus(volatile const void *io_addr)
Convert I/O address to bus address (for debug only)
void * ioremap(unsigned long bus_addr, size_t len)
Map bus address as an I/O address.
void iounmap(volatile const void *io_addr)
Unmap I/O address.
Access to external ("user") memory.
static __always_inline void unsigned long bus_addr