[−][src]Struct sunrise_libkern::MemoryInfo
The structure returned by the query_memory
syscall.
Fields
baseaddr: usize
The base address of this memory region.
This is not the same as the address passed in query_memory. It will always be lower or equal to it, and will always be page-aligned. It points to the beggining of the mapping that address falls into.
size: usize
The size of this memory region, from the base address.
memtype: MemoryState
The type of this mapping.
Used to figure out how this mapping was created.
memattr: MemoryAttributes
The attributes of this mapping.
perms: MemoryPermissions
The permissions of this mapping.
ipc_ref_count: u32
Counts how many IPC service requests have an IPC buffer in this mapping.
device_ref_count: u32
Unknown.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,