Crate kernel

Source
Expand description

This is the default kernel of the osiris operating system. The kernel is organized as a microkernel.

Modules§

faults
macros
Macros for kernel development.
mem
This module provides access to the global memory allocator.
print
sched
This module provides access to the scheduler.
services
This module initializes and manages the microkernel services.
sync
syscalls
This module provides access to all the syscalls.
time
uspace
This module provides access to userspace structures and services.
utils
Utility functions and definitions for the kernel.

Macros§

BUG
This is a macro that is used to panic when a bug is detected. It is similar to the BUG() macro in the Linux kernel. Link: https://www.kernel.org/
BUG_ON
This is a macro that is used to panic when a condition is true. It is similar to the BUG_ON() macro in the Linux kernel. Link: https://www.kernel.org/
DECLARE_TASK
Declare a task with the given memory size, stack size, and name.
args_from_raw
Creates a slice from the raw arguments.
kprint
kprintln

Structs§

BootInfo
The boot information structure.
MemMapEntry
The memory map entry type.

Functions§

kernel_init
The kernel initialization function.