OSDN Git Service

accel/tcg: Move PageDesc tree into tb-maint.c for system
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 6 Oct 2022 00:22:42 +0000 (17:22 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 21 Dec 2022 01:11:12 +0000 (17:11 -0800)
commitbabcbc220ba658b30a43da5e88284a499c17da3e
treef9918f7d5a57acbd3b8941bbfde3152e6991cd8e
parent67ff2186b0a49d4e1ea0be2398548eae443762e4
accel/tcg: Move PageDesc tree into tb-maint.c for system

Now that PageDesc is not used for user-only, and for system
it is only used for tb maintenance, move the implementation
into tb-main.c appropriately ifdefed.

We have not yet eliminated all references to PageDesc for
user-only, so retain a typedef to the structure without definition.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/internal.h
accel/tcg/tb-maint.c
accel/tcg/translate-all.c