Initial work on paging, also complete ish interrupt registration

This commit is contained in:
ivajon
2026-05-08 11:40:51 +02:00
parent aa5ce32dce
commit c68d3fab14
11 changed files with 456 additions and 18 deletions

View File

@@ -97,3 +97,12 @@ impl TryFrom<u32> for EfiMemoryType {
Self::from_u32(value).ok_or(value)
}
}
impl EfiPhysicalAddress {
pub const fn raw_ptr<T>(&self) -> *const T {
self.0 as *const _
}
pub const fn raw(&self) -> u64 {
self.0
}
}