Page MenuHomeFreeBSD

Add definition for cpu_halt()
ClosedPublic

Authored by mhorne063_gmail.com on Dec 18 2018, 7:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 17, 3:41 AM
Unknown Object (File)
Sat, Mar 7, 11:10 AM
Unknown Object (File)
Sat, Mar 7, 5:20 AM
Unknown Object (File)
Fri, Mar 6, 11:56 PM
Unknown Object (File)
Thu, Mar 5, 11:44 PM
Unknown Object (File)
Fri, Feb 27, 2:39 AM
Unknown Object (File)
Feb 12 2026, 8:09 PM
Unknown Object (File)
Feb 8 2026, 8:39 AM
Subscribers

Details

Summary

Add the missing definition cpu_halt() on RISC-V.

Test Plan

Tested using the halt command from ddb.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mhorne063_gmail.com edited the test plan for this revision. (Show Details)
sys/riscv/riscv/machdep.c
430 ↗(On Diff #52138)

Per style(9) this should be:

for (;;)
        __asm __volatile("wfi");
This revision is now accepted and ready to land.Dec 18 2018, 5:43 PM
This revision was automatically updated to reflect the committed changes.