This commit is contained in:
xyou
2026-07-28 14:35:14 +08:00
parent 17a577f2ed
commit 537890df9e
44 changed files with 4903 additions and 404 deletions
+14 -2
View File
@@ -43,8 +43,20 @@ verbose: yes
module_path: boot():/driver/test.fat32
module_cmdline: dkm:test_fat32
# Linux 6.6 LTS guest kernel (for UTSM+Linux dual-kernel architecture)
# Uncomment after building Linux via CODE/linux/build.sh
# Linux 6.6 LTS guest kernel (UTSM+Linux dual-kernel Linux compat layer)
# Uncomment after building Linux via CODE/linux/build.sh (requires WSL/Linux).
#
# Boot flow with these modules:
# 1. Limine loads utsm.elf + all .drv modules + bzImage + initrd
# 2. UTSM boots, init VMM/EPT, self-test
# 3. UTSM linux_loader_init() finds bzImage module, parses + maps guest
# 4. UTSM ipc_shm_init() allocates 1MB IPC shared memory (EPT-mapped)
# 5. UTSM linux_launch() → vmlaunch → Linux boots → init starts daemon
# 6. Daemon sends EXEC_READY, then ioctl(PARK) → HLT → VM-Exit → park
# 7. UTSM linux_compat_init() marks Linux compat layer ready
# 8. UTSM loads DSK (deshab.elf) → shell.elf → `linux <prog>` command
# invokes linux_compat_service->exec() → vmresume → daemon runs prog
#
# module_path: boot():/boot/linux-bzImage
# module_cmdline: linux:bzImage
# module_path: boot():/boot/linux-initrd.img