Iros
 
Loading...
Searching...
No Matches
userspace_access.h File Reference

Go to the source code of this file.

Namespaces

namespace  iris
 

Functions

auto iris::copy_to_user (di::Span< byte const > kernel_data, byte *userspace_ptr) -> Expected< void >
 
auto iris::copy_from_user (di::Span< byte const > userspace_data, byte *kernel_ptr) -> Expected< void >
 
auto iris::validate_user_region (mm::VirtualAddress userspace_address, usize count, usize size) -> Expected< void >
 
template<di::concepts::Invocable F>
auto iris::with_userspace_access (F &&function) -> decltype(auto)