proc-sa1100.S (cdccfc8dc0bf62a1da327324a8d639139acc9279) | proc-sa1100.S (29ea23ff905d07d8559bac69cca46f4bbf20038c) |
---|---|
1/* 2 * linux/arch/arm/mm/proc-sa1100.S 3 * 4 * Copyright (C) 1997-2002 Russell King 5 * hacked for non-paged-MM by Hyok S. Choi, 2003. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 157 unchanged lines hidden (view full) --- 166 mov r0, r0 167 mcr p15, 0, r0, c7, c10, 1 @ clean D entry 168 mcr p15, 0, r0, c7, c10, 4 @ drain WB 169#endif 170 mov pc, lr 171 172.globl cpu_sa1100_suspend_size 173.equ cpu_sa1100_suspend_size, 4*4 | 1/* 2 * linux/arch/arm/mm/proc-sa1100.S 3 * 4 * Copyright (C) 1997-2002 Russell King 5 * hacked for non-paged-MM by Hyok S. Choi, 2003. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 157 unchanged lines hidden (view full) --- 166 mov r0, r0 167 mcr p15, 0, r0, c7, c10, 1 @ clean D entry 168 mcr p15, 0, r0, c7, c10, 4 @ drain WB 169#endif 170 mov pc, lr 171 172.globl cpu_sa1100_suspend_size 173.equ cpu_sa1100_suspend_size, 4*4 |
174#ifdef CONFIG_PM | 174#ifdef CONFIG_PM_SLEEP |
175ENTRY(cpu_sa1100_do_suspend) 176 stmfd sp!, {r4 - r7, lr} 177 mrc p15, 0, r4, c3, c0, 0 @ domain ID 178 mrc p15, 0, r5, c2, c0, 0 @ translation table base addr 179 mrc p15, 0, r6, c13, c0, 0 @ PID 180 mrc p15, 0, r7, c1, c0, 0 @ control reg 181 stmia r0, {r4 - r7} @ store cp regs 182 ldmfd sp!, {r4 - r7, pc} --- 150 unchanged lines hidden --- | 175ENTRY(cpu_sa1100_do_suspend) 176 stmfd sp!, {r4 - r7, lr} 177 mrc p15, 0, r4, c3, c0, 0 @ domain ID 178 mrc p15, 0, r5, c2, c0, 0 @ translation table base addr 179 mrc p15, 0, r6, c13, c0, 0 @ PID 180 mrc p15, 0, r7, c1, c0, 0 @ control reg 181 stmia r0, {r4 - r7} @ store cp regs 182 ldmfd sp!, {r4 - r7, pc} --- 150 unchanged lines hidden --- |