diff options
Diffstat (limited to 'kernel/head.S')
| -rw-r--r-- | kernel/head.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/head.S b/kernel/head.S index 210eb7c..31f423e 100644 --- a/kernel/head.S +++ b/kernel/head.S @@ -94,7 +94,9 @@ _start_kernel: li t6, 0 csrw sscratch, 0 - // Point tp and sp to the init task. + // Point tp and sp to the init task. This is not crucial because in the end + // we are not doing anything with the 'tp' register, and our processes + // actually don't do anything on the stack. la tp, tasks la sp, tasks + THREAD_SIZE |
