arch-arm: Init AArch64 ID registers in SE mode
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 24 Sep 2018 08:55:19 +0000 (09:55 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 1 Oct 2018 15:47:55 +0000 (15:47 +0000)
commit06f1259a4054643eb02b183560478021442be91e
tree236d5417dd33e63a7ec78343f21b11047aa8092c
parentb9bf7935f38e13f05c6d85916ae1578ebc5d5acb
arch-arm: Init AArch64 ID registers in SE mode

One of the auxv vector's flag is the HWCAP, whose bits match the content
of several arm ID registers.  This patch factors out AArch64 ID
registers init into a separate method and creates the symmetric AArch32
ID register init as well, so that we get a meaningful auxiliary vector
in SE mode.

Change-Id: I52bdb31b67508c4447558ebd7ca743733a69280e
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/13064
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/isa.cc
src/arch/arm/isa.hh