| author | |
| committer | |
| log | 006bc5a8ca815e5c20438fa747bfbb336a6b5066 |
| tree | 8645920d485e25d11aff6f553d03cc63d1162cff |
| parent | 0f56d7afe298ae8f2b49d6c3b14fd935c971f1bb |
| signature |
The old one was correct in terms of layout but very user-hostile.1 files changed, 8 insertions(+), 3 deletions(-)
lib/std/os/linux/s390x.zig+8-3| ... | @@ -269,7 +269,12 @@ pub const ucontext_t = extern struct { | ... | @@ -269,7 +269,12 @@ pub const ucontext_t = extern struct { |
| 269 | }; | 269 | }; |
| 270 | 270 | ||
| 271 | pub const mcontext_t = extern struct { | 271 | pub const mcontext_t = extern struct { |
| 272 | __regs1: [18]u64, | 272 | psw: extern struct { |
| 273 | __regs2: [18]u32, | 273 | mask: u64, |
| 274 | __regs3: [16]f64, | 274 | addr: u64, |
| 275 | }, | ||
| 276 | gregs: [16]u64, | ||
| 277 | aregs: [16]u32, | ||
| 278 | fpc: u32, | ||
| 279 | fregs: [16]f64, | ||
| 275 | }; | 280 | }; |