pub const RiscvInterruptOptions = 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: PrivilegeModeThe privilege mode.
492
493
494
495
496
497
498
499
500
501
502
503 pub const RiscvInterruptOptions = 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 privilege mode.
mode: PrivilegeMode,
pub const PrivilegeMode = enum(u2) {
supervisor,
machine,
};
}
Options for the
riscv32_interruptandriscv64_interruptcalling conventions.