Thomas Decroyère
tdecroyere.bsky.social
Thomas Decroyère
@tdecroyere.bsky.social
Freelance software engineer.

Working on Elemental graphics library and Kanso (small micro kernel OS).

https://github.com/tdecroyere
4️⃣ It switches to U-mode to run user code.
5️⃣ System calls or hardware interrupts switch the kernel to S-mode and return to U-mode afterward.
July 3, 2025 at 3:03 PM
1️⃣ After CPU reset, U-Boot SPL runs in M-mode, brings up DRAM and loads OpenSBI.
2️⃣ OpenSBI completes early HW init, then drops to S-mode and jumps to the Kernel.
3️⃣ Kanso kernel (S-mode) will handle memory, scheduling & IPC.
July 3, 2025 at 3:03 PM