MCPcopy Create free account
hub / github.com/Ruddle/Fomos / AllocFromCtx

Class AllocFromCtx

bootloader/kernel/src/allocator.rs:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10#[repr(C)]
11pub struct AllocFromCtx {
12 a: extern "C" fn(alloc::alloc::Layout) -> *mut u8,
13 d: extern "C" fn(*mut u8, alloc::alloc::Layout),
14}
15impl AllocFromCtx {
16 pub fn init() -> Self {
17 Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected