|
From: | Richard Henderson |
Subject: | Re: [PATCH 18/24] bsd-user/arm/target_arch_signal.h: arm machine context for signals |
Date: | Thu, 28 Oct 2021 10:04:41 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 10/19/21 9:44 AM, Warner Losh wrote:
+/* arm/arm/machdep.c */ +struct target_sigcontext { + target_sigset_t sc_mask; /* signal mask to retstore */ + int32_t sc_onstack; /* sigstack state to restore */ + abi_long sc_pc; /* pc at time of signal */ + abi_long sc_reg[32]; /* processor regs 0 to 31 */ + abi_long mullo, mulhi; /* mullo and mulhi registers */ + int32_t sc_fpused; /* fp has been used */ + abi_long sc_fpregs[33]; /* fp regs 0 to 31 & csr */ + abi_long sc_fpc_eir; /* fp exception instr reg */ + /* int32_t reserved[8]; */ +};
From the set of registers, this seems to be copied from mips. The contents of sys/arm/include/signal.h are struct sigcontext { int _dummy; }; so I'm not sure what you're doing here. r~
[Prev in Thread] | Current Thread | [Next in Thread] |