dev: Convert the x86 i8237 DMA controller to use RegBank.
authorGabe Black <gabe.black@gmail.com>
Tue, 27 Oct 2020 00:59:38 +0000 (17:59 -0700)
committerGabe Black <gabe.black@gmail.com>
Tue, 3 Nov 2020 02:04:49 +0000 (02:04 +0000)
commit7eb991b9ff4c607f5e10536046e315b3cd9ec42e
tree93949004412aa45da7d6ece40769f4b9bfcfd1d8
parent958be915082e9bd5ccfde2a2f0cf2be2aa024b41
dev: Convert the x86 i8237 DMA controller to use RegBank.

This gets rid of the requirement to only modify one byte register at a
time, and builds some structure around individual DMA channels.

The one small feature of the i8237 that was implemented is still
implemented, but now with a method of the i8237.

Change-Id: Ibc2b2d75f2a3b860da3f28ae649c6f1a099bdf7d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36815
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/x86/i8237.cc
src/dev/x86/i8237.hh