OpenDevicePartnership / OpenDevicePartnership/patina
[Feature]: Provide a simple component that demonstrates common C module functionality
Open
type:feature-request
urgency:low
- Dominant language
- Rust
- Stars
- 544
- Forks
- 54
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 30
Description
Feature Overview
Ideally new Rust code should be written as components. Most code can be but may still need to install global structures like protocols or manipulate global stores like the PCD database. A simple component should demonstrate how to do these actions, so it is available as a reference to new component writers that also need their component to interact with C code.
Solution Overview
Demonstate:
- Install, locate, uninstall protocol
- Hook on and produce a status code
- Get and set a UEFI variable with variable policy
- Get and set a PCD
- Register an event notification callback
- Publish an event notification
- Consume a HOB
Alternatives Considered
No response
Urgency
Low
Are you going to implement the feature request?
I will implement the feature
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.