proc-arm926.S (cdccfc8dc0bf62a1da327324a8d639139acc9279) | proc-arm926.S (29ea23ff905d07d8559bac69cca46f4bbf20038c) |
---|---|
1/* 2 * linux/arch/arm/mm/proc-arm926.S: MMU functions for ARM926EJ-S 3 * 4 * Copyright (C) 1999-2001 ARM Limited 5 * Copyright (C) 2000 Deep Blue Solutions Ltd. 6 * hacked for non-paged-MM by Hyok S. Choi, 2003. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 390 unchanged lines hidden (view full) --- 399#endif 400 mcr p15, 0, r0, c7, c10, 4 @ drain WB 401#endif 402 mov pc, lr 403 404/* Suspend/resume support: taken from arch/arm/plat-s3c24xx/sleep.S */ 405.globl cpu_arm926_suspend_size 406.equ cpu_arm926_suspend_size, 4 * 3 | 1/* 2 * linux/arch/arm/mm/proc-arm926.S: MMU functions for ARM926EJ-S 3 * 4 * Copyright (C) 1999-2001 ARM Limited 5 * Copyright (C) 2000 Deep Blue Solutions Ltd. 6 * hacked for non-paged-MM by Hyok S. Choi, 2003. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 390 unchanged lines hidden (view full) --- 399#endif 400 mcr p15, 0, r0, c7, c10, 4 @ drain WB 401#endif 402 mov pc, lr 403 404/* Suspend/resume support: taken from arch/arm/plat-s3c24xx/sleep.S */ 405.globl cpu_arm926_suspend_size 406.equ cpu_arm926_suspend_size, 4 * 3 |
407#ifdef CONFIG_PM | 407#ifdef CONFIG_PM_SLEEP |
408ENTRY(cpu_arm926_do_suspend) 409 stmfd sp!, {r4 - r7, lr} 410 mrc p15, 0, r4, c13, c0, 0 @ PID 411 mrc p15, 0, r5, c3, c0, 0 @ Domain ID 412 mrc p15, 0, r6, c2, c0, 0 @ TTB address 413 mrc p15, 0, r7, c1, c0, 0 @ Control register 414 stmia r0, {r4 - r7} 415 ldmfd sp!, {r4 - r7, pc} --- 127 unchanged lines hidden --- | 408ENTRY(cpu_arm926_do_suspend) 409 stmfd sp!, {r4 - r7, lr} 410 mrc p15, 0, r4, c13, c0, 0 @ PID 411 mrc p15, 0, r5, c3, c0, 0 @ Domain ID 412 mrc p15, 0, r6, c2, c0, 0 @ TTB address 413 mrc p15, 0, r7, c1, c0, 0 @ Control register 414 stmia r0, {r4 - r7} 415 ldmfd sp!, {r4 - r7, pc} --- 127 unchanged lines hidden --- |