mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-11 01:45:31 +00:00
target-arm: Get rid of unused variable warnings
This commit is contained in:
parent
87130fc884
commit
88af0b0153
|
@ -235,8 +235,7 @@ static void aarch64_cpu_finalizefn(struct uc_struct *uc, Object *obj, void *opaq
|
|||
|
||||
static void aarch64_cpu_set_pc(CPUState *cs, vaddr value)
|
||||
{
|
||||
CPUARMState *env = cs->env_ptr;
|
||||
ARMCPU *cpu = ARM_CPU(env->uc, cs);
|
||||
ARMCPU *cpu = ARM_CPU(cs->uc, cs);
|
||||
/* It's OK to look at env for the current mode here, because it's
|
||||
* never possible for an AArch64 TB to chain to an AArch32 TB.
|
||||
* (Otherwise we would need to use synchronize_from_tb instead.)
|
||||
|
|
|
@ -5357,7 +5357,6 @@ void aarch64_sync_64_to_32(CPUARMState *env)
|
|||
static void arm_cpu_do_interrupt_aarch32_(CPUState *cs)
|
||||
{
|
||||
CPUARMState *env = cs->env_ptr;
|
||||
ARMCPU *cpu = ARM_CPU(env->uc, cs);
|
||||
uint32_t addr;
|
||||
uint32_t mask;
|
||||
int new_mode;
|
||||
|
@ -5513,7 +5512,6 @@ static void arm_cpu_do_interrupt_aarch32_(CPUState *cs)
|
|||
static void arm_cpu_do_interrupt_aarch64_(CPUState *cs)
|
||||
{
|
||||
CPUARMState *env = cs->env_ptr;
|
||||
ARMCPU *cpu = ARM_CPU(env->uc, cs);
|
||||
unsigned int new_el = env->exception.target_el;
|
||||
target_ulong addr = env->cp15.vbar_el[new_el];
|
||||
unsigned int new_mode = aarch64_pstate_mode(new_el, true);
|
||||
|
|
Loading…
Reference in a new issue