qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Michael Jothen <sjothen@gmail.com>
To: qemu-devel@nongnu.org
Cc: agraf@csgraf.de
Subject: [PATCH] target/arm/hvf: Fix build failure due to missing cpregs.h header file
Date: Wed, 25 May 2022 17:31:11 +0200	[thread overview]
Message-ID: <Yo5Lv4Hu4jrBbGCi@air-old.local> (raw)

cpregs.h was previously split out from cpu.h into a separate file, but
I think this was forgotten to be included in hvf.c. I got a build failure
when trying to build on Apple Silicon:

[...]

../target/arm/hvf/hvf.c:591:33: error: use of undeclared identifier 'ARM_CP_NO_RAW'
            assert(!(ri->type & ARM_CP_NO_RAW));

Signed-off-by: Stephen Michael Jothen <sjothen@gmail.com>
---
 target/arm/hvf/hvf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/arm/hvf/hvf.c b/target/arm/hvf/hvf.c
index 86710509d2..6ecf4669a0 100644
--- a/target/arm/hvf/hvf.c
+++ b/target/arm/hvf/hvf.c
@@ -26,6 +26,7 @@
 #include "sysemu/cpus.h"
 #include "arm-powerctl.h"
 #include "target/arm/cpu.h"
+#include "target/arm/cpregs.h"
 #include "target/arm/internals.h"
 #include "trace/trace-target_arm_hvf.h"
 #include "migration/vmstate.h"
-- 
2.30.1 (Apple Git-130)



                 reply	other threads:[~2022-05-25 18:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=Yo5Lv4Hu4jrBbGCi@air-old.local \
    --to=sjothen@gmail.com \
    --cc=agraf@csgraf.de \
    --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).