Home
last modified time | relevance | path

Searched refs:handle_exception (Results 1 – 21 of 21) sorted by relevance

/kvm-unit-tests/powerpc/
H A Dinterrupts.c54 handle_exception(0x200, mce_handler, &is_fetch); in test_mce()
55 handle_exception(0x300, fault_handler, NULL); in test_mce()
56 handle_exception(0x380, fault_handler, NULL); in test_mce()
57 handle_exception(0x400, fault_handler, NULL); in test_mce()
58 handle_exception(0x480, fault_handler, NULL); in test_mce()
105 handle_exception(0x200, NULL, NULL); in test_mce()
106 handle_exception(0x300, NULL, NULL); in test_mce()
107 handle_exception(0x380, NULL, NULL); in test_mce()
108 handle_exception(0x400, NULL, NULL); in test_mce()
109 handle_exception(0x480, NULL, NULL); in test_mce()
[all …]
H A Dtimebase.c101 handle_exception(0x900, &dec_handler, NULL); in test_dec()
184 handle_exception(0x900, NULL, NULL); in test_dec()
196 handle_exception(0x900, &dec_stop_handler, NULL); in test_hdec()
197 handle_exception(0x980, &dec_handler, NULL); in test_hdec()
296 handle_exception(0x900, NULL, NULL); in test_hdec()
297 handle_exception(0x980, NULL, NULL); in test_hdec()
H A Demulator.c379 handle_exception(0x700, program_check_handler, (void *)&is_invalid); in main()
381 handle_exception(0xe40, heai_handler, (void *)&is_invalid); in main()
382 handle_exception(0x600, alignment_handler, (void *)&alignment); in main()
H A Datomics.c97 handle_exception(0x600, interrupt_handler, NULL); in test_lwarx_stwcx()
98 handle_exception(0x700, interrupt_handler, NULL); in test_lwarx_stwcx()
132 handle_exception(0x600, NULL, NULL); in test_lwarx_stwcx()
H A Dmmu.c68 handle_exception(0x700, &trap_handler, NULL); in test_tlbie()
114 handle_exception(0x700, NULL, NULL); in test_tlbie()
/kvm-unit-tests/x86/
H A Deventinj.c122 handle_exception(2, nested_nmi_isr); in nmi_isr()
182 handle_exception(2, nested_nmi_iret_isr); in nmi_iret_isr()
229 handle_exception(0, de_isr); in main()
240 handle_exception(3, bp_isr); in main()
251 handle_exception(4, of_isr); in main()
261 handle_exception(4, of_isr); in main()
336 handle_exception(11, np_isr); in main()
346 handle_exception(2, nmi_isr); in main()
360 handle_exception(2, nmi_iret_isr); in main()
375 handle_exception(0, de_isr); in main()
[all …]
H A Ddebug.c458 handle_exception(DB_VECTOR, handle_db); in main()
459 handle_exception(BP_VECTOR, handle_bp); in main()
460 handle_exception(UD_VECTOR, handle_ud); in main()
461 handle_exception(AC_VECTOR, handle_ac); in main()
H A Dsyscall.c70 handle_exception(DB_VECTOR, handle_db); in test_syscall_tf()
H A Dcet.c86 handle_exception(CP_VECTOR, handle_cp); in main()
H A Demulator.c465 old = handle_exception(GP_VECTOR, unaligned_movaps_handler); in test_sse_exceptions()
468 handle_exception(GP_VECTOR, old); in test_sse_exceptions()
486 old = handle_exception(PF_VECTOR, cross_movups_handler); in test_sse_exceptions()
489 handle_exception(PF_VECTOR, old); in test_sse_exceptions()
730 handler old_db_handler = handle_exception(DB_VECTOR, handle_db); in test_mov_pop_ss_code_db()
785 handle_exception(DB_VECTOR, old_db_handler); in test_mov_pop_ss_code_db()
H A Dasyncpf.c128 handle_exception(PF_VECTOR, handle_pf); in main()
H A Dumip.c203 handle_exception(13, gp_handler); in main()
H A Dsvm_tests.c1392 handle_exception(NMI_VECTOR, nmi_handler); in nmi_prepare()
1628 handle_exception(DE_VECTOR, my_isr); in exc_inject_prepare()
1629 handle_exception(NMI_VECTOR, my_isr); in exc_inject_prepare()
2081 handle_exception(DB_VECTOR, host_rflags_db_handler); in host_rflags_prepare()
2655 handle_exception(DB_VECTOR, guest_rflags_test_db_handler); in svm_test_singlestep()
2708 handle_exception(GP_VECTOR, gp_isr); in svm_vmrun_errata_test()
3322 handle_exception(2, dummy_nmi_handler); in svm_intr_intercept_mix_nmi()
3395 handler old_handler = handle_exception(vector, svm_exception_handler); in handle_exception_in_l2()
3401 handle_exception(vector, old_handler); in handle_exception_in_l2()
H A Dvmx_tests.c2111 handle_exception(UD_VECTOR, disable_rdtscp_ud_handler); in disable_rdtscp_main()
2118 handle_exception(UD_VECTOR, 0); in disable_rdtscp_main()
5109 old_gp = handle_exception(GP_VECTOR, test_mtf_gp_handler); in vmx_mtf_test()
5124 handle_exception(GP_VECTOR, old_gp); in vmx_mtf_test()
5125 old_db = handle_exception(DB_VECTOR, test_mtf_db_handler); in vmx_mtf_test()
5134 handle_exception(DB_VECTOR, old_db); in vmx_mtf_test()
6648 old_handler = handle_exception(GP_VECTOR, handle_x2apic_gp); in setup_x2apic_gp_handler()
6657 handle_exception(GP_VECTOR, old_handler); in teardown_x2apic_gp_handler()
8550 handle_exception(DB_VECTOR, vmx_window_test_db_handler); in vmx_nmi_window_test_guest()
8555 handle_exception(DB_VECTOR, NULL); in vmx_nmi_window_test_guest()
[all …]
/kvm-unit-tests/lib/powerpc/
H A Dprocessor.c29 void handle_exception(int trap, void (*func)(struct pt_regs *, void *), in handle_exception() function
125 handle_exception(0x900, &dec_handler_oneshot, NULL); in sleep_tb()
139 handle_exception(0x900, NULL, NULL); in sleep_tb()
197 handle_exception(0xc00, usermode_sc_handler, NULL); in enter_usermode()
206 handle_exception(0xc00, NULL, NULL); in exit_usermode()
H A Dsmp.c129 handle_exception(0xe80, &dbell_handler, data); in register_ipi()
131 handle_exception(0x500, &extint_handler, data); in register_ipi()
138 handle_exception(0xe80, NULL, NULL); in unregister_ipi()
140 handle_exception(0x500, NULL, NULL); in unregister_ipi()
/kvm-unit-tests/lib/x86/
H A Dusermode.c45 old_ex = handle_exception(fault_vector, in run_in_user()
49 handle_exception(fault_vector, old_ex); in run_in_user()
123 handle_exception(fault_vector, old_ex); in run_in_user()
H A Dfault_test.c29 old = handle_exception(arg->fault_vector, fault_test_fault); in fault_test()
35 handle_exception(arg->fault_vector, old); in fault_test()
H A Ddesc.c197 handler handle_exception(u8 v, handler fn) in handle_exception() function
326 handle_exception(i, check_exception_table); in setup_idt()
506 old = handle_exception(ex, exception_handler); in test_for_exception()
510 handle_exception(ex, old); in test_for_exception()
H A Ddesc.h244 handler handle_exception(u8 v, handler fn);
/kvm-unit-tests/lib/powerpc/asm/
H A Dprocessor.h9 void handle_exception(int trap, void (*func)(struct pt_regs *, void *), void *);