Skip to content

Commit

Permalink
Fix compilation issues created by remote contribution
Browse files Browse the repository at this point in the history
  • Loading branch information
kennystrawnmusic committed Aug 28, 2022
1 parent a64ae80 commit 43056ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cralloc/frames.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pub fn build_from_uefi(fa: &mut impl FrameAllocator<Size4KiB>) -> StubTables {
};

// overwrite old address
let nf = PhysFrame::<Size4KiB>::containing_address(old.start_address());
let nf = PhysFrame::<Size4KiB>::containing_address(old[0].addr());

// back up Cr3 flags
let new_flags = old_flags.clone();
Expand Down

0 comments on commit 43056ae

Please sign in to comment.