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)
Fri, May 15, 11:21 AM
Unknown Object (File)
Fri, May 15, 10:16 AM
Unknown Object (File)
Fri, May 15, 9:25 AM
Unknown Object (File)
Thu, May 14, 5:23 PM
Unknown Object (File)
Mon, May 11, 4:37 PM
Unknown Object (File)
Mon, Apr 27, 3:28 PM
Unknown Object (File)
Apr 12 2026, 2:28 PM
Unknown Object (File)
Apr 9 2026, 3:06 PM
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.