1 #ifndef _IPXE_UACCESS_H 2 #define _IPXE_UACCESS_H 18 #define UACCESS_PREFIX_flat 20 #define UACCESS_PREFIX_flat __flat_ 30 #define UACCESS_INLINE( _subsys, _api_func ) \ 31 SINGLE_API_INLINE ( UACCESS_PREFIX_ ## _subsys, _api_func ) 40 #define PROVIDE_UACCESS( _subsys, _api_func, _func ) \ 41 PROVIDE_SINGLE_API ( UACCESS_PREFIX_ ## _subsys, _api_func, _func ) 49 #define PROVIDE_UACCESS_INLINE( _subsys, _api_func ) \ 50 PROVIDE_SINGLE_API_INLINE ( UACCESS_PREFIX_ ## _subsys, _api_func ) 54 return ( (
void * )
phys );
76 virt_to_phys ( volatile const
void *virt );
iPXE user access API for Linux
Virtual offset memory model.
static signed char phys[4]
A 16-bit general register.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define __always_inline
Declare a function to be always inline.
#define UACCESS_INLINE(_subsys, _api_func)
Calculate static inline user access API function name.
physaddr_t __attribute__((const)) virt_to_phys(volatile const void *virt)
Convert virtual address to a physical address.
Dummy architecture-specific user access API implementations.