From 4e05bba31b4223509227999f8e43845fb7354a19 Mon Sep 17 00:00:00 2001 From: xuhaijiang Date: Thu, 14 Nov 2024 11:27:30 +0000 Subject: [PATCH] start.S: Increase the stack size to 2KB --- start.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.S b/start.S index ade7f9c..fe3e1fa 100644 --- a/start.S +++ b/start.S @@ -58,7 +58,7 @@ _relocate_copy_done: *Prepare percpu stack */ csrr t0, mhartid - li t1, 0x400 + li t1, 0x800 mul t1, t1, t0 lla sp, stacks add sp, sp, t1 @@ -96,5 +96,5 @@ _load_start: RISCV_PTR _fw_start .bss - .skip 0x4000 + .skip 0x1000 stacks: