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)
Tue, Aug 11, 1:00 PM
Unknown Object (File)
Mon, Aug 10, 1:54 PM
Unknown Object (File)
Mon, Aug 10, 10:19 AM
Unknown Object (File)
Sat, Aug 8, 5:43 PM
Unknown Object (File)
Thu, Aug 6, 11:10 AM
Unknown Object (File)
Wed, Aug 5, 10:40 PM
Unknown Object (File)
Sun, Aug 2, 4:26 AM
Unknown Object (File)
Sat, Aug 1, 6:24 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.