mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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.
15 lines
269 B
C++
15 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;
|
|
}
|