Access to external ("user") memory.
More...
Go to the source code of this file.
Access to external ("user") memory.
Definition in file uaccess.h.
◆ UACCESS_PREFIX_flat
| #define UACCESS_PREFIX_flat __flat_ |
◆ UACCESS_INLINE
| #define UACCESS_INLINE |
( |
| _subsys, |
|
|
| _api_func ) |
Value:
#define SINGLE_API_INLINE(_prefix, _api_func)
Calculate static inline function name.
Calculate static inline user access API function name.
- Parameters
-
| _prefix | Subsystem prefix |
| _api_func | API function |
- Return values
-
| _subsys_func | Subsystem API function |
Definition at line 31 of file uaccess.h.
31#define UACCESS_INLINE( _subsys, _api_func ) \
32 SINGLE_API_INLINE ( UACCESS_PREFIX_ ## _subsys, _api_func )
◆ PROVIDE_UACCESS
| #define PROVIDE_UACCESS |
( |
| _subsys, |
|
|
| _api_func, |
|
|
| _func ) |
Value:
#define PROVIDE_SINGLE_API(_prefix, _api_func, _func)
Provide an API implementation.
Provide an user access API implementation.
- Parameters
-
| _prefix | Subsystem prefix |
| _api_func | API function |
| _func | Implementing function |
Definition at line 41 of file uaccess.h.
41#define PROVIDE_UACCESS( _subsys, _api_func, _func ) \
42 PROVIDE_SINGLE_API ( UACCESS_PREFIX_ ## _subsys, _api_func, _func )
◆ PROVIDE_UACCESS_INLINE
| #define PROVIDE_UACCESS_INLINE |
( |
| _subsys, |
|
|
| _api_func ) |
Value:
#define PROVIDE_SINGLE_API_INLINE(_prefix, _api_func)
Provide a static inline API implementation.
Provide a static inline user access API implementation.
- Parameters
-
| _prefix | Subsystem prefix |
| _api_func | API function |
Definition at line 50 of file uaccess.h.
50#define PROVIDE_UACCESS_INLINE( _subsys, _api_func ) \
51 PROVIDE_SINGLE_API_INLINE ( UACCESS_PREFIX_ ## _subsys, _api_func )
◆ FILE_LICENCE()
| FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL | | ) |
|
◆ FILE_SECBOOT()
| FILE_SECBOOT |
( |
PERMITTED | | ) |
|
◆ UACCESS_INLINE() [1/2]
Definition at line 54 of file uaccess.h.
54 {
55 return ( (
void * )
phys );
56}
static signed char phys[4]
References phys.
◆ UACCESS_INLINE() [2/2]
◆ __attribute__()
| physaddr_t __attribute__ |
( |
(const) | | ) |
const volatile |
Convert virtual address to a physical address.
Convert physical address to a virtual address.
- Parameters
-
- Return values
-
- Parameters
-
- Return values
-
This operation is not available under all memory models.
References __attribute__, and phys.