summaryrefslogtreecommitdiff
path: root/initcode.S
diff options
context:
space:
mode:
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