qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Questions on "hidden" functions in QEMU source code


From: Stuart Brady
Subject: Re: [Qemu-devel] Questions on "hidden" functions in QEMU source code
Date: Tue, 16 Oct 2007 14:42:56 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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.

> Another question: micro-op are defined as OPPROTO, but OPPROTO is
> actually defined as empty in dyngen-exec.h
> 
> #define OPPROTO
> 
> So what is the point of using OPPROTO here? I am sure that there is a
> good reason to do that, but cannot figure it out.

Presumably so that attributes can be defined later if they're needed.

Cheers,
-- 
Stuart Brady




reply via email to

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