mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
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:
parent
6ab0649ad6
commit
97e0d75bcb
10 changed files with 72 additions and 15 deletions
7
Kernel/_hello.cpp
Normal file
7
Kernel/_hello.cpp
Normal file
|
@ -0,0 +1,7 @@
|
|||
extern "C" int puts(const char*);
|
||||
|
||||
extern "C" int elf_entry()
|
||||
{
|
||||
puts("Home, where you are supposed to be...");
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue