diff options
Diffstat (limited to 'arch/sh/include/asm/suspend.h')
-rw-r--r-- | arch/sh/include/asm/suspend.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/sh/include/asm/suspend.h b/arch/sh/include/asm/suspend.h index 8eddf236fb85..702025d960a0 100644 --- a/arch/sh/include/asm/suspend.h +++ b/arch/sh/include/asm/suspend.h | |||
@@ -38,6 +38,20 @@ void sh_mobile_register_self_refresh(unsigned long flags, | |||
38 | /* register structure for address/data information */ | 38 | /* register structure for address/data information */ |
39 | struct sh_sleep_regs { | 39 | struct sh_sleep_regs { |
40 | unsigned long stbcr; | 40 | unsigned long stbcr; |
41 | |||
42 | /* MMU */ | ||
43 | unsigned long pteh; | ||
44 | unsigned long ptel; | ||
45 | unsigned long ttb; | ||
46 | unsigned long tea; | ||
47 | unsigned long mmucr; | ||
48 | unsigned long ptea; | ||
49 | unsigned long pascr; | ||
50 | unsigned long irmcr; | ||
51 | |||
52 | /* Cache */ | ||
53 | unsigned long ccr; | ||
54 | unsigned long ramcr; | ||
41 | }; | 55 | }; |
42 | 56 | ||
43 | /* data area for low-level sleep code */ | 57 | /* data area for low-level sleep code */ |
@@ -72,5 +86,6 @@ extern unsigned long sh_mobile_sleep_supported; | |||
72 | #define SUSP_SH_RSTANDBY (1 << 2) /* SH-Mobile R-standby mode */ | 86 | #define SUSP_SH_RSTANDBY (1 << 2) /* SH-Mobile R-standby mode */ |
73 | #define SUSP_SH_USTANDBY (1 << 3) /* SH-Mobile U-standby mode */ | 87 | #define SUSP_SH_USTANDBY (1 << 3) /* SH-Mobile U-standby mode */ |
74 | #define SUSP_SH_SF (1 << 4) /* Enable self-refresh */ | 88 | #define SUSP_SH_SF (1 << 4) /* Enable self-refresh */ |
89 | #define SUSP_SH_MMU (1 << 5) /* Save/restore MMU and cache */ | ||
75 | 90 | ||
76 | #endif /* _ASM_SH_SUSPEND_H */ | 91 | #endif /* _ASM_SH_SUSPEND_H */ |