Initial work on paging, also complete ish interrupt registration
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user