[−][src]Struct sunrise_libkern::process::ProcInfo
Informations necessary for the create_process syscall.
Fields
name: [u8; 12]Name of the process (as seen by debuggers).
process_category: ProcessCategoryCategory of the process. Should always be RegularTitle.
title_id: u64TitleId of the process (as seen by svcGetInfo and debuggers).
code_addr: u64Address where the main module's code will be loaded. Must be 21-bit aligned and fall within the "code allowed region", as follows:
- For 32-bit address space: 0x00200000-0x003FFFFFFF
- For 36-bit address space: 0x08000000-0x007FFFFFFF
- For 39-bit address space: 0x08000000-0x7FFFFFFFFF
code_num_pages: u32Number of pages to allocate for code.
flags: ProcInfoFlagsMiscelaneous flags
resource_limit_handle: Option<NonZeroU32>Resource limit to use for this process. If None, will use the sysmodule resource limit and 0x12300000 bytes of memory.
system_resource_num_pages: u32Maximum amount of kernel memory used to create the process. If 0, then there is no limit.
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>,