+riscv64.ha (351B)
1 // SPDX-License-Identifier: MPL-2.0 2 // (c) Hare authors <https://harelang.org> 3 4 export type sigcontext = struct { 5 __sc_unused: int, 6 sc_mask: int, 7 8 sc_ra: u64, 9 sc_sp: u64, 10 sc_gp: u64, 11 sc_tp: u64, 12 sc_t: [7]u64, 13 sc_s: [12]u64, 14 sc_a: [8]u64, 15 sc_sepc: u64, 16 17 sc_f: [32]u64, 18 sc_fcsr: u64, 19 20 sc_cookie: u64, 21 }; 22 23 export type ucontext = sigcontext;