Available on crate feature
uspace only.Expand description
User execution and nofault memory access.
Structs§
- Exception
Info - Information about an exception that occurred in user space.
- Exception
Syndrome - Architecture-neutral syndrome fields for user-space exceptions.
- User
Context - Context to enter user space.
Enums§
- Exception
Kind - A generalized kind for
ExceptionInfo. - Return
Reason - A reason as to why the control of the CPU is returned from the user space to the kernel.
- User
Access Error - Failure returned by a nofault user read.
- User
Access Type - Direction of an architecture-level user-memory access check.
- User
Atomic Error - Failure returned by a nofault user atomic operation.
- User
Atomic U32Op - Atomic operation supported by
user_atomic_u32.
Traits§
- NoUninit
- Marker trait for “plain old data” types with no uninit (or padding) bytes.
Functions§
- user_
access_ ⚠ok_ page - Lock-free EL0/user access probe. No hardware address-translation probe is wired up on this architecture yet, so always report a present-page probe miss and let the caller take the locked slow path (correctness preserved).
- user_
atomic_ ⚠u32 - Atomically updates one aligned user-space word without resolving faults.
- user_
cmpxchg_ ⚠u32 - Compares and conditionally replaces one aligned user word without faulting in pages.
- user_
copy ⚠ - Copies data from source to destination, where addresses may be in user space. Equivalent to memcpy.
- user_
read_ ⚠u32 - Reads one aligned user-space word without resolving faults.