Jump to user mode.
This instantly creates a page fault as we always map pages with ring 0 permissions.
This commit is contained in:
parent
aefb4f082b
commit
7184f527a0
7 changed files with 37 additions and 7 deletions
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
void LoadElfProgram(uint64_t base, uint64_t length);
|
||||
// Loads the elf program and returns its entry point.
|
||||
uint64_t LoadElfProgram(uint64_t base, uint64_t length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue