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
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
| sys/riscv/riscv/machdep.c | ||
|---|---|---|
| 430 | Per style(9) this should be: for (;;)
__asm __volatile("wfi"); | |