Skip to main content

Crate osiris

Crate osiris 

Source
Expand description

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

Modulesยง

drivers
error ๐Ÿ”’
Utility functions and definitions for the kernel.
faults ๐Ÿ”’
idle ๐Ÿ”’
irq ๐Ÿ”’
mem ๐Ÿ”’
This module provides access to the global memory allocator.
native
print ๐Ÿ”’
sched ๐Ÿ”’
This module provides access to the scheduler.
sync ๐Ÿ”’
syscalls ๐Ÿ”’
This module provides access to all the syscalls.
time ๐Ÿ”’
types ๐Ÿ”’
uapi
uspace ๐Ÿ”’
This module provides access to userspace structures and services.

Macrosยง

__macro_delay
__macro_fault_do_not_use_under_any_circumstances
__macro_nop
__macro_startup_trampoline
__macro_syscall
Macro for doing a system call.
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/
kprint
kprint_cont
kprintln
warn

Enumsยง

PosixError
POSIX / Linux errno values 1โ€“133.

Traitsยง

Machinelike

Functionsยง

err_or_else
kernel_initโš 
The kernel initialization function.
ok_or_err
panic

Type Aliasesยง

Result

Attribute Macrosยง

app_main