Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ruddle/Fomos
/ init
Method
init
bootloader/kernel/src/allocator.rs:16–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
}
15
impl AllocFromCtx {
16
pub fn init() -> Self {
17
Self {
18
a: a_init,
19
d: d_init,
20
}
21
}
22
pub fn new(
23
a: extern
"C"
fn(alloc::alloc::Layout) -> *mut u8,
24
d: extern
"C"
fn(*mut u8, alloc::alloc::Layout),
Callers
1
init_heap
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected