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, Oct 24, 8:40 AM
Unknown Object (File)
Sun, Oct 13, 9:47 AM
Unknown Object (File)
Sep 22 2024, 12:03 PM
Unknown Object (File)
Sep 19 2024, 1:20 AM
Unknown Object (File)
Sep 5 2024, 4:43 PM
Unknown Object (File)
Aug 20 2024, 3:18 AM
Unknown Object (File)
Jun 25 2024, 9:52 PM
Unknown Object (File)
Jun 21 2024, 10:01 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 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.