Fix aarch64.

This commit is contained in:
4lDO2
2024-03-23 19:16:53 +01:00
parent 7261dccb72
commit e6dc0e96f0
4 changed files with 11 additions and 52 deletions
+1 -1
View File
@@ -2117,7 +2117,7 @@ impl Drop for Table {
#[cfg(target_arch = "aarch64")]
pub fn setup_new_utable() -> Result<Table> {
let utable = unsafe {
PageMapper::create(TableKind::User, crate::rmm::FRAME_ALLOCATOR)
PageMapper::create(TableKind::User, crate::memory::TheFrameAllocator)
.ok_or(Error::new(ENOMEM))?
};