qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] target-tilera - a new emulated architecture in qemu
@ 2013-04-24 14:16 Sarmad Tanwir
  2013-04-24 15:08 ` Andreas Färber
  0 siblings, 1 reply; 3+ messages in thread
From: Sarmad Tanwir @ 2013-04-24 14:16 UTC (permalink / raw)
  To: qemu devel

[-- Attachment #1: Type: text/plain, Size: 861 bytes --]

 
Hi guys, 
> 
>I am in process of adding a new target architecture named Tilera to qemu for emulation purpose. Until now, I have been working offline i.e. without submitting any patches or any comments from the community.
>
>I am almost done with definition of processor state and ISA translation (except floating point instructions). 
>
>I have a new folder named target-tilera with a list of files:-
> 
>cpu-qom.h
>cpu.c
>cpu.h
>....
>tile-desc_64.c
>tile-desc_64.h
>translate.c
>
>
>The contents of the Makefile.objs in this directory have also been changed to:-
>obj-$(CONFIG_SOFTMMU) += machine.o
>obj-y += translate.o helper.o cpu.o
>obj-y += tile-desc_32.o tile-desc_64.o
>
>Can anyone help me from here? As, a first step I need to modify the configure script and the Makefiles to use the qemu build system. 
>
>Thanks,
>Sarmad

[-- Attachment #2: Type: text/html, Size: 2506 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] target-tilera - a new emulated architecture in qemu
  2013-04-24 14:16 [Qemu-devel] target-tilera - a new emulated architecture in qemu Sarmad Tanwir
@ 2013-04-24 15:08 ` Andreas Färber
  2014-01-07 23:44   ` Andreas Färber
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Färber @ 2013-04-24 15:08 UTC (permalink / raw)
  To: Sarmad Tanwir; +Cc: Blue Swirl, qemu devel, Aurelien Jarno

Hi,

Am 24.04.2013 16:16, schrieb Sarmad Tanwir:
>  
>> I am in process of adding a new target architecture named Tilera to
>> qemu for emulation purpose. Until now, I have been working offline
>> i.e. without submitting any patches or any comments from the community.
>>  
>> I am almost done with definition of processor state and ISA
>> translation (except floating point instructions).
>>
>> I have a new folder named target-tilera with a list of files:-
>>  
>> cpu-qom.h
>> cpu.c
>> cpu.h
>> ....
>> tile-desc_64.c
>> tile-desc_64.h
>> translate.c
>>
>> The contents of the Makefile.objs in this directory have also been
>> changed to:-
>> obj-$(CONFIG_SOFTMMU) += machine.o
>> obj-y += translate.o helper.o cpu.o
>> obj-y += tile-desc_32.o tile-desc_64.o
>>  
>> *Can anyone help me from here? As, a first step I need to modify the
>> configure script and the Makefiles to use the qemu build system.*

Please read the comments in the list archive that other recently
introduced targets such as moxie and openrisc got.

For instance, I pointed out that new targets don't need a qom-cpu.h file
- you can just place everything into cpu.h if you do a sane grouping.

There was a discussion about CPU VMState and the plan to handle it
differently for new targets - moxie still used the old way, openrisc is
broken, and we don't have patches for a new VMSTATE_CPU() macro yet that
alpha, openrisc and new targets were envisioned to use. Either way
machine.c is a bad name and should rather be cpu-vmstate.c (if you can't
just place it into cpu.c - depends on how much state you have).

Without seeing what you have, it's hard to help. Just look at commits
that introduced the existing targets, get target-tilera compiling and
post RFC patches for review then. We're currently in Soft Freeze before
the 1.5 release, so new targets won't get applied immediately anyway.

Regards,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] target-tilera - a new emulated architecture in qemu
  2013-04-24 15:08 ` Andreas Färber
@ 2014-01-07 23:44   ` Andreas Färber
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Färber @ 2014-01-07 23:44 UTC (permalink / raw)
  To: Sarmad Tanwir; +Cc: Blue Swirl, qemu devel, Aurelien Jarno

Hi Sarmad,

Am 24.04.2013 17:08, schrieb Andreas Färber:
> Am 24.04.2013 16:16, schrieb Sarmad Tanwir:
>>  
>>> I am in process of adding a new target architecture named Tilera to
>>> qemu for emulation purpose. Until now, I have been working offline
>>> i.e. without submitting any patches or any comments from the community.
>>>  
>>> I am almost done with definition of processor state and ISA
>>> translation (except floating point instructions).
>>>
>>> I have a new folder named target-tilera with a list of files:-
>>>  
>>> cpu-qom.h
>>> cpu.c
>>> cpu.h
>>> ....
>>> tile-desc_64.c
>>> tile-desc_64.h
>>> translate.c
>>>
>>> The contents of the Makefile.objs in this directory have also been
>>> changed to:-
>>> obj-$(CONFIG_SOFTMMU) += machine.o
>>> obj-y += translate.o helper.o cpu.o
>>> obj-y += tile-desc_32.o tile-desc_64.o
>>>  
>>> *Can anyone help me from here? As, a first step I need to modify the
>>> configure script and the Makefiles to use the qemu build system.*
> 
> Please read the comments in the list archive that other recently
> introduced targets such as moxie and openrisc got.
> 
> For instance, I pointed out that new targets don't need a qom-cpu.h file
> - you can just place everything into cpu.h if you do a sane grouping.
> 
> There was a discussion about CPU VMState and the plan to handle it
> differently for new targets - moxie still used the old way, openrisc is
> broken, and we don't have patches for a new VMSTATE_CPU() macro yet that
> alpha, openrisc and new targets were envisioned to use. Either way
> machine.c is a bad name and should rather be cpu-vmstate.c (if you can't
> just place it into cpu.c - depends on how much state you have).
> 
> Without seeing what you have, it's hard to help. Just look at commits
> that introduced the existing targets, get target-tilera compiling and
> post RFC patches for review then. We're currently in Soft Freeze before
> the 1.5 release, so new targets won't get applied immediately anyway.

I see that you have two GitHub repositories:
https://github.com/sarmadt/qemu_tilera - target-tilera only
https://github.com/sarmadt/target-tilera - complete qemu.git fork

What's the status of your work, how far did you get? There seem to be no
commits from the last few months, and the existing commits are lacking
Signed-off-bys, so that no one else can help integrate your code into a
new QEMU.

Are you still planning to "complete" your project before I apply more
changes to CPUState and core CPU code?

Regards,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-07 23:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24 14:16 [Qemu-devel] target-tilera - a new emulated architecture in qemu Sarmad Tanwir
2013-04-24 15:08 ` Andreas Färber
2014-01-07 23:44   ` Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).