From 362b99eba0dd40da86be26a43aea052a31e2f6e9 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Sun, 4 Aug 2013 19:47:19 +0000 Subject: [PATCH] fixed typo in last commit --- bochs/cpu/access64.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bochs/cpu/access64.cc b/bochs/cpu/access64.cc index 5aeb5b240..81c7eb0df 100644 --- a/bochs/cpu/access64.cc +++ b/bochs/cpu/access64.cc @@ -1043,7 +1043,7 @@ void BX_CPU_C::read_RMW_virtual_dqword_aligned_64(unsigned s, Bit64u offset, Bit Bit64u *hostAddr = (Bit64u*) (hostPageAddr | pageOffset); pageWriteStampTable.decWriteStamp(pAddr, 16); ReadHostQWordFromLittleEndian(hostAddr, *lo); - ReadHostQWordFromLittleEndian(hostAddr + 8, *hi); + ReadHostQWordFromLittleEndian(hostAddr + 1, *hi); BX_CPU_THIS_PTR address_xlation.pages = (bx_ptr_equiv_t) hostAddr; BX_CPU_THIS_PTR address_xlation.paddress1 = pAddr; BX_NOTIFY_LIN_MEMORY_ACCESS(laddr, pAddr, 8, CPL, BX_RW, (Bit8u*) lo);