Page MenuHomeFreeBSD

riscv: fix csr_swap()
ClosedPublic

Authored by br on Sep 3 2024, 6:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 1:01 AM
Unknown Object (File)
Fri, Nov 15, 9:28 PM
Unknown Object (File)
Oct 10 2024, 2:50 AM
Unknown Object (File)
Oct 3 2024, 3:36 PM
Unknown Object (File)
Oct 2 2024, 10:23 AM
Unknown Object (File)
Oct 2 2024, 10:22 AM
Unknown Object (File)
Oct 2 2024, 10:22 AM
Unknown Object (File)
Oct 2 2024, 10:10 AM
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

Lint
Lint Skipped
Unit
Tests Skipped

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.