AddrRange: Transition from Range<T> to AddrRange
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 19 Sep 2012 10:15:44 +0000 (06:15 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 19 Sep 2012 10:15:44 +0000 (06:15 -0400)
commitffb6aec603c38e16ae91ea975c16fc3e8fb337e5
treefdf6e12bea9788f46589a9bcb15a8fe67581786f
parentc34df76272c17401955f6daf30ca9c7e7671ae56
AddrRange: Transition from Range<T> to AddrRange

This patch takes the final plunge and transitions from the templated
Range class to the more specific AddrRange. In doing so it changes the
obvious Range<Addr> to AddrRange, and also bumps the range_map to be
AddrRangeMap.

In addition to the obvious changes, including the removal of redundant
includes, this patch also does some house keeping in preparing for the
introduction of address interleaving support in the ranges. The Range
class is also stripped of all the functionality that is never used.

--HG--
rename : src/base/range.hh => src/base/addr_range.hh
rename : src/base/range_map.hh => src/base/addr_range_map.hh
49 files changed:
src/arch/x86/interrupts.cc
src/base/addr_range.hh [new file with mode: 0644]
src/base/addr_range_map.hh [new file with mode: 0644]
src/base/inet.hh
src/base/random.hh
src/base/range.hh [deleted file]
src/base/range_map.hh [deleted file]
src/cpu/simple/base.cc
src/dev/alpha/backdoor.hh
src/dev/alpha/tsunami_cchip.hh
src/dev/alpha/tsunami_io.hh
src/dev/alpha/tsunami_pchip.hh
src/dev/arm/a9scu.hh
src/dev/arm/amba_device.hh
src/dev/arm/amba_fake.hh
src/dev/arm/gic.hh
src/dev/arm/kmi.hh
src/dev/arm/pl011.hh
src/dev/arm/pl111.hh
src/dev/arm/rtc_pl031.hh
src/dev/arm/rv_ctrl.hh
src/dev/arm/timer_cpulocal.hh
src/dev/arm/timer_sp804.hh
src/dev/baddev.hh
src/dev/isa_fake.hh
src/dev/mc146818.hh
src/dev/mips/malta_cchip.hh
src/dev/mips/malta_io.hh
src/dev/mips/malta_pchip.hh
src/dev/pciconfigall.hh
src/dev/sparc/dtod.hh
src/dev/sparc/iob.hh
src/dev/sparc/mm_disk.hh
src/dev/uart.hh
src/dev/uart8250.hh
src/dev/x86/i82094aa.hh
src/mem/abstract_mem.cc
src/mem/abstract_mem.hh
src/mem/bridge.cc
src/mem/bridge.hh
src/mem/bus.cc
src/mem/bus.hh
src/mem/cache/cache_impl.hh
src/mem/physical.cc
src/mem/physical.hh
src/mem/port.hh
src/python/m5/params.py
src/python/swig/range.i
src/unittest/rangemaptest.cc