pub const MipsInterruptOptions = struct incoming_stack_alignment: ?u64 = nullThe boundary the stack is aligned to when the function is called. null means the default for this calling convention.
mode: InterruptMode = .eicThe interrupt mode.
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489 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,
};
}
Options for the
mips_interruptandmips64_interruptcalling conventions.