From 6a3ef39feb635f529da9e36975ba77a26c1ff3b4 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Sun, 23 Nov 2014 14:00:52 +0100 Subject: passing argv and argc to main, and fixed ELF load. --- userspace/simple.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'userspace/simple.c') diff --git a/userspace/simple.c b/userspace/simple.c index d4c48c2..5322584 100644 --- a/userspace/simple.c +++ b/userspace/simple.c @@ -1,12 +1,13 @@ int main(int argc, char **argv) { + int i; printf("argv: 0x%08X\n",argv); for(i=0;i