]>
git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/mach/hurd/hppa/bits/sigcontext.h
1 /* Machine-dependent signal context structure for GNU Hurd. HPPA version.
2 Copyright (C) 1995, 1997 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the GNU C Library; see the file COPYING.LIB. If not,
17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. */
21 # error "Never use <bits/sigcontext.h> directly; include <signal.h> instead."
24 /* Signal handlers are actually called:
25 void handler (int sig, int code, struct sigcontext *scp); */
27 /* State of this thread when the signal was taken. */
30 /* These first members are machine-independent. */
32 int sc_onstack
; /* Nonzero if running on sigstack. */
33 __sigset_t sc_mask
; /* Blocked signals to restore. */
35 /* MiG reply port this thread is using. */
36 unsigned int sc_reply_port
;
38 /* Port this thread is doing an interruptible RPC on. */
39 unsigned int sc_intr_port
;
41 /* Error code associated with this signal (interpreted as `error_t'). */
44 /* All following members are machine-dependent. The rest of this
45 structure is written to be laid out identically to a `struct
46 parisc_thread_state'. trampoline.c knows this, so it must be
47 changed if this changes. */
49 #define sc_parisc_thread_state sc_flags /* Beginning of correspondence. */
50 /* "General" registers $1..$31. */
51 unsigned int sc_regs
[31];
53 /* Control registers. */
54 unsigned int sc_cr11
; /* sar */
55 /* These four registers make up the PC. */
56 unsigned int iioq_head
;
57 unsigned int iisq_head
;
58 unsigned int iioq_tail
;
59 unsigned int iisq_tail
;
64 unsigned int sc_cr22
; /* ipsw */
65 unsigned int sc_bsd_goto
; /* unused */
77 unsigned int sc_cr10
; /* unused */
80 unsigned int sc_cr24
; /* unused */
81 unsigned int sc_cr25
; /* unused */
82 unsigned int sc_cr26
; /* unused */
83 unsigned sc_mpsfu_high
; /* unused */
84 unsigned sc_mpsfu_low
; /* unused */
85 unsigned sc_mpsfu_ovflo
; /* unused */
88 /* Floating point registers $f0..$f31. */