summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-18 16:26:56 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-18 16:26:56 +0100
commit260347c06637f15ea93c6ad99bce4420a28bae6b (patch)
tree7431d6f3c27b6afd6ff63a763168d956d520a8bd
parentd04645198d648a17ccb83e70aa5e6d60a06121aa (diff)
downloadMelon-260347c06637f15ea93c6ad99bce4420a28bae6b.tar.gz
Melon-260347c06637f15ea93c6ad99bce4420a28bae6b.zip
Revert "Nothing, really"
This reverts commit 5f87c447bdcb82beacbfb930942fe9995dcdb60f.
-rw-r--r--HDD.imgbin20643840 -> 20643840 bytes
-rw-r--r--Source/Library/Userland/Start.cpp3
2 files changed, 1 insertions, 2 deletions
diff --git a/HDD.img b/HDD.img
index abdd430..f795818 100644
--- a/HDD.img
+++ b/HDD.img
Binary files differ
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<String>& 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);