dev: clean up PioDevice and DmaDevive getPort() methods.
authorSteve Reinhardt <steve.reinhardt@amd.com>
Thu, 20 Oct 2011 20:11:56 +0000 (13:11 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Thu, 20 Oct 2011 20:11:56 +0000 (13:11 -0700)
commit38aef4c4c7e58e9166616554465bea70afab824f
tree67452346f5ed51a5fcd6b6a7f5a43c006464649d
parent7b500f56ca539d1a31f9590a810e86146dd2582f
dev: clean up PioDevice and DmaDevive getPort() methods.

Make DmaDevice::getPort() call PioDevice::getPort() instead
of just copying and pasting the code.

Also move definitions from .hh to .cc file.
src/dev/io_device.cc
src/dev/io_device.hh