aboutsummaryrefslogtreecommitdiff
path: root/src/lib/libkogata
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-13 21:52:48 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-13 21:52:48 +0100
commit47e6cd42f0744f6c04b8347093f6549339a856c9 (patch)
treec91fc43178d136c2aa0f093087ba8cfb4e90bdae /src/lib/libkogata
parentcf0b8a52287ee7c747b1d5a7d77abdef1fb46f94 (diff)
downloadkogata-47e6cd42f0744f6c04b8347093f6549339a856c9.tar.gz
kogata-47e6cd42f0744f6c04b8347093f6549339a856c9.zip
Implement ELF loading ; arrange so that user processes run.
Diffstat (limited to 'src/lib/libkogata')
-rw-r--r--src/lib/libkogata/start.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libkogata/start.c b/src/lib/libkogata/start.c
index 88a4eb3..030423c 100644
--- a/src/lib/libkogata/start.c
+++ b/src/lib/libkogata/start.c
@@ -2,8 +2,11 @@
#include <stdint.h>
#include <stdbool.h>
+extern int main(int, char**);
+
void __libkogata_start() {
- // TODO
- while(true);
+ // TODO : setup
+
+ main(0, 0);
}