From cbee8b7dde708164081fdb979e2b96740ba516a6 Mon Sep 17 00:00:00 2001 From: Nathan Ringo Date: Wed, 4 Sep 2024 02:19:32 -0500 Subject: Enables paging. --- crates/alloc_buddy/tests/hosted_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/alloc_buddy/tests/hosted_test.rs') diff --git a/crates/alloc_buddy/tests/hosted_test.rs b/crates/alloc_buddy/tests/hosted_test.rs index d515f6e..90245a7 100644 --- a/crates/alloc_buddy/tests/hosted_test.rs +++ b/crates/alloc_buddy/tests/hosted_test.rs @@ -103,7 +103,7 @@ impl Action { Action::Alloc { sentinel_value, size_class, - } => match buddy.alloc(size_class) { + } => match buddy.alloc_of_size_class(size_class) { Ok(ptr) => unsafe { let slice = slice::from_raw_parts_mut(ptr.as_ptr(), PAGE_SIZE << size_class); slice.fill(sentinel_value); -- cgit v1.2.3