[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Why does qemu not support qemu-system-armeb?
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] Why does qemu not support qemu-system-armeb? |
Date: |
Sun, 15 Jun 2014 10:08:51 +0100 |
On 14 June 2014 14:49, Ljun <address@hidden> wrote:
> Hello everyone,I am working on big endian for arm.I change the qemu
> configure and create a qemu-system-armeb,but I want to know qemu whether
> support armeb-softmmu.
The answer to "why is there no qemu-system-armeb" is in two parts:
(1) We don't support big-endian system emulation. There would need
to be work done to implement this beyond just enabling an extra
configuration.
(2) If we did support big-endian system emulation, the right way
to implement this would be to keep it in qemu-system-arm, and
just have the CPU support the various control bits (SCTLR.B,
SCTLR.EE, CPSR.E, etc).
(3) We would need a model of some actual board which used
a CPU in big-endian mode. (These days if it's purely for a
virtual machine you could use the "virt" board, though.)
Are you interested in big-endian emulation:
* in 64-bit (AArch64/ARM64) ?
* in 32-bit v7 (what the ARM ARM calls "BE8") ?
* old-fashioned ARMv5 style ("BE32") ?
thanks
-- PMM