Theseus is a modern OS written from scratch in Rust that explores 𝐢𝐧𝐭𝐫𝐚𝐥𝐢𝐧𝐠𝐮𝐚𝐥 𝐝𝐞𝐬𝐢𝐠𝐧: closing the semantic gap between compiler and hardware by maximally leveraging the power of language safety and affine types. Theseus aims to shift OS responsibilities like resource management into the compiler.
Only works for CPU-locals under 8 bytes, which happens to be all we need. This implementation doesn't need to disable preemption.
Depends on #1012.
Almost ready, just needs some cleanup (renaming stuff, docs, safety comments, etc.).
Future PRs:
.cls
sectionper_cpu
andcpu_local