Searched refs:error_code (Results 1 – 4 of 4) sorted by relevance
/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | trap.rs | 115 unsafe extern "C" fn do_divide_error(regs: &'static TrapFrame, error_code: u64) { in do_divide_error() 118 error_code, in do_divide_error() 129 unsafe extern "C" fn do_debug(regs: &'static mut TrapFrame, error_code: u64) { in do_debug() 132 error_code, in do_debug() 143 unsafe extern "C" fn do_nmi(regs: &'static TrapFrame, error_code: u64) { in do_nmi() 146 error_code, in do_nmi() 157 unsafe extern "C" fn do_int3(regs: &'static mut TrapFrame, error_code: u64) { in do_int3() 160 error_code, in do_int3() 171 unsafe extern "C" fn do_overflow(regs: &'static TrapFrame, error_code: u64) { in do_overflow() 174 error_code, in do_overflow() [all …]
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | fault.rs | 33 pub fn vma_access_error(vma: Arc<LockedVMA>, error_code: X86PfErrorCode) -> bool { in vma_access_error() 36 if error_code.contains(X86PfErrorCode::X86_PF_PK) { in vma_access_error() 40 if unlikely(error_code.contains(X86PfErrorCode::X86_PF_SGX)) { in vma_access_error() 46 error_code.contains(X86PfErrorCode::X86_PF_WRITE), in vma_access_error() 47 error_code.contains(X86PfErrorCode::X86_PF_INSTR), in vma_access_error() 53 if error_code.contains(X86PfErrorCode::X86_PF_WRITE) { in vma_access_error() 60 if unlikely(error_code.contains(X86PfErrorCode::X86_PF_PROT)) { in vma_access_error() 72 error_code: X86PfErrorCode, in show_fault_oops() 102 if error_code.contains(X86PfErrorCode::X86_PF_USER) { in show_fault_oops() 107 if error_code.contains(X86PfErrorCode::X86_PF_INSTR) { in show_fault_oops() [all …]
|
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ |
H A D | vmexit.rs | 234 let mut error_code = exit_qualification & (1 << 1); in vmexit_handler() localVariable 236 error_code |= (exit_qualification << 2) & (1 << 4); in vmexit_handler() 238 error_code |= (exit_qualification >> 3) & (1 << 0); in vmexit_handler() 244 kvm_ept_page_fault(&mut vcpu.lock(), gpa, error_code as u32, false) in vmexit_handler()
|
H A D | mmu.rs | 57 fn(vcpu: &mut VmxVcpu, gpa: u64, error_code: u32, prefault: bool) -> Result<(), SystemError>; 105 error_code: u32, in tdp_page_fault() 118 let write = error_code & ((1_u32) << 1); in tdp_page_fault()
|