xen/arm: vgic: Re-order the register emulations to match the memory map
authorJulien Grall <julien.grall@citrix.com>
Wed, 18 Nov 2015 17:28:02 +0000 (17:28 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 25 Nov 2015 12:29:28 +0000 (12:29 +0000)
commit5482d13dcfd675644148e807abbb0a5c4a5e660d
tree98d431cb4ad288f948557a407da8a3fb6631ea35
parent49b6d4cf1fa79e764cddea2f412954fa7c347cf3
xen/arm: vgic: Re-order the register emulations to match the memory map

It helps to find quickly whether we forgot to emulate a register or not.

At the same time add the missing reserved/implementation defined
registers. All other missing registers will be added in a follow-up if
necessary.

Note that only the distributor register map explicitely say the
size of a register (see 8.8 in ARM IHI 0069A). When the size is not
known, the implementation defined/reserved may not be emulated
correctly.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/vgic-v2.c
xen/arch/arm/vgic-v3.c