pub struct Vm {
boot_area: u64,
boot_addr: u64,
boot_tables: u64,
initial_memory_size: u64,
end_page: u64,
stats: [VmStats; 2],
pagers: [Weak<Proc>; 2],
pages_deficit: [AtomicUsize; 2],
}
Expand description
Implementation of Virtual Memory system.
Fields§
§boot_area: u64
§boot_addr: u64
§boot_tables: u64
§initial_memory_size: u64
§end_page: u64
§stats: [VmStats; 2]
§pagers: [Weak<Proc>; 2]
§pages_deficit: [AtomicUsize; 2]
Implementations§
Source§impl Vm
impl Vm
pub fn boot_area(&self) -> u64
pub fn initial_memory_size(&self) -> u64
Sourcefn load_memory_map(&mut self) -> Result<(), VmError>
fn load_memory_map(&mut self) -> Result<(), VmError>
Sourcefn spawn_pagers(&mut self)
fn spawn_pagers(&mut self)
See kick_pagedaemons
on the Orbis for a reference.
§Reference offsets
Version | Offset |
---|---|
PS4 11.00 | 0x3E0E40 |
Sourcefn wake_pager(&self, _: usize)
fn wake_pager(&self, _: usize)
See pagedaemon_wakeup
on the Orbis for a reference.
§Reference offsets
Version | Offset |
---|---|
PS4 11.00 | 0x3E0690 |
Sourcefn adjust_boot_area(&mut self, original: u64) -> u64
fn adjust_boot_area(&mut self, original: u64) -> u64
Auto Trait Implementations§
impl !Freeze for Vm
impl !RefUnwindSafe for Vm
impl Send for Vm
impl Sync for Vm
impl Unpin for Vm
impl !UnwindSafe for Vm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more