aboutsummaryrefslogtreecommitdiff
path: root/include/hw/arm/boot.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/arm/boot.h')
-rw-r--r--include/hw/arm/boot.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/hw/arm/boot.h b/include/hw/arm/boot.h
index c7ebae1..f18cc30 100644
--- a/include/hw/arm/boot.h
+++ b/include/hw/arm/boot.h
@@ -25,13 +25,16 @@ typedef enum {
* armv7m_load_kernel:
* @cpu: CPU
* @kernel_filename: file to load
+ * @mem_base: base address to load image at (should be where the
+ * CPU expects to find its vector table on reset)
* @mem_size: mem_size: maximum image size to load
*
* Load the guest image for an ARMv7M system. This must be called by
* any ARMv7M board. (This is necessary to ensure that the CPU resets
* correctly on system reset, as well as for kernel loading.)
*/
-void armv7m_load_kernel(ARMCPU *cpu, const char *kernel_filename, int mem_size);
+void armv7m_load_kernel(ARMCPU *cpu, const char *kernel_filename,
+ hwaddr mem_base, int mem_size);
/* arm_boot.c */
struct arm_boot_info {