Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
target/arm/tcg/translate-m-nocp.c | 2 ++
target/arm/tcg/meson.build | 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/target/arm/tcg/translate-m-nocp.c b/target/arm/tcg/translate-m-nocp.c
index b92773b4af5..bc9efd2bbd0 100644
--- a/target/arm/tcg/translate-m-nocp.c
+++ b/target/arm/tcg/translate-m-nocp.c
@@ -18,6 +18,8 @@
*/
#include "qemu/osdep.h"
+
+#define TARGET_ADDRESS_BITS 32
#include "translate.h"
#include "translate-a32.h"
diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build
index 24276f24dc0..318a951e4d9 100644
--- a/target/arm/tcg/meson.build
+++ b/target/arm/tcg/meson.build
@@ -27,7 +27,6 @@ arm_ss.add(files(
'cpu32.c',
'gengvec.c',
'translate.c',
- 'translate-m-nocp.c',
'm_helper.c',
'mve_helper.c',
'op_helper.c',
@@ -61,6 +60,7 @@ arm_common_system_ss.add(
decodetree.process('vfp.decode', extra_args: '--decode=disas_vfp'),
decodetree.process('vfp-uncond.decode', extra_args: '--decode=disas_vfp_uncond'),
decodetree.process('mve.decode', extra_args: '--decode=disas_mve'),
+ decodetree.process('m-nocp.decode', extra_args: '--decode=disas_m_nocp'),
decodetree.process('neon-shared.decode', extra_args: '--decode=disas_neon_shared'),
decodetree.process('neon-dp.decode', extra_args: '--decode=disas_neon_dp'),
decodetree.process('neon-ls.decode', extra_args: '--decode=disas_neon_ls'),
@@ -71,6 +71,7 @@ arm_common_system_ss.add(
'psci.c',
'tlb_helper.c',
'tlb-insns.c',
+ 'translate-m-nocp.c',
'translate-mve.c',
'translate-neon.c',
'translate-vfp.c',
@@ -81,6 +82,7 @@ arm_user_ss.add(files(
'hflags.c',
'neon_helper.c',
'tlb_helper.c',
+ 'translate-m-nocp.c',
'translate-mve.c',
'translate-neon.c',
'translate-vfp.c',
--
2.47.3