-
Notifications
You must be signed in to change notification settings - Fork 581
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1776 from Dolu1990/nax-smp
core/naxriscv provide a deployable NaxRiscv SMP
- Loading branch information
Showing
4 changed files
with
178 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
.section .text, "ax", @progbits | ||
.global boot_helper | ||
.global boot_helper | ||
.global smp_lottery_target | ||
.global smp_lottery_lock | ||
.global smp_lottery_args | ||
|
||
boot_helper: | ||
sw x10, smp_lottery_args , x14 | ||
sw x11, smp_lottery_args+4, x14 | ||
sw x12, smp_lottery_args+8, x14 | ||
sw x13, smp_lottery_target, x14 | ||
fence w, w | ||
li x15, 1 | ||
sw x15, smp_lottery_lock, x14 | ||
jr x13 |
Oops, something went wrong.