Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start.S: Increase the stack size to 2KB #42

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: