[−][src]Struct sunrise_libuser::syscalls::ProcInfo
Informations necessary for the create_process syscall.
Fields
name: [u8; 12]
Name of the process (as seen by debuggers).
process_category: ProcessCategory
Category of the process. Should always be RegularTitle.
title_id: u64
TitleId of the process (as seen by svcGetInfo and debuggers).
code_addr: u64
Address 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: u32
Number of pages to allocate for code.
flags: ProcInfoFlags
Miscelaneous 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: u32
Maximum amount of kernel memory used to create the process. If 0, then there is no limit.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProcInfo
impl Send for ProcInfo
impl Sync for ProcInfo
impl Unpin for ProcInfo
impl UnwindSafe for ProcInfo
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> SizedIPCBuffer for T
[src]
fn size(&Self) -> usize
[src]
fn is_cool(usize, usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(usize, usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(usize, usize) -> &'a mut T
[src]
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>,