OSDN Git Service

target/arm: Move get_phys_addr to ptw.c
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 8 Jun 2022 18:38:48 +0000 (19:38 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 8 Jun 2022 18:38:48 +0000 (19:38 +0100)
commit8ae0886002aaf917601701df933617b2449e94b5
tree7abb7871ee8da29484f86d7cb1b30d4afd478751
parentd8cca960a9a5dbd216d2331cef3cc72f2c7338e0
target/arm: Move get_phys_addr to ptw.c

Begin moving all of the page table walking functions
out of helper.c, starting with get_phys_addr().

Create a temporary header file, "ptw.h", in which to
share declarations between the two C files while we
are moving functions.

Move a few declarations to "internals.h", which will
remain used by multiple C files.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220604040607.269301-3-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c
target/arm/internals.h
target/arm/meson.build
target/arm/ptw.c [new file with mode: 0644]
target/arm/ptw.h [new file with mode: 0644]