Module alloc

Module alloc 

Source
Expand description

This module implements a high-level userspace allocator which internally uses the [crate::syscalls::syssbrk] syscall to allocate memory

Structs§

GlobalSystemAllocator
SystemAllocator

Statics§

GLOBAL_SYSTEM_ALLOCATOR
A high-level userspace allocator that internally uses the [crate::syscalls::syssbrk] syscall (rust wrapper)

Functions§

syscreate
Allocates an object sized object_size using GLOBAL_SYSTEM_ALLOCATOR
sysdestroy
Deallocates an object sized object_size using GLOBAL_SYSTEM_ALLOCATOR