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)
Sun, Apr 28, 5:20 PM
Unknown Object (File)
Wed, Apr 24, 4:01 AM
Unknown Object (File)
Mon, Apr 22, 3:20 AM
Unknown Object (File)
Mon, Apr 22, 2:03 AM
Unknown Object (File)
Sun, Apr 21, 11:10 AM
Unknown Object (File)
Sun, Apr 21, 11:10 AM
Unknown Object (File)
Sun, Apr 21, 11:07 AM
Unknown Object (File)
Mar 17 2024, 7:29 AM
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.