[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] How to add a new machine support in qemu?
From: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] How to add a new machine support in qemu? |
Date: |
Fri, 06 Nov 2009 12:03:39 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090707) |
Michael Qiu schrieb:
> Thanks for your reply. I'm reading hw/mips_r4k.c. But I found I should
> dive into the source code.
> I'm looking for some big picture level document for add a new machine
> using a supported core.
> It seems qemu consists 3 parts of code
> 1. The core dynamic translate engineer to support several archs, just
> like mips, arm, ppc....
> 2. The peripheral emulation pool.
> 3. The platform relative code, just like hw/mips_jazz.c ..., it just
> connect the arch and the peripherals according to the real board.
> I think my work should be the 2 and 3. And I'd like to find some
> documents for them.
>
You are correct, 2 and 3 is needed. There are no documents
(at least I don't know any).
Take mips_jazz.c or mips_malta.c, make a copy of one of them
and fit it to your needs (don't forget to extend Makefiles).
Regards
Stefan