[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Questions on "hidden" functions in QEMU source code
From: |
Jun Koi |
Subject: |
Re: [Qemu-devel] Questions on "hidden" functions in QEMU source code |
Date: |
Thu, 18 Oct 2007 11:46:47 +0900 |
On 10/16/07, Johannes Schindelin <address@hidden> wrote:
> Hi,
>
> On Tue, 16 Oct 2007, Stuart Brady wrote:
>
> > On Tue, Oct 16, 2007 at 05:28:24PM +0900, Jun Koi wrote:
> > > For example, functions like compute_all_incb() and compute_c_incl() in
> > > target-i386/op.c are never defined anywhere.
> >
> > compute_all_inc* are defined in ops_template.h:~171. You'll notice that
> > ops_template.h is included four times from op.c.
>
> If you wonder why it is included four times, this might help:
>
> http://libvncserver.sourceforge.net/qemu/qemu-templates-ala-Fabrice.txt
>
Now it is clear that those stuffs are generated by dyngen, thanks.
But still it it not obvious to me what is the purpose of "OPPROTO"
when defining micro-ops. May you elaborate this a bit more?
Many thanks,
Jun
> Hth,
> Dscho
>
>
>
>