From 5c8c67810a9df8fdcd7ca286cb2266d5d3536309 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Sat, 22 Nov 2014 18:42:35 +0100 Subject: Passing params to main() --- userspace/sys/Makefile | 3 +++ userspace/sys/crt0.S | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) create mode 100644 userspace/sys/Makefile (limited to 'userspace/sys') diff --git a/userspace/sys/Makefile b/userspace/sys/Makefile new file mode 100644 index 0000000..7dde55a --- /dev/null +++ b/userspace/sys/Makefile @@ -0,0 +1,3 @@ +CC=i686-foolos-gcc +clean: + -rm *.o diff --git a/userspace/sys/crt0.S b/userspace/sys/crt0.S index 48eadd9..33e5d32 100644 --- a/userspace/sys/crt0.S +++ b/userspace/sys/crt0.S @@ -5,15 +5,8 @@ _start: -push $0 -call sbrk - -#push $[_BSS_END_] -#call sbrk - call main - push %eax call _exit -- cgit v1.2.3