From: Peter Crosthwaite <crosthwaitepeter@gmail.com>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com,
Peter Crosthwaite <crosthwaitepeter@gmail.com>,
Peter Crosthwaite <crosthwaite.peter@gmail.com>,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>
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 [thread overview]
Message-ID: <54bef7e49dbcc4a02c504a8d57ec0b506eb453b1.1445842804.git.crosthwaite.peter@gmail.com> (raw)
In-Reply-To: <cover.1445842804.git.crosthwaite.peter@gmail.com>
In-Reply-To: <cover.1445842804.git.crosthwaite.peter@gmail.com>
From: Peter Crosthwaite <crosthwaitepeter@gmail.com>
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 <edgar.iglesias@gmail.com>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
---
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
next prev parent reply other threads:[~2015-10-26 15:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 15:27 [Qemu-devel] [PATCH v1 0/6] Multi-Arch Phase 2 Peter Crosthwaite
2015-10-26 15:27 ` [Qemu-devel] [PATCH v1 1/6] target-*: Don't redefine cpu_exec() Peter Crosthwaite
2015-10-26 15:27 ` [Qemu-devel] [PATCH v1 2/6] target-*: cpu.h: Undefine core code symbols Peter Crosthwaite
2015-10-26 15:27 ` [Qemu-devel] [PATCH v1 3/6] arm: cpu: static inline cpu_arm_init() Peter Crosthwaite
2015-10-26 15:27 ` [Qemu-devel] [PATCH v1 4/6] target-arm: Split cp helper API to new C file Peter Crosthwaite
2015-10-26 15:27 ` [Qemu-devel] [PATCH v1 5/6] hw: arm: Explicitly include cpu.h for consumers Peter Crosthwaite
2015-10-26 15:27 ` Peter Crosthwaite [this message]
2015-10-26 15:34 ` [Qemu-devel] [PATCH v1 0/6] Multi-Arch Phase 2 Paolo Bonzini
2015-10-26 16:01 ` Peter Maydell
2015-10-26 16:43 ` Peter Crosthwaite
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54bef7e49dbcc4a02c504a8d57ec0b506eb453b1.1445842804.git.crosthwaite.peter@gmail.com \
--to=crosthwaitepeter@gmail.com \
--cc=crosthwaite.peter@gmail.com \
--cc=edgar.iglesias@gmail.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).