Page MenuHomeFreeBSD

riscv: fix csr_swap()
ClosedPublic

Authored by br on Sep 3 2024, 6:27 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Oct 2 2024, 6:16 AM
Unknown Object (File)
Sep 27 2024, 10:13 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

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.