diff options
author | Peter Maydell | 2019-02-05 17:52:41 +0100 |
---|---|---|
committer | Peter Maydell | 2019-02-05 17:52:41 +0100 |
commit | d33774ee446569162a8ab8b4d43606b049207b80 (patch) | |
tree | 6808257c09daf118889f4427e372c6587adc2904 /hw/arm/virt.c | |
parent | hw/arm/boot: Fix block comment style in arm_load_kernel() (diff) | |
download | qemu-d33774ee446569162a8ab8b4d43606b049207b80.tar.gz qemu-d33774ee446569162a8ab8b4d43606b049207b80.tar.xz qemu-d33774ee446569162a8ab8b4d43606b049207b80.zip |
hw/arm/boot: Factor out "direct kernel boot" code into its own function
Factor out the "direct kernel boot" code path from arm_load_kernel()
into its own function; this function is getting long enough that
the code flow is a bit confusing.
This commit only moves code around; no semantic changes.
We leave the "load the dtb" code in arm_load_kernel() -- this
is currently only used by the "direct kernel boot" path, but
this is a bug which we will fix shortly.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20190131112240.8395-3-peter.maydell@linaro.org
Diffstat (limited to 'hw/arm/virt.c')
0 files changed, 0 insertions, 0 deletions