Add the missing definition cpu_halt() on RISC-V.
Details
Details
- Reviewers
markj - Commits
- rS342221: Implement cpu_halt() for RISC-V.
Tested using the halt command from ddb.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/riscv/riscv/machdep.c | ||
---|---|---|
430 ↗ | (On Diff #52138) | Per style(9) this should be: for (;;) __asm __volatile("wfi"); |