summary refs log tree commit diff stats
path: root/hw/intc/loongarch_ipi.c
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2024-05-08 10:31:09 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-05-09 00:07:21 +0200
commit5b1a3b9f8c0fbcd2420977678601948d7573c809 (patch)
tree5b8cc0f07f4b71c8d49ad10e86aa8af3ceef0202 /hw/intc/loongarch_ipi.c
parentd804ad98f51cc6ae795ff9c9890db66bae513214 (diff)
downloadfocaccia-qemu-5b1a3b9f8c0fbcd2420977678601948d7573c809.tar.gz
focaccia-qemu-5b1a3b9f8c0fbcd2420977678601948d7573c809.zip
hw/mips/loongson3_virt: Emulate suspend function
Suspend function is emulated as what hardware actually do.
Doorbell register fields are updates to include suspend value,
suspend vector is encoded in firmware blob and fw_cfg is updated
to include S3 bits as what x86 did.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-ID: <20240508-loongson3v-suspend-v1-1-186725524a39@flygoat.com>
[PMD: Use g_memdup2(), constify suspend array]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/intc/loongarch_ipi.c')
0 files changed, 0 insertions, 0 deletions