serenity/Kernel/_hello.cpp
Andreas Kling 97e0d75bcb 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!
2018-10-18 15:46:08 +02:00

8 lines
131 B
C++

extern "C" int puts(const char*);
extern "C" int elf_entry()
{
puts("Home, where you are supposed to be...");
return 0;
}