Page MenuHomeFreeBSD

riscv: fix csr_swap()
ClosedPublic

Authored by br on Sep 3 2024, 6:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 30, 7:01 PM
Unknown Object (File)
Nov 27 2025, 10:09 PM
Unknown Object (File)
Nov 21 2025, 8:51 PM
Unknown Object (File)
Nov 21 2025, 8:41 PM
Unknown Object (File)
Nov 20 2025, 5:23 AM
Unknown Object (File)
Nov 18 2025, 6:15 PM
Unknown Object (File)
Nov 7 2025, 2:27 AM
Unknown Object (File)
Nov 3 2025, 2:04 PM
Subscribers

Details

Summary

Fix csr_swap() so that we don't overwrite the argument (which is not even possible when the argument is immediate value)

Test Plan

Tested in bhyve

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

br requested review of this revision.Sep 3 2024, 6:27 PM
This revision is now accepted and ready to land.Sep 3 2024, 6:38 PM
This revision was automatically updated to reflect the committed changes.