Trait drone_riscv::thr::ThrsInitToken[][src]

pub unsafe trait ThrsInitToken: Token {
    type Thread: SoftThread;
    type ThrTokens: Token;

    const EXCEPTION_HANDLER: u16;
    const TIMER_HANDLER: u16;
    const EXTERNAL_HANDLERS: &'static [u16];
    const TIMER_BASE: usize;
    const PLIC_BASE: usize;
}

Threads initialization token.

Safety

Associated Types

type Thread: SoftThread[src]

The thread type.

type ThrTokens: Token[src]

The set of thread tokens.

Loading content...

Associated Constants

const EXCEPTION_HANDLER: u16[src]

Exception handler.

const TIMER_HANDLER: u16[src]

Timer interrupt handler.

const EXTERNAL_HANDLERS: &'static [u16][src]

External interrupt handlers.

const TIMER_BASE: usize[src]

Base address of TIMER Memory Map.

const PLIC_BASE: usize[src]

Base address of PLIC Memory Map.

Loading content...

Implementors

Loading content...