mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
tcg: Rename TCGMemOpIdx to MemOpIdx
We're about to move this out of tcg.h, so rename it as we did when moving MemOp. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
4b473e0c60
commit
9002ffcb72
25 changed files with 177 additions and 177 deletions
14
tcg/tci.c
14
tcg/tci.c
|
@ -61,7 +61,7 @@ static uint64_t tci_uint64(uint32_t high, uint32_t low)
|
|||
* i = immediate (uint32_t)
|
||||
* I = immediate (tcg_target_ulong)
|
||||
* l = label or pointer
|
||||
* m = immediate (TCGMemOpIdx)
|
||||
* m = immediate (MemOpIdx)
|
||||
* n = immediate (call return length)
|
||||
* r = register
|
||||
* s = signed ldst offset
|
||||
|
@ -105,7 +105,7 @@ static void tci_args_ri(uint32_t insn, TCGReg *r0, tcg_target_ulong *i1)
|
|||
}
|
||||
|
||||
static void tci_args_rrm(uint32_t insn, TCGReg *r0,
|
||||
TCGReg *r1, TCGMemOpIdx *m2)
|
||||
TCGReg *r1, MemOpIdx *m2)
|
||||
{
|
||||
*r0 = extract32(insn, 8, 4);
|
||||
*r1 = extract32(insn, 12, 4);
|
||||
|
@ -145,7 +145,7 @@ static void tci_args_rrrc(uint32_t insn,
|
|||
}
|
||||
|
||||
static void tci_args_rrrm(uint32_t insn,
|
||||
TCGReg *r0, TCGReg *r1, TCGReg *r2, TCGMemOpIdx *m3)
|
||||
TCGReg *r0, TCGReg *r1, TCGReg *r2, MemOpIdx *m3)
|
||||
{
|
||||
*r0 = extract32(insn, 8, 4);
|
||||
*r1 = extract32(insn, 12, 4);
|
||||
|
@ -289,7 +289,7 @@ static bool tci_compare64(uint64_t u0, uint64_t u1, TCGCond condition)
|
|||
}
|
||||
|
||||
static uint64_t tci_qemu_ld(CPUArchState *env, target_ulong taddr,
|
||||
TCGMemOpIdx oi, const void *tb_ptr)
|
||||
MemOpIdx oi, const void *tb_ptr)
|
||||
{
|
||||
MemOp mop = get_memop(oi) & (MO_BSWAP | MO_SSIZE);
|
||||
uintptr_t ra = (uintptr_t)tb_ptr;
|
||||
|
@ -374,7 +374,7 @@ static uint64_t tci_qemu_ld(CPUArchState *env, target_ulong taddr,
|
|||
}
|
||||
|
||||
static void tci_qemu_st(CPUArchState *env, target_ulong taddr, uint64_t val,
|
||||
TCGMemOpIdx oi, const void *tb_ptr)
|
||||
MemOpIdx oi, const void *tb_ptr)
|
||||
{
|
||||
MemOp mop = get_memop(oi) & (MO_BSWAP | MO_SSIZE);
|
||||
uintptr_t ra = (uintptr_t)tb_ptr;
|
||||
|
@ -482,7 +482,7 @@ uintptr_t QEMU_DISABLE_CFI tcg_qemu_tb_exec(CPUArchState *env,
|
|||
uint32_t tmp32;
|
||||
uint64_t tmp64;
|
||||
uint64_t T1, T2;
|
||||
TCGMemOpIdx oi;
|
||||
MemOpIdx oi;
|
||||
int32_t ofs;
|
||||
void *ptr;
|
||||
|
||||
|
@ -1148,7 +1148,7 @@ int print_insn_tci(bfd_vma addr, disassemble_info *info)
|
|||
tcg_target_ulong i1;
|
||||
int32_t s2;
|
||||
TCGCond c;
|
||||
TCGMemOpIdx oi;
|
||||
MemOpIdx oi;
|
||||
uint8_t pos, len;
|
||||
void *ptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue