[PATCH 1/5] bsps/arm: Add zImage boot header
Jeff Kubascik
jeff.kubascik at dornerworks.com
Mon Dec 2 18:58:13 UTC 2019
Xen currently only supports the zImage loader for 32 bit guests on ARM
targets.
---
bsps/arm/shared/start/start.S | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S
index 0e9e6a0cde..3547ec5a9a 100644
--- a/bsps/arm/shared/start/start.S
+++ b/bsps/arm/shared/start/start.S
@@ -40,6 +40,17 @@
.section ".bsp_start_text", "ax"
+#ifdef BSP_START_ZIMAGE_HEADER
+.rept 8
+ mov r0, r0
+.endr
+ b after_header
+ .word 0x016f2818 /* Magic numbers to help the loader */
+ .word bsp_section_start_begin /* zImage start address */
+ .word bsp_section_data_end /* zImage end address */
+after_header:
+#endif /* BSP_START_ZIMAGE_HEADER */
+
#if defined(ARM_MULTILIB_ARCH_V4)
#ifdef BSP_START_IN_HYP_SUPPORT
--
2.17.1
More information about the devel
mailing list