Home
last modified time | relevance | path

Searched refs:fault (Results 1 – 4 of 4) sorted by relevance

/kvm-unit-tests/x86/
H A Dlam.c85 bool lam_active, fault; in test_ptr() local
89 fault = test_for_exception(GP_VECTOR, do_mov, ptr); in test_ptr()
90 report(!fault, "Expected access to untagged address for %s to succeed", in test_ptr()
94 fault = test_for_exception(GP_VECTOR, do_mov, ptr); in test_ptr()
95 report(fault != lam_active, "Expected access to tagged address for %s %s LAM to %s", in test_ptr()
105 fault = test_for_exception(GP_VECTOR, do_mov, ptr); in test_ptr()
106 report(fault, "Expected access to non-LAM-canonical address for %s to #GP", in test_ptr()
H A Daccess.c536 goto fault; in ac_emulate_access()
562 goto fault; in ac_emulate_access()
573 fault: in ac_emulate_access()
776 int fault = 0; in ac_test_do_access() local
809 : [reg]"=r"(r), [fault]"=a"(fault), "=b"(e) in ac_test_do_access()
812 fault = 0; in ac_test_do_access()
851 : [reg]"+r"(r), "+a"(fault), "=b"(e), "=&d"(rsp), in ac_test_do_access()
872 ac_test_check(at, &success, fault && !at->expected_fault, in ac_test_do_access()
874 ac_test_check(at, &success, !fault && at->expected_fault, in ac_test_do_access()
876 ac_test_check(at, &success, fault && e != at->expected_error, in ac_test_do_access()
H A Dvmx_tests.c3169 bool fault; in invvpid_test_gp() local
3171 fault = test_for_exception(GP_VECTOR, &ds_invvpid, in invvpid_test_gp()
3173 report(fault, "INVVPID with non-canonical DS operand raises #GP"); in invvpid_test_gp()
3178 bool fault; in invvpid_test_ss() local
3180 fault = test_for_exception(SS_VECTOR, &ss_invvpid, in invvpid_test_ss()
3182 report(fault, "INVVPID with non-canonical SS operand raises #SS"); in invvpid_test_ss()
3188 bool fault; in invvpid_test_pf() local
3190 fault = test_for_exception(PF_VECTOR, &ds_invvpid, vpage); in invvpid_test_pf()
3191 report(fault, "INVVPID with unmapped operand raises #PF"); in invvpid_test_pf()
3220 bool fault; in invvpid_test_compatibility_mode() local
[all …]
/kvm-unit-tests/s390x/
H A DMakefile122 cflatobjs += lib/s390x/fault.o