OpenDevicePartnership / OpenDevicePartnership/patina

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

Open
#515 6 comments 0 reactions 2 assignees View on GitHub

@makubacki is already working on this.

Since Aug 13, 2026.

  • #1743 by @makubacki — merged
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.