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:
parent
481594651d
commit
f8629b0cab
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user