qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] cpu_x86() ?


From: Max Filippov
Subject: Re: [Qemu-devel] cpu_x86() ?
Date: Tue, 1 Nov 2011 13:58:41 +0300

> the way cpu_exec() is defined is really confused to me.
>
> in cpu-exec.c, we define cpu_exec() function.
>
> however, each architecture seems to redefine cpu_exec(), like we have
> in target-i386/cpu.h
>
> #define cpu_exec cpu_x86_exec
>
> so which cpu_exec() is executed in case of tcg/x86?
>
> also, i cannot find the definition of cpu_x86_exec() anywhere.

cpu_exec definition in cpu-exec.c takes place after #include "cpu.h"
which contains #define cpu_exec whatever.
In case of x86 cpu_x86_exec is actually defined by the cpu-exec.c.

-- 
Thanks.
-- Max



reply via email to

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