arch-arm: Fix WalkerState,Descriptors default constructor
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 6 Jun 2019 22:03:07 +0000 (23:03 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 7 Jun 2019 14:51:28 +0000 (14:51 +0000)
commitaece7fcdf97d2864fbb31e02940bfcdd470db7b9
treea6e3207f8ba4cdc10ea3f45bcb5fb955d4b7f173
parent2574dc41a6b420f0101d0ecf2a3205091ef96940
arch-arm: Fix WalkerState,Descriptors default constructor

Those POD strutures are not initializing all members at construction.
This could lead to undefined behaviour

Change-Id: Iaa8afb126382b6bfbef686883a026262f24d5ca1
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-by: Javier Setoain <javier.setoain@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19149
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/table_walker.cc
src/arch/arm/table_walker.hh