uefi: re-export EfiMacAddr

Otherwise, some users have to also pull in uefi-raw in a matching
version as dependency. We however want to prevent a mix use
in public API. See [0] for context.

[0] https://rust-osdev.zulipchat.com/#narrow/channel/426438-uefi-rs/topic/Re-export.20.60uefi-raw.60.20from.20.60uefi.60.3F/near/545022347
This commit is contained in:
Philipp Schuster 2025-10-17 17:35:40 +02:00
parent 166227eb7a
commit 58365f79cb
3 changed files with 7 additions and 3 deletions

View file

@ -6,9 +6,9 @@ use smoltcp::wire::{
ETHERNET_HEADER_LEN, EthernetFrame, IPV4_HEADER_LEN, Ipv4Packet, UDP_HEADER_LEN, UdpPacket,
};
use uefi::boot::ScopedProtocol;
use uefi::proto::network::EfiMacAddr;
use uefi::proto::network::snp::{InterruptStatus, ReceiveFlags, SimpleNetwork};
use uefi::{Status, boot};
use uefi_raw::MacAddress as EfiMacAddr;
use uefi_raw::protocol::network::snp::NetworkState;
/// The MAC address configured for the interface.