refactor(adapter-riscv): replace hardcoded demo with proper init launch via ELF parsing

Adapter now: parses init binary (ELF or raw), allocates pages, creates
user page table, sets thread entry point in SavedContext, enters U-mode.
Init takes over from there — no more IPC demo hardcoded in the adapter.
This commit is contained in:
2026-10-18 04:13:13 +02:00
parent 41f7e7db10
commit a910c06cf7
2 changed files with 116 additions and 39 deletions

View File

@@ -11,6 +11,7 @@ bench = false
[dependencies]
types = { workspace = true }
domain = { workspace = true }
elf = { workspace = true }
platform = { workspace = true }
kernel = { workspace = true }