Skip to content

Commit

Permalink
multicore say Hi
Browse files Browse the repository at this point in the history
  • Loading branch information
elliott10 committed Jul 31, 2023
1 parent 8042176 commit aa2e603
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions zCore/src/platform/riscv/boot.asm
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,27 @@ primary_hart:
secondary_hart_start:
csrw sie, zero
csrw sip, zero

mv s9, a0

addi a0, a0, 48
li a7, 1
ecall

li a0, 72
li a7, 1
ecall

li a0, 105
li a7, 1
ecall

li a0, 10
li a7, 1
ecall

mv a0, s9

call init_vm
la t0, secondary_rust_main
la t1, PHY_MEM_OFS
Expand Down

0 comments on commit aa2e603

Please sign in to comment.