qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] micro-instruction size


From: Sorav Bansal
Subject: Re: [Qemu-devel] micro-instruction size
Date: Mon, 14 May 2007 09:57:51 -0700


I want to instrument call instruction so that my
tracking function is called on each call instruction.
>From what I understand, I should
a) change  target-i386/translate.c case 0xe8 to
generate my own microinstruction, say gen_op_mycall()
b) Add functionality of op_mycall() to
target-i386/op.c
c) Add this new micro-instruction in
i386-softmmu/opc.h.

Is the above correct?

You only need to perform steps A and B.
Step C is automatically taken care of by dyngen.c.
Similarly, the copy_size in DEF(s,n,copy_size) is automatically computed.

Sorav
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]