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
F133078521: D23511.id67828.diff
Wed, Oct 22, 6:53 PM
F133078513: D23511.id67804.diff
Wed, Oct 22, 6:53 PM
F133078511: D23511.id.diff
Wed, Oct 22, 6:53 PM
F133036709: D23511.diff
Wed, Oct 22, 7:50 AM
Unknown Object (File)
Tue, Oct 14, 4:23 AM
Unknown Object (File)
Sat, Sep 27, 7:50 AM
Unknown Object (File)
Fri, Sep 26, 2:57 PM
Unknown Object (File)
Tue, Sep 23, 3:58 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