diff --git a/Cargo.lock b/Cargo.lock index 9846e70e..704cb6a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "anyhow" @@ -1372,12 +1372,12 @@ dependencies = [ [[package]] name = "x86_64" -version = "0.14.10" +version = "0.14.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "100555a863c0092238c2e0e814c1096c1e5cf066a309c696a87e907b5f8c5d69" +checksum = "c101112411baafbb4bf8d33e4c4a80ab5b02d74d2612331c61e8192fc9710491" dependencies = [ "bit_field", - "bitflags 1.3.2", + "bitflags 2.3.3", "rustversion", "volatile", ] diff --git a/common/src/load_kernel.rs b/common/src/load_kernel.rs index 6cc24fed..0eab3a24 100644 --- a/common/src/load_kernel.rs +++ b/common/src/load_kernel.rs @@ -353,7 +353,7 @@ where // These are the offsets from the start address. These correspond // to the destination indices in `buf`. - let start_offset_in_buf = Step::steps_between(&addr, &start_copy_address).unwrap(); + let start_offset_in_buf = Step::steps_between(&addr, &start_copy_address).1.unwrap(); // Calculate the source slice. // Utilize that frames are identity mapped. @@ -420,7 +420,7 @@ where // These are the offsets from the start address. These correspond // to the destination indices in `buf`. - let start_offset_in_buf = Step::steps_between(&addr, &start_copy_address).unwrap(); + let start_offset_in_buf = Step::steps_between(&addr, &start_copy_address).1.unwrap(); // Calculate the source slice. // Utilize that frames are identity mapped.