qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Regarding Cortex-A7 CPU definition


From: Peter Maydell
Subject: Re: [Qemu-devel] Regarding Cortex-A7 CPU definition
Date: Mon, 8 Feb 2016 15:54:45 +0000

> On Mon, Feb 8, 2016 at 2:21 PM, Deepak kumar Raju <address@hidden> wrote:
>> I am Deepak. I have a Cortex-A7 board and I am using qemu code from Linaro.
>> In Qemu-linaro.git, under .../target-arm/cpu.c, I do not see CPU definitions 
>> for Cortex-A7.
>> I have few questions:
>>
>> a)Can you please point to Cortex-A7 CPU definitions?

We don't implement a Cortex-A7 in QEMU, because we have no board
models that need it.

>> b) Can we use the CPU definitions of Cortex-A15 for Cortex-A7?

Typically guest code doesn't care about the exact CPU type between
the A15 and the A7. If you wanted to add A7 support then starting
with the A15 would be a good start.

>> c) What would be the diff of Cortex-A7 definitions compared to Cortex-A15?

You need to look at the Technical Reference Manual for the two CPUs
to determine the difference. As far as QEMU is concerned the things
to look at are:
 * ID register values
 * supported CPU features
 * any implementation-specific coprocessor registers

...in other words, all the things we set in the
cortex_a15_initfn().

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]