This commitment contains following changes:

- updated openday report
- fixed I41BDM
- I3ZLLK, code part & errata part fixing
- fixed I3XWKC, ppt & errata part
- fixed I418VG
This commit is contained in:
Wang Chen
2021-07-22 17:09:14 +08:00
parent 07d7c9bfe6
commit 100cc9f1d9
23 changed files with 114 additions and 108 deletions

View File

@@ -1,7 +1,7 @@
#include "platform.h"
# size of each hart's stack is 1024 bytes
.equ STACK_SIZE, MAXNUM_CPU * 1024
.equ STACK_SIZE, 1024
.global _start
@@ -26,7 +26,7 @@ _start:
# stack pointer to the very end of the stack range.
slli t0, t0, 10 # shift left the hart id by 1024
la sp, stacks + STACK_SIZE # set the initial stack pointer
# to the end of the stack space
# to the end of the first stack space
add sp, sp, t0 # move the current hart stack pointer
# to its place in the stack space
@@ -53,6 +53,6 @@ park:
j park
stacks:
.skip STACK_SIZE # allocate space for all the harts stacks
.skip STACK_SIZE * MAXNUM_CPU # allocate space for all the harts stacks
.end # End of file