From 260347c06637f15ea93c6ad99bce4420a28bae6b Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Fri, 18 Dec 2009 16:26:56 +0100 Subject: Revert "Nothing, really" This reverts commit 5f87c447bdcb82beacbfb930942fe9995dcdb60f. --- Source/Library/Userland/Start.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Library') diff --git a/Source/Library/Userland/Start.cpp b/Source/Library/Userland/Start.cpp index f1d1771..0c25491 100644 --- a/Source/Library/Userland/Start.cpp +++ b/Source/Library/Userland/Start.cpp @@ -13,14 +13,13 @@ 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