ELFLoader works inside the kernel!

We load /_hello.o which just prints out a simple message.
It executes inside the kernel itself, so no fancy userspace process
or anything, but this is still so cool!
This commit is contained in:
Andreas Kling 2018-10-18 15:38:04 +02:00
parent 6ab0649ad6
commit 97e0d75bcb
Notes: sideshowbarker 2024-07-19 18:46:15 +09:00
10 changed files with 72 additions and 15 deletions

View file

@ -2,7 +2,7 @@
using namespace Userspace;
int elf_entry()
extern "C" int elf_entry()
{
int fd = open("/Banner.txt");
char buf[2048];