Am 21.08.2014 05:37, schrieb Peter Crosthwaite: > On Thu, Aug 21, 2014 at 11:40 AM, Alistair Francis <alistai...@gmail.com> > wrote: >> On Thu, Aug 21, 2014 at 11:36 AM, Alistair Francis <alistai...@gmail.com> >> wrote: >>> diff --git a/target-arm/cpu-qom.h b/target-arm/cpu-qom.h >>> index 07f3c9e..7e415f5 100644 >>> --- a/target-arm/cpu-qom.h >>> +++ b/target-arm/cpu-qom.h >>> @@ -138,6 +138,7 @@ typedef struct ARMCPU { >>> uint32_t id_isar3; >>> uint32_t id_isar4; >>> uint32_t id_isar5; >>> + uint32_t rom_address; > > Any reason for this to go in amongst the ID register fields? It seems > in a class of its own, and the closest thing to it would be rvbar > which is down the bottom. My gut says it should be last field in the > struct.
Whether it is zero'ed on reset here would be another concern. Regards, Andreas >>> uint64_t id_aa64pfr0; >>> uint64_t id_aa64pfr1; >>> uint64_t id_aa64dfr0; [snip] -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg