[][src]Struct pspsdk_sys::sdk::SceKernelThreadKInfo

#[repr(C)]pub struct SceKernelThreadKInfo {
    pub size: SceSize,
    pub name: [c_char; 32],
    pub attr: SceUInt,
    pub status: c_int,
    pub entry: SceKernelThreadEntry,
    pub stack: *mut c_void,
    pub stackSize: c_int,
    pub kstack: *mut c_void,
    pub kstackSize: *mut c_void,
    pub gpReg: *mut c_void,
    pub args: SceSize,
    pub argp: *mut c_void,
    pub initPriority: c_int,
    pub currentPriority: c_int,
    pub waitType: c_int,
    pub waitId: SceUID,
    pub wakeupCount: c_int,
    pub runClocks: SceKernelSysClock,
    pub intrPreemptCount: SceUInt,
    pub threadPreemptCount: SceUInt,
    pub releaseCount: SceUInt,
    pub thContext: *mut SceThreadContext,
    pub vfpuContext: *mut f32,
    pub retAddr: *mut c_void,
    pub unknown1: SceUInt,
    pub scContext: *mut SceSCContext,
}

Structure to hold the status information for a thread (kernel form) 1.5 form

Fields

size: SceSize

Size of the structure

name: [c_char; 32]

Nul terminated name of the thread

attr: SceUInt

Thread attributes

status: c_int

Thread status

entry: SceKernelThreadEntry

Thread entry point

stack: *mut c_void

Thread stack pointer

stackSize: c_int

Thread stack size

kstack: *mut c_void

Kernel stack pointer

kstackSize: *mut c_void

Kernel stack size

gpReg: *mut c_void

Pointer to the gp

args: SceSize

Size of args

argp: *mut c_void

Pointer to args

initPriority: c_int

Initial priority

currentPriority: c_int

Current priority

waitType: c_int

Wait type

waitId: SceUID

Wait id

wakeupCount: c_int

Wakeup count

runClocks: SceKernelSysClock

Number of clock cycles run

intrPreemptCount: SceUInt

Interrupt preemption count

threadPreemptCount: SceUInt

Thread preemption count

releaseCount: SceUInt

Release count

thContext: *mut SceThreadContext

Thread Context

vfpuContext: *mut f32

VFPU Context

retAddr: *mut c_void

Return address from syscall

unknown1: SceUInt

Unknown, possibly size of SC context

scContext: *mut SceSCContext

Syscall Context

Trait Implementations

impl Clone for SceKernelThreadKInfo[src]

impl Copy for SceKernelThreadKInfo[src]

impl Debug for SceKernelThreadKInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.