[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 20/24] hw/xtensa: Include missing 'exec/cpu-common.h' in 'bootpar
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 20/24] hw/xtensa: Include missing 'exec/cpu-common.h' in 'bootparam.h' |
Date: |
Thu, 18 Apr 2024 21:25:19 +0200 |
cpu_physical_memory_write() is declared in "exec/cpu-common.h".
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/xtensa/bootparam.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/xtensa/bootparam.h b/hw/xtensa/bootparam.h
index ade7891ec5..f57ff850bc 100644
--- a/hw/xtensa/bootparam.h
+++ b/hw/xtensa/bootparam.h
@@ -1,6 +1,8 @@
#ifndef HW_XTENSA_BOOTPARAM_H
#define HW_XTENSA_BOOTPARAM_H
+#include "exec/cpu-common.h"
+
#define BP_TAG_COMMAND_LINE 0x1001 /* command line (0-terminated string)*/
#define BP_TAG_INITRD 0x1002 /* ramdisk addr and size (bp_meminfo)
*/
#define BP_TAG_MEMORY 0x1003 /* memory addr and size (bp_meminfo) */
--
2.41.0