24 stable releases (7 major)

Uses new Rust 2024

new 18.0.0 Dec 5, 2025
17.1.0 Dec 4, 2025
16.0.1 Nov 21, 2025
15.1.0 Nov 19, 2025
11.4.1 Oct 17, 2025

#959 in Hardware support

Download history 483/week @ 2025-10-09 341/week @ 2025-10-16 396/week @ 2025-10-23 20/week @ 2025-10-30 40/week @ 2025-11-06 36/week @ 2025-11-13 72/week @ 2025-11-20 4/week @ 2025-11-27

153 downloads per month

Apache-2.0

22MB
59K SLoC

Contains (DOS exe, 85KB) DisplayEngine512BFileAlignment.efi, (DOS exe, 82KB) test_image_loaded.bin, (DOS exe, 82KB) test_image_relocated.bin, (DOS exe, 52KB) invalid_directory_name_offset_hii.pe32, (DOS exe, 62KB) DisplayEngine32BFileAlignment.efi, (DOS exe, 64KB) resources/test/pe32/test_image.pe32 and 10 more.

Patina DXE Core

This crate contains a Pure Patina DXE Core.

DXE Core Goals

  1. Construction of a bare-metal "kernel (DXE core)" to dispatch from DxeIpl.

    1. Log output over a basic subsystem such as serial I/O.
    2. Integrable into a UEFI build as a replacement for DxeMain with observable debug output.
    3. Greater than 80% unit test coverage across all code compiled into the DXE Core.
    4. A "monolithic" DXE environment that encapsulates functionality distributed across separate EFI modules today. This is accomplished with an internal dispatcher to the binary that executes individual components linked during platform integration and given to the common Patina DXE Core interface when the platform builds its version of Patina DXE Core.
    5. In addition to internal Rust component dispatch, UEFI driver dispatch - FVs and FFS files in the firmware ROM.
    6. No direct dependencies on PEI except PI abstracted structures.
  2. Support for CPU interrupts/exception handlers.

  3. Support for paging and heap allocation.

  4. UEFI memory protections that implement best known practices and drive memory protections in UEFI firmware forward.

For more information, refer to Setting up the DXE Core.

Contributing

  • Review Rust Documentation in the docs directory.
  • Run unit tests and ensure all pass.

Dependencies

~13MB
~138K SLoC