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)
Thu, Nov 6, 11:12 AM
Unknown Object (File)
Sat, Oct 25, 2:32 AM
Unknown Object (File)
Fri, Oct 17, 5:16 AM
Unknown Object (File)
Fri, Oct 17, 5:16 AM
Unknown Object (File)
Fri, Oct 17, 5:16 AM
Unknown Object (File)
Fri, Oct 17, 5:16 AM
Unknown Object (File)
Thu, Oct 16, 7:56 PM
Unknown Object (File)
Oct 8 2025, 11:09 PM
Subscribers

Details

Summary

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

Test Plan

Tested using the halt command from ddb.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

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

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.