Bochs/bochs/instrument
Stanislav Shwartsman f2a87171c1 Fixed BX_INSTR_OPCODE callback, now its implementation closer to original definition.
New, updated definition of the callback:

	void bx_instr_opcode(unsigned cpu, const Bit8u *opcode, unsigned len, bx_bool is32, bx_bool is64);

The  callback  is  called  each  time, when Bochs completes  to  decode  a new
instruction.  Through  this callback function Bochs could provide an opcode of
the instruction, opcode length and an execution mode (16/32/64).

Please note, that Bochs uses translation  caches so each simulated instruction
might be executed multiple times but decoded only once.
2010-09-27 15:29:36 +00:00
..
example0 change Copyright to Bochs Project 2009-12-04 16:53:12 +00:00
example1 change Copyright to Bochs Project 2009-12-04 16:53:12 +00:00
example2 added ia_opcode into bxInstruction class 2010-01-09 15:11:32 +00:00
stubs compilation fix + code duplication fix 2010-02-06 09:59:52 +00:00
instrumentation.txt Fixed BX_INSTR_OPCODE callback, now its implementation closer to original definition. 2010-09-27 15:29:36 +00:00