Expand description
Rust version of the StuBS Kernel
The assignments are documented in the assignments module.
Modules§
- arch 🔒Hardware- and architecture-dependent abstractions.
- device 🔒Input and output devices
- gdt 🔒This module defines the GDT and its segments.
- Configures the interrupt handling.
- The Multithreading Subsystem
- user 🔒The application code.
- util 🔒Utilities like useful data structures and locks
Constants§
- MAX_CPUS 🔒
- The stack size for the init and thread stacks. As rust uses the stack for printing, 4K usually isn’t enough…
Statics§
- Stacks for each core, used for initialization (set before calling kmain).
- Start address of the loaded kernel code.
- End address of the loaded kernel code.
- Pointer to the multiboot header.
- Signature of the multiboot header.
- Function pointer to the start_high function.
Functions§
- Main function that is called for every core
- panic 🔒This function is called on panic.