| author | |
| committer | |
| log | 1585ed637d101ed16adb6b9ebdfa465299bfdb13 |
| tree | acc44ff5aaa83810e649f7ae85fba3c0f6971e52 |
| parent | 3dd0afe787e1cab4db41e685e67ce5594e92f7ef |
1 files changed, 12 insertions(+), 0 deletions(-)
lib/std/c/openbsd.zig+12| ... | @@ -1127,6 +1127,18 @@ pub usingnamespace switch (builtin.cpu.arch) { | ... | @@ -1127,6 +1127,18 @@ pub usingnamespace switch (builtin.cpu.arch) { |
| 1127 | sc_cookie: c_long, | 1127 | sc_cookie: c_long, |
| 1128 | }; | 1128 | }; |
| 1129 | }, | 1129 | }, |
| 1130 | .arm64 => struct { | ||
| 1131 | pub const ucontext_t = extern struct { | ||
| 1132 | __sc_unused: c_int, | ||
| 1133 | sc_mask: c_int, | ||
| 1134 | sc_sp: c_ulong, | ||
| 1135 | sc_lr: c_ulong, | ||
| 1136 | sc_elr: c_ulong, | ||
| 1137 | sc_spsr: c_ulong, | ||
| 1138 | sc_x: [30]c_ulong, | ||
| 1139 | sc_cookie: c_long, | ||
| 1140 | }; | ||
| 1141 | }, | ||
| 1130 | else => struct {}, | 1142 | else => struct {}, |
| 1131 | }; | 1143 | }; |
| 1132 | 1144 |