From d1780b66de1a14908ae46001fe6d13ebbb924d20 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Thu, 21 Jul 2011 21:34:56 +0000 Subject: [PATCH] typofix --- bochs/cpu/vmx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bochs/cpu/vmx.cc b/bochs/cpu/vmx.cc index 996ef8606..02744b28e 100644 --- a/bochs/cpu/vmx.cc +++ b/bochs/cpu/vmx.cc @@ -186,7 +186,7 @@ void BX_CPP_AttrRegparmN(2) BX_CPU_C::VMwrite64(unsigned encoding, Bit64u val_64 BX_DBG_PHY_MEMORY_ACCESS(BX_CPU_ID, pAddr, 8, BX_VMCS_ACCESS | BX_WRITE, (Bit8u*)(&val_64)); } -#if BX_SUPPIRT_X86_64 +#if BX_SUPPORT_X86_64 BX_CPP_INLINE bx_address BX_CPP_AttrRegparmN(1) BX_CPU_C::VMread_natural(unsigned encoding) { return VMread64(encoding); @@ -2801,7 +2801,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::VMWRITE(bxInstruction_c *i) VMwrite32(encoding, val_32); else #endif - VMwrite_natural(encoding, val_64); + VMwrite_natural(encoding, (bx_address) val_64); } VMsucceed();