arch-arm: Move MiscReg BitUnions into a separate header file
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 25 Sep 2018 15:11:37 +0000 (16:11 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 1 Oct 2018 15:47:55 +0000 (15:47 +0000)
commit312f44831f45c363bb1a97fdc601cb5efc8d5652
treea2ff08f447ec4ee921eea87139eb1575d87676cf
parent06f1259a4054643eb02b183560478021442be91e
arch-arm: Move MiscReg BitUnions into a separate header file

As the number of MiscRegs increases there is the need of a cleaner
header file; this patch is separating miscreg.[cc,hh] where the miscreg
decoding/utility functions are defined/declared from the MiscReg
register types (BitUnion).

Change-Id: I815f53b117b50e47f93aa13d78356ef09d2a2541
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/13065
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/miscregs.hh
src/arch/arm/miscregs_types.hh [new file with mode: 0644]