[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] How to add new architecture?
From: |
Michael Eager |
Subject: |
Re: [Qemu-devel] How to add new architecture? |
Date: |
Sat, 25 Aug 2012 08:50:29 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
On 08/25/2012 08:38 AM, 陳韋任 (Wei-Ren Chen) wrote:
I want to add a new guest architecture.
Is there any description of what the configuration options mean?
You mean the options list in `../${QEMU_SRC}/configure --help`?
Not sure why you need to care about that.
In $QEMU_SRC/configure, architectures have these configuration options
(and several more):
target_nptl="yes"
target_phys_bits=32
target_libs_softmmu="$fdt_libs"
In the target-*/cpu.h, there are defines like:
#define TARGET_LONG_BITS 32
#define TARGET_HAS_ICE 1
#define TARGET_PAGE_BITS 12
#define TARGET_PAGE_BITS 10
#define TARGET_PHYS_ADDR_SPACE_BITS 40
#define TARGET_VIRT_ADDR_SPACE_BITS 32
There are also required specification like CPUState or CPUArchState.
Is there any description of these configuration options?
> I suggest you take a look on openrisc patchset [1], it's a relative
> new added guest support.
>
> [1] https://lists.gnu.org/archive/html/qemu-devel/2012-07/msg02567.html
Thanks.
--
Michael Eager address@hidden
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077