From 5f87c447bdcb82beacbfb930942fe9995dcdb60f Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Wed, 16 Dec 2009 17:14:58 +0100 Subject: Nothing, really --- HDD.img | Bin 20643840 -> 20643840 bytes Source/Library/Userland/Start.cpp | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HDD.img b/HDD.img index f795818..abdd430 100644 Binary files a/HDD.img and b/HDD.img differ diff --git a/Source/Library/Userland/Start.cpp b/Source/Library/Userland/Start.cpp index 0c25491..f1d1771 100644 --- a/Source/Library/Userland/Start.cpp +++ b/Source/Library/Userland/Start.cpp @@ -13,13 +13,14 @@ VirtualTerminal invt(0), outvt(0); int main(const Vector& args); extern "C" void start() { + heap.create(0x40000000, 0x00040000, 0x00004000); //Initially create a 256ko heap with 16ko index + //Call static constructors u32int i = 0; for(u32int * call = &start_ctors; call < &end_ctors; call++) { ((void (*)(void))*call)(); } - heap.create(0x40000000, 0x00040000, 0x00004000); //Initially create a 256ko heap with 16ko index invt = VirtualTerminal::getIn(); outvt = VirtualTerminal::getOut(); if (!invt.valid()) threadFinishedSyscall(1); if (!outvt.valid()) threadFinishedSyscall(2); -- cgit v1.2.3