Hi
2009/10/12 akshay ts :
> Hi,
> I want to know what is the instruction for sleeping in ARM Cortex A8.
> I did execute a WFI instruction seems to be a NOP.
> void cpu_idle()
> {
> unsigned long tmp = 0;
> asm("b 1f\n\t"
> ".align 5\n\t"
> "1:\n\t"
> "mcr p15
Hi,
I want to know what is the instruction for sleeping in ARM Cortex A8.
I did execute a WFI instruction seems to be a NOP.
void cpu_idle()
{
unsigned long tmp = 0;
asm("b 1f\n\t"
".align 5\n\t"
"1:\n\t"
"mcr p15, 0, %0, c7, c10, 5\n\t"
"mcr
2 matches
Mail list logo