File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1010## Changed
1111- Changed ordering of ` proto::pci::PciIoAddress ` to (bus -> dev -> fun -> reg -> ext_reg).
1212- Return request with status as error data object for ` proto::ata::pass_thru::AtaDevice ` .
13+ - ** Breaking:** ` proto::network::snp::SimpleNetwork::wait_for_packet ` now
14+ returns ` Option<Event> ` instead of ` &Event ` .
1315
1416# uefi - v0.36.1 (2025-11-05)
1517
Original file line number Diff line number Diff line change @@ -270,8 +270,8 @@ impl SimpleNetwork {
270270 /// On QEMU, this event seems to never fire; it is suggested to verify that your implementation
271271 /// of UEFI properly implements this event before using it.
272272 #[ must_use]
273- pub const fn wait_for_packet ( & self ) -> & Event {
274- unsafe { & * ( ptr :: from_ref ( & self . 0 . wait_for_packet ) . cast :: < Event > ( ) ) }
273+ pub fn wait_for_packet ( & self ) -> Option < Event > {
274+ unsafe { Event :: from_ptr ( self . 0 . wait_for_packet ) }
275275 }
276276
277277 /// Returns a reference to the Simple Network mode.
You can’t perform that action at this time.
0 commit comments