Page MenuHomeFreeBSD

powerpc psim: Use bus_generic_rman_*
ClosedPublic

Authored by jhb on Jan 12 2024, 10:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 8, 10:24 AM
Unknown Object (File)
Wed, Nov 5, 3:35 PM
Unknown Object (File)
Mon, Nov 3, 5:39 AM
Unknown Object (File)
Mon, Oct 27, 9:08 AM
Unknown Object (File)
Tue, Oct 21, 10:39 PM
Unknown Object (File)
Oct 15 2025, 5:23 PM
Unknown Object (File)
Oct 8 2025, 4:44 AM
Unknown Object (File)
Oct 5 2025, 5:25 PM
Subscribers

Details

Summary
  • Split out bits of iobus_activate/deactive_resource to implement iobus_map/unmap_resource.
  • Use bus_generic_rman_* methods in several bus methods to handle memory and I/O port resources.
  • Add an implementation of bus_adjust_resource.

Diff Detail

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

Event Timeline

jhb requested review of this revision.Jan 12 2024, 10:32 PM

Does psim even still work?

This revision is now accepted and ready to land.Jan 19 2024, 2:53 AM

Does psim even still work?

Let me give it a try. Seems to still be maintained in upstream gdb.

I with there was a 'no objection' button here.
But I think between the helper and the small code reorg this is what we want.
I'm not completely sure, and the lack of testability makes me uneasy.
But I think they are OK enough for me to tick the 'yes' button failing to find any reason to say no.

This revision was automatically updated to reflect the committed changes.