⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module layout

Module layout 

Source
Expand description

Memory layout constants for user processes

Constants§

CODE_START
Default code segment start
DATA_START
Default data segment start
DEFAULT_STACK_SIZE
Default stack size (8MB)
HEAP_START
Default heap start
MAX_HEAP_SIZE
Maximum heap size (8GB) – supports rustc self-compilation (4-8GB peak)
STACK_END
Stack end address (grows down from here)
USER_SPACE_END
User space end
USER_SPACE_START
User space start