On Wed, 1 Sept 2021 at 09:20, Gerd Hoffmann <kra...@redhat.com> wrote: > ... > Is it possible to have multiple drivers implementing the > EfiTimerArchProtocol in one firmware binary, then just use the one which > successfully initializes first? If so, can I define the initialization > order? i.e. can I add a kvmclock driver, try initialize it first, when > it works use it, otherwise (because tcg) fallback to some other driver? >
I don't think that should be a problem, as long as the EfiTimerArchProtocol becomes available early enough to satisfy all dependencies on it. But avoid exposing more than one instance: I don't think you are guaranteed to get the right one (i.e., the one that got registered first) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#80061): https://edk2.groups.io/g/devel/message/80061 Mute This Topic: https://groups.io/mt/85272566/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-