Here are changes to allow the SVSM to load ELF binaries from the RAM file-system and execute them in user-mode.
The changes itself are not very useful yet, as there are no syscalls implemented besides some needed for testing, but the PR contains all the heavy-lifting needed to:
VMM changes to populate and manage a user address space
Opening and parsing of ELF files
Creating user tasks and set up the correct stack layout to get it into user-mode once the task is scheduled
Segment setup and IDT/entry code changes needed for user-mode
The changes in this PR are the groundwork for running SVSM modules in user-space.
Here are changes to allow the SVSM to load ELF binaries from the RAM file-system and execute them in user-mode.
The changes itself are not very useful yet, as there are no syscalls implemented besides some needed for testing, but the PR contains all the heavy-lifting needed to:
The changes in this PR are the groundwork for running SVSM modules in user-space.