-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Feature Overview
This feature request is to add a means by which components can add configuration or services after its entry point has existed, such as in event callbacks. So far as I can tell, there is currently no reasonably safe way to do this. One major application of this feature would to allow components to publish services that wrap around EDKII protocols, which could only be done once that EDKII protocol has been published.
Solution Overview
In progress.
One possible solution would to take Storage's Deferred out of Option<> (and make the queue shared between components) and to provide some form of locking and interior mutability that would allow the Commands parameter to be cloned and passed to event contexts.
Another possible solution would be to add a new Protocol<uefi_protocol::ProtocolInterface> parameter that is marked as valid once the associated protocol GUID has been installed. This would make the solution specific to the case where a service is installed once a protocol has been installed.
Alternatives Considered
No response
Urgency
Low
Are you going to implement the feature request?
I will implement the feature
Do you need maintainer feedback?
Maintainer feedback requested
Anything else?
No response