Skip to content

Commit 9acc2a9

Browse files
authored
Update x86_64 (#478)
* Update x86_64 (actually) Signed-off-by: Mako <[email protected]>
1 parent ea2529b commit 9acc2a9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/src/load_kernel.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ where
353353

354354
// These are the offsets from the start address. These correspond
355355
// to the destination indices in `buf`.
356-
let start_offset_in_buf = Step::steps_between(&addr, &start_copy_address).unwrap();
356+
let start_offset_in_buf = Step::steps_between(&addr, &start_copy_address).1.unwrap();
357357

358358
// Calculate the source slice.
359359
// Utilize that frames are identity mapped.
@@ -420,7 +420,7 @@ where
420420

421421
// These are the offsets from the start address. These correspond
422422
// to the destination indices in `buf`.
423-
let start_offset_in_buf = Step::steps_between(&addr, &start_copy_address).unwrap();
423+
let start_offset_in_buf = Step::steps_between(&addr, &start_copy_address).1.unwrap();
424424

425425
// Calculate the source slice.
426426
// Utilize that frames are identity mapped.

0 commit comments

Comments
 (0)