From 13a96baefc0ff5d8262c4bc8c797bee4b157443c Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Wed, 27 Jul 2011 20:35:46 -0400 Subject: Dirt simple logging Passes usertests and stressfs Seems to recover correctly in a number of simple cases --- initcode.S | 3 +++ 1 file changed, 3 insertions(+) (limited to 'initcode.S') 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 -- cgit v1.2.3