xen/arm: Move dom0 creation in domain_build.c
authorLuca Fancellu <luca.fancellu@arm.com>
Wed, 14 Apr 2021 09:14:01 +0000 (10:14 +0100)
committerJulien Grall <jgrall@amazon.com>
Thu, 15 Apr 2021 17:06:02 +0000 (18:06 +0100)
commit7af57aefe38571cb3f5a6f06e87ebc2b6ed30293
tree4729f31a97b2375b437a9e67ab377394f1f67c76
parent3e9460ec93341fa6a80ecf99832aa5d9975339c9
xen/arm: Move dom0 creation in domain_build.c

Move dom0 create and start from setup.c to a dedicated
function in domain_build.c.

With this change, the function construct_dom0() is not
used outside of domain_build.c anymore.
So it is now a static function.

No functional changes intended.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
xen/arch/arm/domain_build.c
xen/arch/arm/setup.c
xen/include/asm-arm/setup.h