mirror of
https://github.com/rust-osdev/uefi-rs
synced 2026-08-26 18:26:05 -04:00
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:
parent
166227eb7a
commit
58365f79cb
3 changed files with 7 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue