Fixed compilation error
This commit is contained in:
parent
235bca1280
commit
2e07b43ac6
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: instrument.cc,v 1.19 2007-12-13 21:53:52 sshwarts Exp $
|
||||
// $Id: instrument.cc,v 1.20 2008-01-17 21:35:21 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -178,7 +178,7 @@ void bx_instr_opcode(unsigned cpu, Bit8u *opcode, unsigned len, bx_bool is32, bx
|
||||
instruction[cpu].opcode_size = len;
|
||||
}
|
||||
|
||||
void bx_instr_fetch_decode_completed(unsigned cpu, const bxInstruction_c *i)
|
||||
void bx_instr_fetch_decode_completed(unsigned cpu, bxInstruction_c *i)
|
||||
{
|
||||
if(active) instruction[cpu].valid = 1;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: instrument.h,v 1.21 2008-01-16 22:54:46 sshwarts Exp $
|
||||
// $Id: instrument.h,v 1.22 2008-01-17 21:35:21 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -63,7 +63,7 @@ void bx_instr_ucnear_branch(unsigned cpu, unsigned what, bx_address new_eip);
|
||||
void bx_instr_far_branch(unsigned cpu, unsigned what, Bit16u new_cs, bx_address new_eip);
|
||||
|
||||
void bx_instr_opcode(unsigned cpu, Bit8u *opcode, unsigned len, bx_bool is32, bx_bool is64);
|
||||
void bx_instr_fetch_decode_completed(unsigned cpu, const bxInstruction_c *i);
|
||||
void bx_instr_fetch_decode_completed(unsigned cpu, bxInstruction_c *i);
|
||||
|
||||
void bx_instr_prefix(unsigned cpu, Bit8u prefix);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: instrument.cc,v 1.14 2006-06-17 12:09:55 sshwarts Exp $
|
||||
// $Id: instrument.cc,v 1.15 2008-01-17 21:35:21 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -142,7 +142,7 @@ void bxInstrumentation::bx_instr_opcode(Bit8u *opcode_bytes, unsigned len, bx_bo
|
||||
opcode_size = len;
|
||||
}
|
||||
|
||||
void bxInstrumentation::bx_instr_fetch_decode_completed(const bxInstruction_c *i)
|
||||
void bxInstrumentation::bx_instr_fetch_decode_completed(bxInstruction_c *i)
|
||||
{
|
||||
if(active) valid = 1;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: instrument.h,v 1.19 2008-01-16 22:54:46 sshwarts Exp $
|
||||
// $Id: instrument.h,v 1.20 2008-01-17 21:35:21 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -103,7 +103,7 @@ public:
|
||||
void bx_instr_far_branch(unsigned what, Bit16u new_cs, bx_address new_eip);
|
||||
|
||||
void bx_instr_opcode(Bit8u *opcode, unsigned len, bx_bool is32, bx_bool is64);
|
||||
void bx_instr_fetch_decode_completed(const bxInstruction_c *i);
|
||||
void bx_instr_fetch_decode_completed(bxInstruction_c *i);
|
||||
|
||||
void bx_instr_prefix(Bit8u prefix);
|
||||
|
||||
|
@ -89,7 +89,7 @@ Currently the callback is not supported when trace-cache optimization feature
|
||||
is enabled.
|
||||
|
||||
|
||||
void bx_instr_fetch_decode_completed(unsigned cpu, const bxInstruction_c *i);
|
||||
void bx_instr_fetch_decode_completed(unsigned cpu, bxInstruction_c *i);
|
||||
|
||||
The callback is called each time, when Bochs finishes decoding of new
|
||||
instruction. Through this callback function Bochs could provide decoding
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: instrument.cc,v 1.21 2008-01-16 22:54:46 sshwarts Exp $
|
||||
// $Id: instrument.cc,v 1.22 2008-01-17 21:35:21 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -47,7 +47,7 @@ void bx_instr_ucnear_branch(unsigned cpu, unsigned what, bx_address new_eip) {}
|
||||
void bx_instr_far_branch(unsigned cpu, unsigned what, Bit16u new_cs, bx_address new_eip) {}
|
||||
|
||||
void bx_instr_opcode(unsigned cpu, Bit8u *opcode, unsigned len, bx_bool is32, bx_bool is64) {}
|
||||
void bx_instr_fetch_decode_completed(unsigned cpu, const bxInstruction_c *i) {}
|
||||
void bx_instr_fetch_decode_completed(unsigned cpu, bxInstruction_c *i) {}
|
||||
|
||||
void bx_instr_prefix(unsigned cpu, Bit8u prefix) {}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: instrument.h,v 1.25 2008-01-16 22:54:46 sshwarts Exp $
|
||||
// $Id: instrument.h,v 1.26 2008-01-17 21:35:21 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -70,7 +70,7 @@ void bx_instr_ucnear_branch(unsigned cpu, unsigned what, bx_address new_eip);
|
||||
void bx_instr_far_branch(unsigned cpu, unsigned what, Bit16u new_cs, bx_address new_eip);
|
||||
|
||||
void bx_instr_opcode(unsigned cpu, Bit8u *opcode, unsigned len, bx_bool is32, bx_bool is64);
|
||||
void bx_instr_fetch_decode_completed(unsigned cpu, const bxInstruction_c *i);
|
||||
void bx_instr_fetch_decode_completed(unsigned cpu, bxInstruction_c *i);
|
||||
|
||||
void bx_instr_prefix(unsigned cpu, Bit8u prefix);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user