Fixed injection of hardware exception

This commit is contained in:
Stanislav Shwartsman 2009-12-10 07:57:32 +00:00
parent 57d14f071b
commit 796d24ecb7

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: vmx.cc,v 1.26 2009-10-08 14:33:08 sshwarts Exp $
// $Id: vmx.cc,v 1.27 2009-12-10 07:57:32 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2009 Stanislav Shwartsman
@ -1422,6 +1422,9 @@ void BX_CPU_C::VMenterInjectEvents(void)
vm->idt_vector_error_code = error_code;
interrupt(vector, type, push_error, error_code);
BX_CPU_THIS_PTR errorno = 0; // injection success
BX_CPU_THIS_PTR EXT = 0;
}
Bit32u BX_CPU_C::LoadMSRs(Bit32u msr_cnt, bx_phy_address pAddr)