mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
softmmu: commonize helper definitions
They do not need to be in op_helper.c. Because cputlb.c now includes softmmu_template.h twice for each size, io_readX must be elided the second time through. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d94f0a8ecb
commit
0f590e749f
18 changed files with 19 additions and 220 deletions
|
@ -30,20 +30,7 @@
|
|||
#include "qemu/host-utils.h"
|
||||
#include "exec/softmmu_exec.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
#define MMUSUFFIX _mmu
|
||||
|
||||
#define SHIFT 0
|
||||
#include "exec/softmmu_template.h"
|
||||
|
||||
#define SHIFT 1
|
||||
#include "exec/softmmu_template.h"
|
||||
|
||||
#define SHIFT 2
|
||||
#include "exec/softmmu_template.h"
|
||||
|
||||
#define SHIFT 3
|
||||
#include "exec/softmmu_template.h"
|
||||
#include "qemu/timer.h"
|
||||
|
||||
void xtensa_cpu_do_unaligned_access(CPUState *cs,
|
||||
vaddr addr, int is_write, int is_user, uintptr_t retaddr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue