[−][src]Enum sunrise_libkern::MemoryType
The type of this memory area.
May be used to figure out how the memory area was created.
Variants
Nothing is stored there. Accessing it will page fault. An allocation can use this region.
Mapped by the kernel during process creation, for every IO region in the NPDM.
Mapped by the kernel during process creation, for every Normal region in the NPDM.
Mapped by the kernel during process creation, at the address and of the
size given by the user in the CreateProcessInfo
.
Transitioned from CodeStatic in svcSetProcessMemoryPermission
.
Mapped using svcSetHeapSize
.
Mapped using svcMapSharedMemory
.
Mapped by using svcMapMemory
to remap memory into the Alias region.
1.0.0 only!
Mapped using svcMapProcessCodeMemory
.
Transitioned from ModuleCodeStatic in svcSetProcessMemoryPermission
.
IPC buffers with descriptor flags=0.
Mapped by using svcMapMemory
to remap memory into the Stack region.
Mapped by the kernel during process creation. The TLS region is allocated there.
Mapped using svcMapTransferMemory
when the owning process has perm = 0.
Mapped using svcMapTransferMemory
when the owning process has perm != 0.
Mapped using svcMapProcessMemory
.
Reserved for kernel use.
IPC buffers with descriptor flags=1.
IPC buffers with descriptor flags=3.
Mapped by the kernel during svcCreateThread. Unused.
Mapped with svcControlCodeMemory
.
Mapped with svcControlCodeMemory
.
Implementations
impl MemoryType
[src]
pub fn get_memory_state(self) -> MemoryState
[src]
Get the MemoryState associated with a MemoryType.
Trait Implementations
impl Clone for MemoryType
[src]
fn clone(&self) -> MemoryType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MemoryType
[src]
impl Debug for MemoryType
[src]
impl Eq for MemoryType
[src]
impl PartialEq<MemoryType> for MemoryType
[src]
fn eq(&self, other: &MemoryType) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for MemoryType
[src]
impl StructuralPartialEq for MemoryType
[src]
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>,