standby.s

来自「linux-2.6.15.6」· S 代码 · 共 33 行

S
33
字号
/* * PXA27x standby mode * * Author: David Burrage * * 2005 (c) MontaVista Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is" without any warranty of any kind, whether express * or implied. */#include <linux/config.h>#include <linux/linkage.h>#include <asm/assembler.h>#include <asm/hardware.h>#include <asm/arch/pxa-regs.h>		.textENTRY(pxa_cpu_standby)	ldr	r0, =PSSR	mov	r1, #(PSSR_PH | PSSR_STS)	mov	r2, #PWRMODE_STANDBY	mov	r3, #UNCACHED_PHYS_0	@ Read mem context in.	ldr	ip, [r3]	b	1f	.align	51:	mcr	p14, 0, r2, c7, c0, 0	@ put the system into Standby	str	r1, [r0]		@ make sure PSSR_PH/STS are clear	mov	pc, lr

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?