DMA: Split the DMA device and IO device into seperate files
Review Request #1204 - Created May 17, 2012 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
DMA: Split the DMA device and IO device into seperate files This patch moves the DMA device to its own set of files, splitting it from the IO device. There are no behavioural changes associated with this patch. The patch also grabs the opportunity to do some very minor tidying up, including some white space removal and pruning some redundant parameters. Besides the immediate benefits of the separation-of-concerns, this patch also makes upcoming changes more streamlined as it split the devices that are only slaves and the DMA device that also acts as a master.
util/regress all passing (disregarding t1000 and eio)
i don't know that it makes it better or worse, but if you care...
-
src/dev/Device.py (Diff revision 1) -
This doesn't seem like it adds any value
I'm with Ali... I wouldn't call this a badly needed improvement, but it's fine with me. I'm happy either way on the DmaDevice.py change. I'd lean towards not changing it just because it's a user-visible change that might require people to tweak their config scripts, which is better to avoid when it's not necessary.
