[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 6/6] hw: mb: boot Explicitly include cpu.h for co
From: |
Peter Crosthwaite |
Subject: |
[Qemu-devel] [PATCH v1 6/6] hw: mb: boot Explicitly include cpu.h for consumers |
Date: |
Mon, 26 Oct 2015 08:27:28 -0700 |
From: Peter Crosthwaite <address@hidden>
boot.c only needs cpu.h for architecture specific reasons. So include
target-microblaze/cpu.h explicitly rather than the one provided by
common code.
This prepares support for multi-arch where the common cpu.h will be
minimal and not contain any arch specifics.
Cc: Edgar E. Iglesias <address@hidden>
Signed-off-by: Peter Crosthwaite <address@hidden>
---
Changed since RFCv3:
Made commit message specific to boot.c
hw/microblaze/boot.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/microblaze/boot.h b/hw/microblaze/boot.h
index 0eb7f8e..a4d7740 100644
--- a/hw/microblaze/boot.h
+++ b/hw/microblaze/boot.h
@@ -3,6 +3,8 @@
#include "hw/hw.h"
+#include "target-microblaze/cpu.h"
+
void microblaze_load_kernel(MicroBlazeCPU *cpu, hwaddr ddr_base,
uint32_t ramsize,
const char *initrd_filename,
--
1.9.1
- [Qemu-devel] [PATCH v1 0/6] Multi-Arch Phase 2, Peter Crosthwaite, 2015/10/26
- [Qemu-devel] [PATCH v1 2/6] target-*: cpu.h: Undefine core code symbols, Peter Crosthwaite, 2015/10/26
- [Qemu-devel] [PATCH v1 3/6] arm: cpu: static inline cpu_arm_init(), Peter Crosthwaite, 2015/10/26
- [Qemu-devel] [PATCH v1 6/6] hw: mb: boot Explicitly include cpu.h for consumers,
Peter Crosthwaite <=
- [Qemu-devel] [PATCH v1 4/6] target-arm: Split cp helper API to new C file, Peter Crosthwaite, 2015/10/26
- [Qemu-devel] [PATCH v1 1/6] target-*: Don't redefine cpu_exec(), Peter Crosthwaite, 2015/10/26
- [Qemu-devel] [PATCH v1 5/6] hw: arm: Explicitly include cpu.h for consumers, Peter Crosthwaite, 2015/10/26
- Re: [Qemu-devel] [PATCH v1 0/6] Multi-Arch Phase 2, Paolo Bonzini, 2015/10/26
- Re: [Qemu-devel] [PATCH v1 0/6] Multi-Arch Phase 2, Peter Maydell, 2015/10/26