dev-arm: Reduce boilerplate when read/writing to Pio devices
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 12 Jan 2021 15:07:02 +0000 (15:07 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 8 Feb 2021 14:54:39 +0000 (14:54 +0000)
commit1ea62dcf80ca4c8e26ab817dbce0fd28c0bf8f20
treea23498bb8e60b679d94c3dcdd377a29bfdd2479b
parent0a63e9ff0a9e8523d2b2a828f857f4d747029588
dev-arm: Reduce boilerplate when read/writing to Pio devices

Change-Id: Id59ac950f37d7f4f2642daf324d501da1ee622de
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40775
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/pl011.cc
src/dev/arm/rtc_pl031.cc
src/dev/arm/ufs_device.cc