Skip to content

[Feature]: Provide a simple component that demonstrates common C module functionality #515

Description

@makubacki

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

  • Status
    In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions