signal.c (bb76f8e27570337f87f01414fb303d760753c587) signal.c (a1367443bac790c8385aca008f4b3bf9eaa8c137)
1/*
2 * Emulation of Linux signals
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 200 unchanged lines hidden (view full) ---

209 abi_ulong puc;
210 struct target_siginfo info;
211 struct target_ucontext uc;
212 char retcode[8];
213 struct target_fpstate fpstate QEMU_ALIGNED(8);
214};
215#define TARGET_RT_SIGFRAME_FXSAVE_OFFSET ( \
216 offsetof(struct rt_sigframe, fpstate) + TARGET_FPSTATE_FXSAVE_OFFSET)
1/*
2 * Emulation of Linux signals
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 200 unchanged lines hidden (view full) ---

209 abi_ulong puc;
210 struct target_siginfo info;
211 struct target_ucontext uc;
212 char retcode[8];
213 struct target_fpstate fpstate QEMU_ALIGNED(8);
214};
215#define TARGET_RT_SIGFRAME_FXSAVE_OFFSET ( \
216 offsetof(struct rt_sigframe, fpstate) + TARGET_FPSTATE_FXSAVE_OFFSET)
217
218/*
219 * Verify that vdso-asmoffset.h constants match.
220 */
221#include "i386/vdso-asmoffset.h"
222
223QEMU_BUILD_BUG_ON(offsetof(struct sigframe, sc.eip)
224 != SIGFRAME_SIGCONTEXT_eip);
225QEMU_BUILD_BUG_ON(offsetof(struct rt_sigframe, uc.tuc_mcontext.eip)
226 != RT_SIGFRAME_SIGCONTEXT_eip);
227
217#else
218
219struct rt_sigframe {
220 abi_ulong pretcode;
221 struct target_ucontext uc;
222 struct target_siginfo info;
223 struct target_fpstate fpstate QEMU_ALIGNED(16);
224};

--- 502 unchanged lines hidden ---
228#else
229
230struct rt_sigframe {
231 abi_ulong pretcode;
232 struct target_ucontext uc;
233 struct target_siginfo info;
234 struct target_fpstate fpstate QEMU_ALIGNED(16);
235};

--- 502 unchanged lines hidden ---