Expand description
Limine boot-protocol entry point Limine Boot Protocol entry point
This module handles the kernel entry from the Limine bootloader. Limine loads us directly in 64-bit long mode with paging enabled.
Structsยง
- Resolved
Modules ๐
Constantsยง
Staticsยง
- BASE_
REVISION ๐ - Sets the base revision to the latest revision supported by the crate.
- BOOT_
MEMORY_ ๐MAP - BOOT_
MEMORY_ ๐MAP_ LEN - CONSOLE_
ADMIN_ ๐ELF_ MODULE - Optional console-admin module info (set during Limine entry).
- CONSOLE_
ADMIN_ ๐MODULE - Internal module: request Limine to load /initfs/console-admin (admin silo strate)
- DHCP_
CLIENT_ ๐ELF_ MODULE - Optional dhcp-client module info (set during Limine entry).
- DHCP_
CLIENT_ ๐MODULE - Internal module: request Limine to load /initfs/bin/dhcp-client (DHCP monitor)
- EXECUTABLE_
ADDRESS ๐ - Request the kernel address
- EXECUTABLE_
FILE ๐ - Request the kernel file
- EXEC_
CMDLINE ๐ - Request the kernel command line
- EXT4_
MODULE ๐ - Internal module: request Limine to load /initfs/fs-ext4 (userspace EXT4 server)
- FRAMEBUFFER ๐
- Request the framebuffer (VGA/graphics)
- FS_
EXT4_ ๐MODULE - Optional fs-ext4 module info (set during Limine entry).
- HELLO_
WASM_ ๐FILE_ MODULE - Optional hello.wasm module info (set during Limine entry).
- HELLO_
WASM_ ๐MODULE - Internal module: request Limine to load /initfs/bin/hello.wasm (WASM hello test)
- HHDM ๐
- Request the HHDM (Higher Half Direct Map)
- INIT_
ELF_ ๐MODULE - Optional init module info (set during Limine entry).
- INIT_
MODULE ๐ - Internal module: request Limine to load /initfs/init (init process)
- MEMORY_
MAP ๐ - Request the memory map
- MODULES ๐
- Request modules (files loaded alongside the kernel)
- PING_
ELF_ ๐MODULE - Optional ping module info (set during Limine entry).
- PING_
MODULE ๐ - Internal module: request Limine to load /initfs/bin/ping (ICMP utility)
- RAM_
MODULE ๐ - Internal module: request Limine to load /initfs/strate-fs-ramfs (userspace RAMFS server)
- RSDP ๐
- Request RSDP (ACPI)
- STACK_
SIZE ๐ - Request the stack size
- STRATE_
BUS_ ๐ELF_ MODULE - Optional strate-bus module info (set during Limine entry).
- STRATE_
BUS_ ๐MODULE - Internal module: request Limine to load /initfs/strate-bus (bus silo)
- STRATE_
FS_ ๐RAMFS_ MODULE - Optional strate-fs-ramfs module info (set during Limine entry).
- STRATE_
NET_ ๐ELF_ MODULE - Optional strate-net module info (set during Limine entry).
- STRATE_
NET_ ๐MODULE - Internal module: request Limine to load /initfs/strate-net (network silo)
- STRATE_
WASM_ ๐ELF_ MODULE - Optional strate-wasm module info (set during Limine entry).
- STRATE_
WASM_ ๐MODULE - Internal module: request Limine to load /initfs/strate-wasm (WASM runtime)
- STRATE_
WEBRTC_ ๐ELF_ MODULE - Optional strate-webrtc module info (set during Limine entry).
- STRATE_
WEBRTC_ ๐MODULE - Internal module: request Limine to load /initfs/strate-webrtc (WebRTC-native graphics runtime)
- TELNETD_
ELF_ ๐MODULE - Optional telnetd module info (set during Limine entry).
- TELNETD_
MODULE ๐ - Internal module: request Limine to load /initfs/bin/telnetd (Telnet server utility)
- TEST_
EXEC_ ๐ELF_ MODULE - Optional test_exec module info (set during Limine entry).
- TEST_
EXEC_ ๐HELPER_ ELF_ MODULE - Optional test_exec_helper module info (set during Limine entry).
- TEST_
EXEC_ ๐HELPER_ MODULE - Internal module: request Limine to load /initfs/test_exec_helper (userspace exec post-exec verifier)
- TEST_
EXEC_ ๐MODULE - Internal module: request Limine to load /initfs/test_exec (userspace exec regression test)
- TEST_
MEM_ ๐ELF_ MODULE - Optional test_mem module info (set during Limine entry).
- TEST_
MEM_ ๐MODULE - Internal module: request Limine to load /initfs/test_mem (userspace memory test binary)
- TEST_
MEM_ ๐REGION_ ELF_ MODULE - Optional test_mem_region module info (set during Limine entry).
- TEST_
MEM_ ๐REGION_ MODULE - Internal module: request Limine to load /initfs/test_mem_region (userspace public MemoryRegion test)
- TEST_
MEM_ ๐REGION_ PROC_ ELF_ MODULE - Optional test_mem_region_proc module info (set during Limine entry).
- TEST_
MEM_ ๐REGION_ PROC_ MODULE - Internal module: request Limine to load /initfs/test_mem_region_proc (userspace multi-process MemoryRegion test)
- TEST_
MEM_ ๐STRESSED_ ELF_ MODULE - Optional test_mem_stressed module info (set during Limine entry).
- TEST_
MEM_ ๐STRESSED_ MODULE - Internal module: request Limine to load /initfs/test_mem_stressed (userspace stressed memory test)
- TEST_
PID_ ๐MODULE - Internal module: request Limine to load /initfs/test_pid (first userspace PID test binary)
- TEST_
SYSCALLS_ ๐ELF_ MODULE - Optional test_syscalls module info (set during Limine entry).
- TEST_
SYSCALLS_ ๐MODULE - Internal module: request Limine to load /initfs/test_syscalls (verbose syscall test binary)
- UDP_
TOOL_ ๐ELF_ MODULE - Optional udp-tool module info (set during Limine entry).
- UDP_
TOOL_ ๐MODULE - Internal module: request Limine to load /initfs/bin/udp-tool (UDP scheme utility)
- WASM_
TEST_ ๐TOML_ FILE_ MODULE - Optional wasm-test.toml module info (set during Limine entry).
- WASM_
TEST_ ๐TOML_ MODULE - Internal module: request Limine to load /initfs/wasm-test.toml (WASM test config)
- WEB_
ADMIN_ ๐ELF_ MODULE - Optional web-admin module info (set during Limine entry).
- WEB_
ADMIN_ ๐MODULE - Internal module: request Limine to load /initfs/bin/web-admin (web admin utility)
- _END_
MARKER ๐ - _START_
MARKER ๐ - Define the start and end markers for Limine requests
Functionsยง
- console_
admin_ module - Return the console-admin module (addr, size) if present.
- dhcp_
client_ module - Return the dhcp-client module (addr, size) if present.
- fs_
ext4_ module - Return the fs-ext4 module (addr, size) if present.
- hello_
wasm_ module - Return the hello.wasm module (addr, size) if present.
- hlt_
loop ๐ - Halt the CPU
- init_
module - Return the init module (addr, size) if present.
- kmainโ
- Kernel entry point called by Limine
- map_
limine_ ๐region_ kind - Maps limine region kind.
- module_
addr_ ๐to_ phys - Performs the module addr to phys operation.
- path_
matches ๐ - Performs the path matches operation.
- ping_
module - Return the ping module (addr, size) if present.
- resolve_
modules_ ๐once - Performs the resolve modules once operation.
- strate_
bus_ module - Return the strate-bus module (addr, size) if present.
- strate_
fs_ ramfs_ module - Return the strate-fs-ramfs module (addr, size) if present.
- strate_
net_ module - Return the strate-net module (addr, size) if present.
- strate_
wasm_ module - Return the strate-wasm module (addr, size) if present.
- strate_
webrtc_ module - Return the strate-webrtc module (addr, size) if present.
- telnetd_
module - Return the telnetd module (addr, size) if present.
- test_
exec_ helper_ module - Return the test_exec_helper module (addr, size) if present.
- test_
exec_ module - Return the test_exec module (addr, size) if present.
- test_
mem_ module - Return the test_mem module (addr, size) if present.
- test_
mem_ region_ module - Return the test_mem_region module (addr, size) if present.
- test_
mem_ region_ proc_ module - Return the test_mem_region_proc module (addr, size) if present.
- test_
mem_ stressed_ module - Return the test_mem_stressed module (addr, size) if present.
- test_
syscalls_ module - Return the test_syscalls module (addr, size) if present.
- udp_
tool_ module - Return the udp-tool module (addr, size) if present.
- wasm_
test_ toml_ module - Return the wasm-test.toml module (addr, size) if present.
- web_
admin_ module - Return the web-admin module (addr, size) if present.