Try to put the CPU into a low power state if we failed to otherwise halt

the system.

Obtained from:	ABT Systems Ltd
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
andrew 2015-07-31 15:54:34 +00:00
parent 481594651d
commit f8629b0cab

View File

@ -376,7 +376,11 @@ void
cpu_halt(void)
{
panic("ARM64TODO: cpu_halt");
/* We should have shutdown by now, if not enter a low power sleep */
intr_disable();
while (1) {
__asm __volatile("wfi");
}
}
/*