0b2cca804e
This adds a function to put a 6xx/7xx/7xxx/83xx family CPU into sleep mode, and return after an interrupt has occurred. It expects to be called with interrupts disabled, and returns with interrupts disabled. Interrupts are enabled while the processor is asleep, but the interrupt that wakes the processor is not handled; it is still pending when this function returns. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
7 lines
104 B
C
7 lines
104 B
C
#ifndef __ASM_POWERPC_MPC6xx_H
|
|
#define __ASM_POWERPC_MPC6xx_H
|
|
|
|
void mpc6xx_enter_standby(void);
|
|
|
|
#endif
|