Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9acc2a9

Browse files
Update x86_64 (#478)
* Update x86_64 (actually) Signed-off-by: Mako <61922615+Makonede@users.noreply.github.com>
1 parent ea2529b commit 9acc2a9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎common/src/load_kernel.rs

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /