gem5/src/arch/arm/linux
Andreas Hansson 71da1d2157 base: Encapsulate the underlying fields in AddrRange
This patch makes the start and end address private in a move to
prevent direct manipulation and matching of ranges based on these
fields. This is done so that a transition to ranges with interleaving
support is possible.

As a result of hiding the start and end, a number of member functions
are needed to perform the comparisons and manipulations that
previously took place directly on the members. An accessor function is
provided for the start address, and a function is added to test if an
address is within a range. As a result of the latter the != and ==
operator is also removed in favour of the member function. A member
function that returns a string representation is also created to allow
debug printing.

In general, this patch does not add any functionality, but it does
take us closer to a situation where interleaving (and more cleverness)
can be added under the bonnet without exposing it to the user. More on
that in a later patch.
2013-01-07 13:05:38 -05:00
..
atag.hh gcc: Clean-up of non-C++0x compliant code, first steps 2012-03-19 06:36:09 -04:00
linux.cc includes: sort all includes 2011-04-15 10:44:06 -07:00
linux.hh syscall emulation: Enabled getrlimit and getrusage for x86. 2012-08-06 19:52:56 -07:00
process.cc syscall emulation: Enabled getrlimit and getrusage for x86. 2012-08-06 19:52:56 -07:00
process.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
system.cc base: Encapsulate the underlying fields in AddrRange 2013-01-07 13:05:38 -05:00
system.hh ARM: dump stats and process info on context switches 2012-11-02 11:32:01 -05:00