acadia/zion/loader/elf_loader.h
Drew Galbraith 7184f527a0 Jump to user mode.
This instantly creates a page fault as we always map pages with ring 0
permissions.
2023-05-29 13:06:08 -07:00

6 lines
146 B
C

#pragma once
#include <stdint.h>
// Loads the elf program and returns its entry point.
uint64_t LoadElfProgram(uint64_t base, uint64_t length);