struct RiscvInterruptOptions [src]

Options for the riscv32_interrupt and riscv64_interrupt calling conventions.

Fields

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.

Members

Source

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, }; }