structstd.builtin.CallingConvention.MipsInterruptOptions[src]

Options for the mips_interrupt and mips64_interrupt calling conventions.

Fields

incoming_stack_alignment: ?u64 = null

The boundary the stack is aligned to when the function is called. null means the default for this calling convention.

mode: InterruptMode = .eic

The interrupt mode.

Source Code

Source code
pub const MipsInterruptOptions = struct {
    /// The boundary the stack is aligned to when the function is called.
    /// `null` means the default for this calling convention.
    incoming_stack_alignment: ?u64 = null,
    /// The interrupt mode.
    mode: InterruptMode = .eic,

    pub const InterruptMode = enum(u4) {
        eic,
        sw0,
        sw1,
        hw0,
        hw1,
        hw2,
        hw3,
        hw4,
        hw5,
    };
}