Skip to content

Commit

Permalink
fix path to physicalmem::allocate
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahspberrypi committed Dec 1, 2023
1 parent 94d0f89 commit 7a0650e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/x86_64/kernel/apic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ pub fn boot_application_processors() {
debug!("SMP boot code is {} bytes long", smp_boot_code.len());
// We can only allocate full pages of physmem
let length = BasePageSize::SIZE as usize;
let phys_addr: PhysAddr = physicalmem::allocate(length).unwrap();
let phys_addr: PhysAddr = crate::arch::mm::physicalmem::allocate(length).unwrap();

let mut flags = PageTableEntryFlags::empty();
flags.normal().writable();
Expand Down

0 comments on commit 7a0650e

Please sign in to comment.