mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
![Andreas Kling](/assets/img/avatar_default.png)
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!
8 lines
131 B
C++
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;
|
|
}
|