Searched refs:old_cause (Results 1 – 2 of 2) sorted by relevance
1277 u32 old_cause = read_gc0_cause(); in kvm_trap_vz_handle_gsfc() local1278 u32 change = old_cause ^ val; in kvm_trap_vz_handle_gsfc()1295 change &= ~CAUSEF_WP | old_cause; in kvm_trap_vz_handle_gsfc()1297 write_gc0_cause(old_cause ^ change); in kvm_trap_vz_handle_gsfc()
1496 u32 old_cause, new_cause; in kvm_mips_emulate_CP0() local1498 old_cause = kvm_read_c0_guest_cause(cop0); in kvm_mips_emulate_CP0()1504 if ((old_cause ^ new_cause) & CAUSEF_DC) { in kvm_mips_emulate_CP0()