target/arm: Make functions used by m-nocp global
commit5ce389f2e76e8aa318ec734cc12c0f0e657a9e0e
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 30 Apr 2021 13:27:30 +0000 (30 14:27 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 10 May 2021 12:24:09 +0000 (10 13:24 +0100)
tree8300a0631decf19dafb100e304455f619c5dcc8f
parentd9318a5f9c32225a9d5365758ae5a329b55de2fe
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 <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210430132740.10391-4-peter.maydell@linaro.org
target/arm/translate-a32.h [new file with mode: 0644]
target/arm/translate-vfp.c.inc
target/arm/translate.c