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)
Wed, Dec 11, 8:32 AM
Unknown Object (File)
Wed, Dec 4, 6:54 PM
Unknown Object (File)
Nov 25 2024, 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
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

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