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)
Thu, Dec 26, 3:41 PM
Unknown Object (File)
Fri, Dec 13, 12:46 PM
Unknown Object (File)
Dec 9 2024, 7:00 AM
Unknown Object (File)
Nov 30 2024, 11:23 AM
Unknown Object (File)
Oct 24 2024, 8:40 AM
Unknown Object (File)
Oct 13 2024, 9:47 AM
Unknown Object (File)
Sep 22 2024, 12:03 PM
Unknown Object (File)
Sep 19 2024, 1:20 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 55407
Build 52296: arc lint + arc unit

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.