Searched refs:old_cause (Results 1 – 2 of 2) sorted by relevance
1363 u32 old_cause = read_gc0_cause(); in kvm_trap_vz_handle_gsfc() local1364 u32 change = old_cause ^ val; in kvm_trap_vz_handle_gsfc()1381 change &= ~CAUSEF_WP | old_cause; in kvm_trap_vz_handle_gsfc()1383 write_gc0_cause(old_cause ^ change); in kvm_trap_vz_handle_gsfc()
1495 u32 old_cause, new_cause; in kvm_mips_emulate_CP0() local1497 old_cause = kvm_read_c0_guest_cause(cop0); in kvm_mips_emulate_CP0()1503 if ((old_cause ^ new_cause) & CAUSEF_DC) { in kvm_mips_emulate_CP0()