qemu: Implement qemu_system_off via semihosting.
This makes the PSCI SYSTEM_OFF call work on QEMU. It assumes that QEMU has
semihosting enabled, but that is already assumed by the image loader.

Signed-off-by: Andrew Walbran <qwandor@google.com>
Change-Id: I0fb7cf7909262b675c3143efeac07f4d60730b03
1 parent 74464d5 commit 61cbd41d7914032d3df1e49c1c1efbe2f9cb4c39
@Andrew Walbran Andrew Walbran authored on 15 Jan 2020
Showing 5 changed files
View
include/lib/semihosting.h
View
lib/semihosting/semihosting.c
View
plat/qemu/common/qemu_pm.c
View
plat/qemu/qemu/platform.mk
View
plat/qemu/qemu_sbsa/platform.mk