Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ ptr_from_address
Function
ptr_from_address
src/sys/proc.rs:362–365 ·
view source on GitHub ↗
Pointer from address
(address: u64)
Source
from the content-addressed store, hash-verified
360
361
// Pointer from address
362
pub fn ptr_from_address(address: u64) -> *mut u8
363
{
364
(ca() + address) as *mut u8
365
}
366
367
368
// Registers
Callers
1
dispatch
Function · 0.85
Calls
1
ca
Function · 0.85
Tested by
no test coverage detected