[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Internal documentation
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] Internal documentation |
Date: |
Wed, 12 Dec 2012 15:25:41 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Hi,
Am 11.12.2012 19:40, schrieb Michael Eager:
> Is there any internal documentation for QEMU?
>
> I'm adding support for a new processor. I'm currently
> adding semihosting support and a new command line option.
> I find that I'm reading a lot of uncommented code and
> trying to reverse engineer QEMU's design by reading how
> various targets are implemented.
>
> Is there a better way?
Look at the latest added target-openrisc in qemu.git and/or at my
target-rl78 at GitHub.com/afaerber/qemu-rl78/. That will also give you
some ideas how to split your new target into reviewable patches.
Also look at the mailing list, you may find old/bad examples in our code
base but patch review usually points out the right ways to do things
nowadays. When in doubt, ask. :)
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