Struct kernel::process::FunctionCall[][src]

pub struct FunctionCall {
    pub source: FunctionCallSource,
    pub argument0: usize,
    pub argument1: usize,
    pub argument2: usize,
    pub argument3: usize,
    pub pc: usize,
}
Expand description

Struct that defines a upcall that can be passed to a process. The upcall takes four arguments that are Driver and upcall specific, so they are represented generically here.

Likely these four arguments will get passed as the first four register values, but this is architecture-dependent.

A FunctionCall also identifies the upcall that scheduled it, if any, so that it can be unscheduled when the process unsubscribes from this upcall.

Fields

source: FunctionCallSourceargument0: usizeargument1: usizeargument2: usizeargument3: usizepc: usize

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.