]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Pass return code to arch_cpu_restore
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 25 Nov 2014 08:02:45 +0000 (09:02 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 8 Jan 2015 12:01:23 +0000 (13:01 +0100)
commite5589da4faa7e3f2ce116a62bd88c166c0fa9d4c
treed21805167cd8e52caa247a20753a1ebf682023b2
parent3e596af97320898b6fd1bf69d7c5e37166767fab
core: Pass return code to arch_cpu_restore

Some architectures, so far ARM, may prefer to jump directly to the
target Linux context from arch_cpu_restore. In this case we need to have
the return code at hand as well. Extend the parameter list accordingly
and document the possibility that arch_cpu_restore does not return to
the caller.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/setup.c
hypervisor/arch/x86/setup.c
hypervisor/arch/x86/svm.c
hypervisor/arch/x86/vmx.c
hypervisor/include/jailhouse/entry.h
hypervisor/setup.c