00001
00002
00003
00004
00005
00006
00007
00008 #include <utility/ostream.h>
00009 #include <utility/heap.h>
00010 #include <thread.h>
00011
00012 extern "C" { void _exit(int s) { __SYS(Thread)::exit(s); for(;;); }}
00013
00014 __BEGIN_SYS
00015
00016 System_Info * si = reinterpret_cast<System_Info *>(
00017 Memory_Map<Machine>::SYS_INFO);
00018
00019 OStream kout, kerr;
00020
00021 Heap app_heap;
00022 Heap sys_heap;
00023 char _sys_heap[Traits<Machine>::SYSTEM_HEAP_SIZE];
00024
00025 __END_SYS
00026
00027