lib: sbi: Implement system suspend
authorAndrew Jones <ajones@ventanamicro.com>
Mon, 27 Feb 2023 10:31:04 +0000 (11:31 +0100)
committerAnup Patel <anup@brainfault.org>
Mon, 27 Feb 2023 14:17:35 +0000 (19:47 +0530)
commit7c964e279cbca3bad88b2fe35217e44a73862151
treea023c567c6aeefcad4ffaaed39b91a81efd3e69a
parentc9917b610871e4f9a0142e5c37c2b698177c3291
lib: sbi: Implement system suspend

Fill the implementation of the system suspend ecall. A platform
implementation of the suspend callbacks is still required for this
to do anything.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
lib/sbi/sbi_system.c