Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Graham MacDonald <[email protected]>
  • Loading branch information
gmacd committed Jul 20, 2024
1 parent ad0b67d commit b9a26cd
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 97 deletions.
6 changes: 3 additions & 3 deletions aarch64/src/vmalloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use core::{mem::MaybeUninit, ptr::addr_of};
use port::{
mcslock::{Lock, LockNode},
mem::VirtRange,
vmem::Arena,
vmem::{Arena, Boundary},
};

static VMALLOC: Lock<Option<&'static mut VmAlloc>> = Lock::new("vmalloc", None);
Expand All @@ -25,9 +25,9 @@ impl VmAlloc {
Self {
heap_arena: Arena::new_with_static_range(
"heap",
heap_range.start(),
heap_range.size(),
Some(Boundary::from(heap_range)),
quantum,
None,
early_tags_range,
),
}
Expand Down
Loading

0 comments on commit b9a26cd

Please sign in to comment.