Sign in
hafnium
/
hafnium
/
5ac05f0eb323570441b064c77af4b034733e46c4
/
.
/
src
/
arch
/
aarch64
/
vm
/
shutdown.c
blob: 8175cdfbde3eb7f7b87e4a32e2a8064d9cd819cc [
file
] [
log
] [
blame
]
#include
"vm/shutdown.h"
#include
"psci.h"
#include
"vmapi/hf/call.h"
/*
* Shutdown the system or exit emulation.
*/
noreturn
void
shutdown
(
void
)
{
hf_call
(
PSCI_SYSTEM_OFF
,
0
,
0
,
0
);
for
(;;)
{
/* This should never be reached. */
}
}