summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/suspend.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-10-30 07:24:40 +0300
committerPaul Mundt <lethal@linux-sh.org>2009-10-30 08:38:45 +0300
commitbb3e0eed9dd51987c7462bae2880a3d4d750c55a (patch)
tree3e8bb7465ab8e39c7836562dccb539817fe3c5f3 /arch/sh/include/asm/suspend.h
parent03625e7107cde46e2851557ec06426799e6ae7f2 (diff)
downloadlinux-bb3e0eed9dd51987c7462bae2880a3d4d750c55a.tar.xz
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/suspend.h')
-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,
/* register structure for address/data information */
struct sh_sleep_regs {
unsigned long stbcr;
+ unsigned long bar;
/* MMU */
unsigned long pteh;
@@ -63,10 +64,14 @@ struct sh_sleep_data {
unsigned long sf_pre;
unsigned long sf_post;
+ /* address of resume code */
+ unsigned long resume;
+
/* register state saved and restored by the assembly code */
unsigned long vbr;
unsigned long spc;
unsigned long sr;
+ unsigned long sp;
/* structure for keeping register addresses */
struct sh_sleep_regs addr;