Skip to content

Commit 333d54e

Browse files
Generate device path nodes for uefi-raw
These nodes are very similar to the nodes generated in the `uefi` crate. The main difference is in DST nodes: instead of creating a trailing DST slice, a zero-length array is created instead. This ensures that pointers are thin, and matches the API style used elsewhere in `uefi-raw`.
1 parent 1c1ffe8 commit 333d54e

File tree

7 files changed

+607
-1
lines changed

7 files changed

+607
-1
lines changed

uefi-raw/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Added
44

55
- Added `DeviceType` and `DeviceSubType` enums.
6+
- Added device path node types in the `protocol::device_path` module.
67

78

89
# uefi-raw - 0.8.0 (2024-09-09)

uefi-raw/src/protocol/device_path.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
mod device_path_gen;
2+
13
use crate::{guid, Char16, Guid};
24

5+
pub use device_path_gen::{acpi, bios_boot_spec, end, hardware, media, messaging};
6+
37
/// Device path protocol.
48
///
59
/// A device path contains one or more device path instances made of up

0 commit comments

Comments
 (0)