[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v2 05/34] translate: Listify tcg_exec_init
From: |
Peter Crosthwaite |
Subject: |
Re: [Qemu-devel] [RFC v2 05/34] translate: Listify tcg_exec_init |
Date: |
Sat, 11 Jul 2015 02:16:50 -0700 |
On Fri, Jul 10, 2015 at 3:15 AM, Peter Crosthwaite
<address@hidden> wrote:
> On Sat, May 30, 2015 at 11:11 PM, Peter Crosthwaite
> <address@hidden> wrote:
>> Create a global list of tcg_exec_init functions that is populated at
>> startup. Multiple translation engines can register an init function
>> and all will be called on the master call to tcg_exec_init.
>>
>> Introduce a new module, translate-common. This is a common-obj for
>> translation functionality such as this.
>>
>> Signed-off-by: Peter Crosthwaite <address@hidden>
>> ---
>> Makefile.objs | 1 +
>> include/qemu-common.h | 1 +
>> translate-all.c | 7 ++++++-
>> translate-common.c | 50
>> ++++++++++++++++++++++++++++++++++++++++++++++++++
>> 4 files changed, 58 insertions(+), 1 deletion(-)
>> create mode 100644 translate-common.c
>>
>> diff --git a/Makefile.objs b/Makefile.objs
>> index 4881d2c..294016e 100644
>> --- a/Makefile.objs
>> +++ b/Makefile.objs
>> @@ -67,6 +67,7 @@ common-obj-y += dma-helpers.o
>> common-obj-y += vl.o
>> vl.o-cflags := $(GPROF_CFLAGS) $(SDL_CFLAGS)
>> common-obj-y += tpm.o
>> +common-obj-y += translate-common.o
>>
>
> The functions added to this module needed to accessible from
> linux-user so this has to be an obj-y.
>
Fixed.
Regards,
Peter