Crate kernel [] [src]

The Redox OS Kernel, version 2

The Redox OS Kernel is a hybrid kernel that supports X86_64 systems and provides Unix-like syscalls for primarily Rust applications

Modules

common

Shared data structures

context

Context management Context management

elf

ELF file parsing ELF executables

scheme

Schemes, filesystem handlers

sync

Synchronization primitives

syscall

Syscall handlers

Macros

int_like

Functions

cpu_count

Get the number of CPUs currently active

cpu_id

Get the current CPU's scheduling ID

kmain

This is the kernel entry point for the primary CPU. The arch crate is responsible for calling this

kmain_ap

This is the main kernel entry point for secondary CPUs

ksignal

Allow exception handlers to send signal to arch-independant kernel

userspace_init

Initialize userspace by running the initfs:bin/init process This function will also set the CWD to initfs:bin and open debug: as stdio