mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00

This is so cool! It's a bit messy now with two Task constructors, but eventually they should fold into a single constructor somehow.
14 lines
269 B
C++
14 lines
269 B
C++
#include <Kernel/Syscall.h>
|
|
|
|
extern "C" int main(int, char**);
|
|
|
|
extern "C" int _start()
|
|
{
|
|
// FIXME: Pass appropriate argc/argv.
|
|
int status = main(0, nullptr);
|
|
|
|
Syscall::invoke(Syscall::PosixExit, status);
|
|
|
|
// Birger's birthday <3
|
|
return 20150614;
|
|
}
|