On Wed, 26 May 2021 at 12:12, Nhi Pham <n...@os.amperecomputing.com> wrote: > > From: Vu Nguyen <vungu...@os.amperecomputing.com> > > The roles of this driver: > * Consume PcieCoreLib to initialize all enable PCIe controllers. > * Produce neccessary protocols like RootBridgeIo an ResourceAllocation > which will be used later by PciBus. > > Cc: Thang Nguyen <th...@os.amperecomputing.com> > Cc: Chuong Tran <chu...@os.amperecomputing.com> > Cc: Phong Vo <ph...@os.amperecomputing.com> > Cc: Leif Lindholm <l...@nuviainc.com> > Cc: Michael D Kinney <michael.d.kin...@intel.com> > Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> > Cc: Nate DeSimone <nathaniel.l.desim...@intel.com> > > Signed-off-by: Vu Nguyen <vungu...@os.amperecomputing.com>
Why do you need a re-implementation of PciHostBridgeDxe for any of this? There is very little h/w specific code there, and it is all customizable using PciHostBridgeLib and PciSegmentLib (among others) There are a couple of examples of this in edk2-platforms - please take a look at those, and if that does not give you enough wiggle room, let's see if we can accommodate your needs in PciHostBridgeDxe itself. -- Ard. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#76250): https://edk2.groups.io/g/devel/message/76250 Mute This Topic: https://groups.io/mt/83097113/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-