From: Stuart Brady <sdbrady@ntlworld.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to port qemu-0.10.x to alpha host?
Date: Wed, 24 Jun 2009 12:35:55 +0100 [thread overview]
Message-ID: <20090624113555.GA9725@miranda.arrow> (raw)
In-Reply-To: <5355faa0906232124g5bdb8f4eiea6276ac642d4014@mail.gmail.com>
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
prev parent reply other threads:[~2009-06-24 11:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090624113555.GA9725@miranda.arrow \
--to=sdbrady@ntlworld.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).