Page MenuHomeFreeBSD

Use csr_read() to read sstatus instead of inline assembly.
ClosedPublic

Authored by jhb on Feb 5 2020, 12:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 12:30 AM
Unknown Object (File)
Oct 12 2024, 9:01 PM
Unknown Object (File)
Oct 5 2024, 7:32 AM
Unknown Object (File)
Sep 28 2024, 8:25 PM
Unknown Object (File)
Sep 27 2024, 8:26 AM
Unknown Object (File)
Sep 22 2024, 10:31 PM
Unknown Object (File)
Sep 22 2024, 10:12 PM
Unknown Object (File)
Sep 22 2024, 7:23 PM
Subscribers

Details

Summary

While here, remove a local variable to avoid the CSR read in non-debug
kernels.

Test Plan
  • booted kernels under spike and qemu

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 29175
Build 27107: arc lint + arc unit