Skip to content

Commit

Permalink
start.S: Increase the stack size to 2KB
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhaijiang authored and guoren83 committed Nov 14, 2024
1 parent 7f3f2b2 commit 4e05bba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -96,5 +96,5 @@ _load_start:
RISCV_PTR _fw_start

.bss
.skip 0x4000
.skip 0x1000
stacks:

0 comments on commit 4e05bba

Please sign in to comment.