mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
std.os.linux: improve the s390x mcontext_t definition
The old one was correct in terms of layout but very user-hostile.
This commit is contained in:
parent
0f56d7afe2
commit
006bc5a8ca
@ -269,7 +269,12 @@ pub const ucontext_t = extern struct {
|
||||
};
|
||||
|
||||
pub const mcontext_t = extern struct {
|
||||
__regs1: [18]u64,
|
||||
__regs2: [18]u32,
|
||||
__regs3: [16]f64,
|
||||
psw: extern struct {
|
||||
mask: u64,
|
||||
addr: u64,
|
||||
},
|
||||
gregs: [16]u64,
|
||||
aregs: [16]u32,
|
||||
fpc: u32,
|
||||
fregs: [16]f64,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user