]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h
Update.
[thirdparty/glibc.git] / sysdeps / unix / bsd / sun / sparc / bits / sigcontext.h
1 /* Structure describing state saved while handling a signal. Sparc version.
2 Copyright (C) 1992, 1994 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4
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.
9
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.
14
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
17 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
18 Cambridge, MA 02139, USA. */
19
20 struct sigcontext
21 {
22 int sc_onstack;
23 __sigset_t sc_mask;
24
25 #define SPARC_MAXREGWINDOW 31 /* Maximum usable register windows. */
26 int sc_sp, sc_pc, sc_npc, sc_psr, sc_g1, sc_o0;
27 int sc_wbcnt; /* Number of outstanding windows. */
28 __ptr_t sc_spbuf[SPARC_MAXREGWINDOW]; /* SP's for each window. */
29 int sc_wbuf[SPARC_MAXREGWINDOW][16]; /* Saved register windows. */
30 };
31