Skip to main content

Module limine

Module limine 

Source
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ยง

ResolvedModules ๐Ÿ”’

Constantsยง

MAX_BOOT_MEMORY_REGIONS ๐Ÿ”’

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.