Hi Peter,
Thanks a lot for the information.

Can you please help me with the cortex-a7 CPU definitions/configuration that I need to add in QEMU. Thanks,

Best Regards,
-Deepak 



On Mon, Feb 8, 2016 at 9:24 PM, Peter Maydell <peter.maydell@linaro.org> wrote:
> On Mon, Feb 8, 2016 at 2:21 PM, Deepak kumar Raju <raju.deepakkumar@gmail.com> 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