diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-m32r/sigcontext.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-m32r/sigcontext.h')
-rw-r--r-- | include/asm-m32r/sigcontext.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/include/asm-m32r/sigcontext.h b/include/asm-m32r/sigcontext.h new file mode 100644 index 000000000000..c233e2def2a3 --- /dev/null +++ b/include/asm-m32r/sigcontext.h | |||
@@ -0,0 +1,50 @@ | |||
1 | #ifndef _ASM_M32R_SIGCONTEXT_H | ||
2 | #define _ASM_M32R_SIGCONTEXT_H | ||
3 | |||
4 | /* $Id$ */ | ||
5 | |||
6 | #include <linux/config.h> | ||
7 | |||
8 | struct sigcontext { | ||
9 | /* CPU registers */ | ||
10 | /* Saved main processor registers. */ | ||
11 | unsigned long sc_r4; | ||
12 | unsigned long sc_r5; | ||
13 | unsigned long sc_r6; | ||
14 | struct pt_regs *sc_pt_regs; | ||
15 | unsigned long sc_r0; | ||
16 | unsigned long sc_r1; | ||
17 | unsigned long sc_r2; | ||
18 | unsigned long sc_r3; | ||
19 | unsigned long sc_r7; | ||
20 | unsigned long sc_r8; | ||
21 | unsigned long sc_r9; | ||
22 | unsigned long sc_r10; | ||
23 | unsigned long sc_r11; | ||
24 | unsigned long sc_r12; | ||
25 | |||
26 | /* Saved main processor status and miscellaneous context registers. */ | ||
27 | #if defined(CONFIG_ISA_M32R2) && defined(CONFIG_ISA_DSP_LEVEL2) | ||
28 | unsigned long sc_acc0h; | ||
29 | unsigned long sc_acc0l; | ||
30 | unsigned long sc_acc1h; | ||
31 | unsigned long sc_acc1l; | ||
32 | #elif defined(CONFIG_ISA_M32R2) || defined(CONFIG_ISA_M32R) | ||
33 | unsigned long sc_acch; | ||
34 | unsigned long sc_accl; | ||
35 | #else | ||
36 | #error unknown isa configuration | ||
37 | #endif | ||
38 | unsigned long sc_psw; | ||
39 | unsigned long sc_bpc; /* saved PC for TRAP syscalls */ | ||
40 | unsigned long sc_bbpsw; | ||
41 | unsigned long sc_bbpc; | ||
42 | unsigned long sc_spu; /* saved user stack */ | ||
43 | unsigned long sc_fp; | ||
44 | unsigned long sc_lr; /* saved PC for JL syscalls */ | ||
45 | unsigned long sc_spi; /* saved kernel stack */ | ||
46 | |||
47 | unsigned long oldmask; | ||
48 | }; | ||
49 | |||
50 | #endif /* _ASM_M32R_SIGCONTEXT_H */ | ||