| author | |
| committer | |
| log | fe468e4fa3538ad4de7c890b4d971f74092d9f7b |
| tree | 78a8231fb05e38cfa91cfe41b1f7875617032128 |
| parent | 42e441137765f1d2edba06e9d66e8ff905e225fb |
| signature |
6 files changed, 0 insertions(+), 73 deletions(-)
lib/std/os/linux/hexagon.zig-10| ... | ... | @@ -128,16 +128,6 @@ pub fn clone() callconv(.naked) usize { |
| 128 | 128 | ); |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | pub const restore = restore_rt; | |
| 132 | ||
| 133 | pub fn restore_rt() callconv(.naked) noreturn { | |
| 134 | asm volatile ( | |
| 135 | \\ trap0(#0) | |
| 136 | : | |
| 137 | : [number] "{r6}" (@intFromEnum(SYS.rt_sigreturn)), | |
| 138 | ); | |
| 139 | } | |
| 140 | ||
| 141 | 131 | pub const F = struct { |
| 142 | 132 | pub const DUPFD = 0; |
| 143 | 133 | pub const GETFD = 1; |
lib/std/os/linux/loongarch64.zig-11| ... | ... | @@ -135,17 +135,6 @@ pub fn clone() callconv(.naked) usize { |
| 135 | 135 | ); |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | pub const restore = restore_rt; | |
| 139 | ||
| 140 | pub fn restore_rt() callconv(.naked) noreturn { | |
| 141 | asm volatile ( | |
| 142 | \\ or $a7, $zero, %[number] | |
| 143 | \\ syscall 0 | |
| 144 | : | |
| 145 | : [number] "r" (@intFromEnum(SYS.rt_sigreturn)), | |
| 146 | ); | |
| 147 | } | |
| 148 | ||
| 149 | 138 | pub const msghdr = extern struct { |
| 150 | 139 | name: ?*sockaddr, |
| 151 | 140 | namelen: socklen_t, |
lib/std/os/linux/mips.zig-16| ... | ... | @@ -241,22 +241,6 @@ pub fn clone() callconv(.naked) usize { |
| 241 | 241 | ); |
| 242 | 242 | } |
| 243 | 243 | |
| 244 | pub fn restore() callconv(.naked) noreturn { | |
| 245 | asm volatile ( | |
| 246 | \\ syscall | |
| 247 | : | |
| 248 | : [number] "{$2}" (@intFromEnum(SYS.sigreturn)), | |
| 249 | : .{ .r1 = true, .r3 = true, .r4 = true, .r5 = true, .r6 = true, .r7 = true, .r8 = true, .r9 = true, .r10 = true, .r11 = true, .r12 = true, .r13 = true, .r14 = true, .r15 = true, .r24 = true, .r25 = true, .hi = true, .lo = true, .memory = true }); | |
| 250 | } | |
| 251 | ||
| 252 | pub fn restore_rt() callconv(.naked) noreturn { | |
| 253 | asm volatile ( | |
| 254 | \\ syscall | |
| 255 | : | |
| 256 | : [number] "{$2}" (@intFromEnum(SYS.rt_sigreturn)), | |
| 257 | ); | |
| 258 | } | |
| 259 | ||
| 260 | 244 | pub const F = struct { |
| 261 | 245 | pub const DUPFD = 0; |
| 262 | 246 | pub const GETFD = 1; |
lib/std/os/linux/mips64.zig-16| ... | ... | @@ -220,22 +220,6 @@ pub fn clone() callconv(.naked) usize { |
| 220 | 220 | ); |
| 221 | 221 | } |
| 222 | 222 | |
| 223 | pub fn restore() callconv(.naked) noreturn { | |
| 224 | asm volatile ( | |
| 225 | \\ syscall | |
| 226 | : | |
| 227 | : [number] "{$2}" (@intFromEnum(SYS.rt_sigreturn)), | |
| 228 | : .{ .r1 = true, .r3 = true, .r4 = true, .r5 = true, .r6 = true, .r7 = true, .r8 = true, .r9 = true, .r10 = true, .r11 = true, .r12 = true, .r13 = true, .r14 = true, .r15 = true, .r24 = true, .r25 = true, .hi = true, .lo = true, .memory = true }); | |
| 229 | } | |
| 230 | ||
| 231 | pub fn restore_rt() callconv(.naked) noreturn { | |
| 232 | asm volatile ( | |
| 233 | \\ syscall | |
| 234 | : | |
| 235 | : [number] "{$2}" (@intFromEnum(SYS.rt_sigreturn)), | |
| 236 | ); | |
| 237 | } | |
| 238 | ||
| 239 | 223 | pub const F = struct { |
| 240 | 224 | pub const DUPFD = 0; |
| 241 | 225 | pub const GETFD = 1; |
lib/std/os/linux/riscv32.zig-10| ... | ... | @@ -135,16 +135,6 @@ pub fn clone() callconv(.naked) usize { |
| 135 | 135 | ); |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | pub const restore = restore_rt; | |
| 139 | ||
| 140 | pub fn restore_rt() callconv(.naked) noreturn { | |
| 141 | asm volatile ( | |
| 142 | \\ ecall | |
| 143 | : | |
| 144 | : [number] "{x17}" (@intFromEnum(SYS.rt_sigreturn)), | |
| 145 | ); | |
| 146 | } | |
| 147 | ||
| 148 | 138 | pub const F = struct { |
| 149 | 139 | pub const DUPFD = 0; |
| 150 | 140 | pub const GETFD = 1; |
lib/std/os/linux/riscv64.zig-10| ... | ... | @@ -135,16 +135,6 @@ pub fn clone() callconv(.naked) usize { |
| 135 | 135 | ); |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | pub const restore = restore_rt; | |
| 139 | ||
| 140 | pub fn restore_rt() callconv(.naked) noreturn { | |
| 141 | asm volatile ( | |
| 142 | \\ ecall | |
| 143 | : | |
| 144 | : [number] "{x17}" (@intFromEnum(SYS.rt_sigreturn)), | |
| 145 | ); | |
| 146 | } | |
| 147 | ||
| 148 | 138 | pub const F = struct { |
| 149 | 139 | pub const DUPFD = 0; |
| 150 | 140 | pub const GETFD = 1; |