Page MenuHomeFreeBSD

fix riscv load/stores
ClosedPublic

Authored by br on Jan 17 2020, 4:11 PM.

Details

Summary

Use unsigned load/stores as these functions should do zero-extend

Test Plan

these bugs discovered by running pci_read_cap()

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

br created this revision.Jan 17 2020, 4:11 PM
jrtc27 accepted this revision.Jan 17 2020, 4:14 PM

Yes, this is exactly what I had in mind.

This revision is now accepted and ready to land.Jan 17 2020, 4:14 PM