[PATCH] fix build for instrument

P <[email protected]> Mon, 26 Oct 2015 18:32:15 +0100
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <[email protected]>
There is simple typo causing build error when instrumentation is enabled.

Attached patch fiexs this trouble.

------------------------------------------------------------------------------

_______________________________________________
bochs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bochs-developers
0001-fix-build.patch (text/x-patch, 1.3 KB)
>From 6de85b5a113045101749b69f72fe8dcc336da11d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20Pinkava?= <[email protected]>
Date: Mon, 26 Oct 2015 13:24:45 +0100
Subject: [PATCH] fix build

---
 bochs/instrument/stubs/instrument.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bochs/instrument/stubs/instrument.h b/bochs/instrument/stubs/instrument.h
index b60970d..d6bc755 100644
--- a/bochs/instrument/stubs/instrument.h
+++ b/bochs/instrument/stubs/instrument.h
@@ -119,10 +119,10 @@ void bx_instr_vmexit(unsigned cpu, Bit32u reason, Bit64u qualification);
 #define BX_INSTR_REPEAT_ITERATION(cpu_id, i)  bx_instr_repeat_iteration(cpu_id, i)
 
 /* linear memory access */
-#define BX_INSTR_LIN_ACCESS(cpu_id, lin, phy, len, rw)  bx_instr_lin_access(cpu_id, lin, phy, len, memtype, rw)
+#define BX_INSTR_LIN_ACCESS(cpu_id, lin, phy, len, memtype, rw)  bx_instr_lin_access(cpu_id, lin, phy, len, memtype, rw)
 
 /* physical memory access */
-#define BX_INSTR_PHY_ACCESS(cpu_id, phy, len, rw)  bx_instr_phy_access(cpu_id, phy, len, memtype, rw)
+#define BX_INSTR_PHY_ACCESS(cpu_id, phy, len, memtype, rw)  bx_instr_phy_access(cpu_id, phy, len, memtype, rw)
 
 /* feedback from device units */
 #define BX_INSTR_INP(addr, len)               bx_instr_inp(addr, len)
-- 
2.1.4