1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00

Import very modest Userland.

This commit is contained in:
Andreas Kling 2018-10-22 14:06:22 +02:00
parent 4cbf079a17
commit 63764b3a65
23 changed files with 81 additions and 27 deletions

12
LibC/entry.cpp Normal file
View file

@ -0,0 +1,12 @@
#include <Kernel/Syscall.h>
extern "C" int main(int, char**);
extern "C" int elf_entry()
{
// FIXME: Pass appropriate argc/argv.
main(0, nullptr);
// Birger's birthday <3
return 20150614;
}