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 @@ -233,7 +233,7 @@ impl BaseCode {
233
233
234
234
/// Reads a directory listing of a directory on a TFTP server.
235
235
pub fn tftp_read_dir < ' a > (
236
- & self ,
236
+ & mut self ,
237
237
server_ip : & IpAddress ,
238
238
directory_name : & CStr8 ,
239
239
buffer : & ' a mut [ u8 ] ,
@@ -366,7 +366,7 @@ impl BaseCode {
366
366
367
367
/// Reads a directory listing of a directory on a MTFTP server.
368
368
pub fn mtftp_read_dir < ' a > (
369
- & self ,
369
+ & mut self ,
370
370
server_ip : & IpAddress ,
371
371
buffer : & ' a mut [ u8 ] ,
372
372
info : & MtftpInfo ,
You can’t perform that action at this time.
0 commit comments