From 5ce389f2e76e8aa318ec734cc12c0f0e657a9e0e Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 30 Apr 2021 14:27:30 +0100 Subject: target/arm: Make functions used by m-nocp global We want to split out the .c.inc files which are currently included into translate.c so they are separate compilation units. To do this we need to make some functions which are currently file-local to translate.c have global scope; create a translate-a32.h paralleling the existing translate-a64.h as a place for these declarations to live, so that code moved into the new compilation units can call them. The functions made global here are those required by the m-nocp.decode functions, except that I have converted the whole family of {read,write}_neon_element* and also both the load_cpu and store_cpu functions for consistency, even though m-nocp only wants a few functions from each. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 20210430132740.10391-4-peter.maydell@linaro.org --- target/arm/translate-vfp.c.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/arm/translate-vfp.c.inc') diff --git a/target/arm/translate-vfp.c.inc b/target/arm/translate-vfp.c.inc index e20d9c7ba6..c368ada877 100644 --- a/target/arm/translate-vfp.c.inc +++ b/target/arm/translate-vfp.c.inc @@ -191,7 +191,7 @@ static bool full_vfp_access_check(DisasContext *s, bool ignore_vfp_enabled) * The most usual kind of VFP access check, for everything except * FMXR/FMRX to the always-available special registers. */ -static bool vfp_access_check(DisasContext *s) +bool vfp_access_check(DisasContext *s) { return full_vfp_access_check(s, false); } -- cgit v1.2.3