int Mahou::PI_TranslationStageDLL::Create() { try { m_container = new Mahou::PI_TranslationStage(m_deviceName.c_str()); m_container->SetParameter("Stage ID", "M-111.1DG"); } catch ( Mahou::Exception E) { return resolve_exception(E); } return 0; }
int Mahou::PI_TranslationStageDLL::Destroy() { if ( m_container ) { try { delete m_container; m_container = 0; } catch ( Mahou::Exception E ) { return resolve_exception(E); } } return 0; }
int vmx_vmexit_resolve_excp() { vmcs_read(vm_exit_info.int_info); vmcs_read(vm_exit_info.int_err_code); vmcs_read(vm_exit_info.qualification); switch(vm_exit_info.int_info.vector) { case GP_EXCP: if(__rmode()) return vmx_vmexit_resolve_rmode_gp(); break; case DB_EXCP: vm_state.dr6.wlow = vm_exit_info.qualification.wlow; vmcs_set_read(vm_state.dr6); break; case MC_EXCP: vmm_excp_mce(); break; } return resolve_exception(); }