qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] How to port qemu-0.10.x to alpha host?
@ 2009-06-24  4:24 linu king
  2009-06-24 11:35 ` Stuart Brady
  0 siblings, 1 reply; 2+ messages in thread
From: linu king @ 2009-06-24  4:24 UTC (permalink / raw)
  To: qemu-devel

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

 Hi all:

    what should i do if i wanna port qemu-0.10.x to a new host (e.g.,
alpha), suppose the target is x86, is it enough just adding a direcory named
tcg/alpha and implementing two files, tcg-target.c and tcg-target.h, inside
it. anything else to do ? it will be of great help if anyone can give me a
complete roadmap or steps about qemu-0.10.x porting.

thanks.

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

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

* Re: [Qemu-devel] How to port qemu-0.10.x to alpha host?
  2009-06-24  4:24 [Qemu-devel] How to port qemu-0.10.x to alpha host? linu king
@ 2009-06-24 11:35 ` Stuart Brady
  0 siblings, 0 replies; 2+ messages in thread
From: Stuart Brady @ 2009-06-24 11:35 UTC (permalink / raw)
  To: qemu-devel

On Wed, Jun 24, 2009 at 12:24:17PM +0800, linu king wrote:
>     what should i do if i wanna port qemu-0.10.x to a new host (e.g.,
> alpha), suppose the target is x86, is it enough just adding a direcory named
> tcg/alpha and implementing two files, tcg-target.c and tcg-target.h, inside
> it. anything else to do ? it will be of great help if anyone can give me a
> complete roadmap or steps about qemu-0.10.x porting.

That's pretty much it.

For Alpha, the configure script and makefiles appear to have been already
taken care of.

The easiest approach would be to look at other targets, and see how they work.
You needn't bother implementing those ops that correspond to TCG_TARGET_HAS_*
definitions (see */tcg-target.h), and it would probably be best to implement
TCG ops only with the tightest possible constraints at first (i.e. register
operands only for all ops except qemu_{ld,st}*).

tcg/README documents most of what you should need.

Cheers,
-- 
Stuart Brady

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

end of thread, other threads:[~2009-06-24 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-24  4:24 [Qemu-devel] How to port qemu-0.10.x to alpha host? linu king
2009-06-24 11:35 ` Stuart Brady

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).