From 700e492228826a5a85745be559e9e6875410e1fb Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Sun, 22 Mar 2009 09:52:48 +0000 Subject: [PATCH] Fixed compilation issues --- bochs/instrument/example0/instrument.cc | 3 ++- bochs/instrument/example1/instrument.cc | 3 ++- bochs/instrument/example1/instrument.h | 6 +++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bochs/instrument/example0/instrument.cc b/bochs/instrument/example0/instrument.cc index 19cca9d87..2aceed7fa 100644 --- a/bochs/instrument/example0/instrument.cc +++ b/bochs/instrument/example0/instrument.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: instrument.cc,v 1.28 2009-02-09 10:35:55 vruppert Exp $ +// $Id: instrument.cc,v 1.29 2009-03-22 09:52:48 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -29,6 +29,7 @@ #include "bochs.h" #include "cpu/cpu.h" +#include "disasm/disasm.h" // maximum size of an instruction #define MAX_OPCODE_SIZE 16 diff --git a/bochs/instrument/example1/instrument.cc b/bochs/instrument/example1/instrument.cc index 9f815ecf2..4a521021e 100644 --- a/bochs/instrument/example1/instrument.cc +++ b/bochs/instrument/example1/instrument.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: instrument.cc,v 1.23 2009-02-09 10:35:55 vruppert Exp $ +// $Id: instrument.cc,v 1.24 2009-03-22 09:52:48 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -28,6 +28,7 @@ #include "bochs.h" #include "cpu/cpu.h" +#include "disasm/disasm.h" bxInstrumentation *icpu = NULL; diff --git a/bochs/instrument/example1/instrument.h b/bochs/instrument/example1/instrument.h index 02bb89ffb..29201234a 100644 --- a/bochs/instrument/example1/instrument.h +++ b/bochs/instrument/example1/instrument.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: instrument.h,v 1.32 2009-02-09 10:35:55 vruppert Exp $ +// $Id: instrument.h,v 1.33 2009-03-22 09:52:48 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -56,6 +56,10 @@ class bxInstruction_c; +void bx_instr_init_env(void); +void bx_instr_exit_env(void); +void bx_instr_initialize(unsigned cpu); + // maximum size of an instruction #define MAX_OPCODE_SIZE 16