summaryrefslogtreecommitdiff
path: root/initcode.S
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2011-07-27 20:35:46 -0400
committerFrans Kaashoek <[email protected]>2011-07-27 20:35:46 -0400
commit13a96baefc0ff5d8262c4bc8c797bee4b157443c (patch)
treea84aa8ed35618f99c3d7e8cdd466d22ae7bad597 /initcode.S
parent97657d703f7a92a088b400980c17249f34640a5e (diff)
downloadxv6-labs-13a96baefc0ff5d8262c4bc8c797bee4b157443c.tar.gz
xv6-labs-13a96baefc0ff5d8262c4bc8c797bee4b157443c.tar.bz2
xv6-labs-13a96baefc0ff5d8262c4bc8c797bee4b157443c.zip
Dirt simple logging
Passes usertests and stressfs Seems to recover correctly in a number of simple cases
Diffstat (limited to 'initcode.S')
-rw-r--r--initcode.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/initcode.S b/initcode.S
index 41e84f4..d86660a 100644
--- a/initcode.S
+++ b/initcode.S
@@ -3,9 +3,12 @@
#include "syscall.h"
#include "traps.h"
+
# exec(init, argv)
.globl start
start:
+ movl $SYS_init, %eax
+ int $T_SYSCALL
pushl $argv
pushl $init
pushl $0 // where caller pc would be