sh: Provide common CPU headers, prune the SH-2 and SH-2A directories.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
17
arch/sh/include/cpu-common/cpu/sigcontext.h
Normal file
17
arch/sh/include/cpu-common/cpu/sigcontext.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef __ASM_CPU_SH2_SIGCONTEXT_H
|
||||
#define __ASM_CPU_SH2_SIGCONTEXT_H
|
||||
|
||||
struct sigcontext {
|
||||
unsigned long oldmask;
|
||||
|
||||
/* CPU registers */
|
||||
unsigned long sc_regs[16];
|
||||
unsigned long sc_pc;
|
||||
unsigned long sc_pr;
|
||||
unsigned long sc_sr;
|
||||
unsigned long sc_gbr;
|
||||
unsigned long sc_mach;
|
||||
unsigned long sc_macl;
|
||||
};
|
||||
|
||||
#endif /* __ASM_CPU_SH2_SIGCONTEXT_H */
|
Reference in New Issue
Block a user