mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
include/exec: Split out accel/tcg/cpu-mmu-index.h
The implementation of cpu_mmu_index was split between cpu-common.h and cpu-all.h, depending on CONFIG_USER_ONLY. We already have the plumbing common to user and system mode. Using MMU_USER_IDX requires the cpu.h for a specific target, and so is restricted to when we're compiling per-target. Include the new header only where needed. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
0b6426ba6c
commit
efe25c260c
16 changed files with 56 additions and 26 deletions
|
@ -22,6 +22,7 @@
|
|||
#include "cpu.h"
|
||||
#include "qemu/module.h"
|
||||
#include "qemu/qemu-print.h"
|
||||
#include "accel/tcg/cpu-mmu-index.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "exec/translation-block.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "qemu/log.h"
|
||||
#include "cpu.h"
|
||||
#include "exec/cputlb.h"
|
||||
#include "accel/tcg/cpu-mmu-index.h"
|
||||
#include "exec/page-protection.h"
|
||||
#include "qemu/qemu-print.h"
|
||||
#include "trace.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue