On Fri, Jul 10, 2015 at 3:15 AM, Peter Crosthwaite
<peter.crosthwa...@xilinx.com> wrote:
> On Sat, May 30, 2015 at 11:11 PM, Peter Crosthwaite
> <crosthwaitepe...@gmail.com> 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 <crosthwaite.pe...@gmail.com>
>> ---
>>  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

Reply via email to