File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 9
9
- ** Breaking:** Removed ` BootPolicyError ` as ` BootPolicy ` construction is no
10
10
longer fallible. ` BootPolicy ` now tightly integrates the new ` Boolean ` type
11
11
of ` uefi-raw ` .
12
+ - ** Breaking:** The ` pxe::BaseCode::tftp_read_dir ` and
13
+ ` pxe::BaseCode::mtftp_read_dir ` methods now take ` &mut self ` instead of
14
+ ` &self ` .
12
15
- ` boot::memory_map() ` will never return ` Status::BUFFER_TOO_SMALL ` from now on,
13
16
as this is considered a hard internal error where users can't do anything
14
17
about it anyway. It will panic instead.
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ impl BaseCode {
230
230
231
231
/// Reads a directory listing of a directory on a TFTP server.
232
232
pub fn tftp_read_dir < ' a > (
233
- & self ,
233
+ & mut self ,
234
234
server_ip : & IpAddress ,
235
235
directory_name : & CStr8 ,
236
236
buffer : & ' a mut [ u8 ] ,
@@ -363,7 +363,7 @@ impl BaseCode {
363
363
364
364
/// Reads a directory listing of a directory on a MTFTP server.
365
365
pub fn mtftp_read_dir < ' a > (
366
- & self ,
366
+ & mut self ,
367
367
server_ip : & IpAddress ,
368
368
buffer : & ' a mut [ u8 ] ,
369
369
info : & MtftpInfo ,
You can’t perform that action at this time.
0 commit comments