Skip to content

Commit

Permalink
Update x86_64 (#478)
Browse files Browse the repository at this point in the history
* Update x86_64 (actually)

Signed-off-by: Mako <[email protected]>
  • Loading branch information
Makonede authored Nov 30, 2024
1 parent ea2529b commit 9acc2a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions common/src/load_kernel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9acc2a9

Please sign in to comment.