qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] target/arm/hvf: Fix build failure due to missing cpregs.h header file
@ 2022-05-25 15:31 Stephen Michael Jothen
  0 siblings, 0 replies; only message in thread
From: Stephen Michael Jothen @ 2022-05-25 15:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: agraf

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)



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-25 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-25 15:31 [PATCH] target/arm/hvf: Fix build failure due to missing cpregs.h header file Stephen Michael Jothen

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).