mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
29c4dfd92e
The non-rt signal handling was never really used, so we don't break anything. This patch also cleans up the signal stack-frame to make it independent from the processor configuration. It also improves the method used for controlling single-stepping. We now save and restore the 'icountlevel' register that controls single stepping and set or clear the saved state to enable or disable it. Signed-off-by: Chris Zankel <chris@zankel.net>
31 lines
646 B
C
31 lines
646 B
C
/*
|
|
* include/asm-xtensa/sigcontext.h
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* Copyright (C) 2001 - 2007 Tensilica Inc.
|
|
*/
|
|
|
|
#ifndef _XTENSA_SIGCONTEXT_H
|
|
#define _XTENSA_SIGCONTEXT_H
|
|
|
|
|
|
struct sigcontext {
|
|
unsigned long oldmask;
|
|
|
|
/* CPU registers */
|
|
unsigned long sc_pc;
|
|
unsigned long sc_ps;
|
|
unsigned long sc_lbeg;
|
|
unsigned long sc_lend;
|
|
unsigned long sc_lcount;
|
|
unsigned long sc_sar;
|
|
unsigned long sc_acclo;
|
|
unsigned long sc_acchi;
|
|
unsigned long sc_a[16];
|
|
};
|
|
|
|
#endif /* _XTENSA_SIGCONTEXT_H */
|