aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-10-30 00:24:40 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-10-30 01:38:45 -0400
commitbb3e0eed9dd51987c7462bae2880a3d4d750c55a (patch)
tree3e8bb7465ab8e39c7836562dccb539817fe3c5f3 /arch/sh/include/asm
parent03625e7107cde46e2851557ec06426799e6ae7f2 (diff)
sh: Add R-standby sleep mode support
Add R-standby specific bits to the SuperH Mobile sleep code. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm')
-rw-r--r--arch/sh/include/asm/suspend.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/include/asm/suspend.h b/arch/sh/include/asm/suspend.h
index 702025d960a0..fe9c2a1ad047 100644
--- a/arch/sh/include/asm/suspend.h
+++ b/arch/sh/include/asm/suspend.h
@@ -38,6 +38,7 @@ void sh_mobile_register_self_refresh(unsigned long flags,
38/* register structure for address/data information */ 38/* register structure for address/data information */
39struct sh_sleep_regs { 39struct sh_sleep_regs {
40 unsigned long stbcr; 40 unsigned long stbcr;
41 unsigned long bar;
41 42
42 /* MMU */ 43 /* MMU */
43 unsigned long pteh; 44 unsigned long pteh;
@@ -63,10 +64,14 @@ struct sh_sleep_data {
63 unsigned long sf_pre; 64 unsigned long sf_pre;
64 unsigned long sf_post; 65 unsigned long sf_post;
65 66
67 /* address of resume code */
68 unsigned long resume;
69
66 /* register state saved and restored by the assembly code */ 70 /* register state saved and restored by the assembly code */
67 unsigned long vbr; 71 unsigned long vbr;
68 unsigned long spc; 72 unsigned long spc;
69 unsigned long sr; 73 unsigned long sr;
74 unsigned long sp;
70 75
71 /* structure for keeping register addresses */ 76 /* structure for keeping register addresses */
72 struct sh_sleep_regs addr; 77 struct sh_sleep_regs addr;