gem5/src/arch/mips/linux
Andreas Hansson 9e3c8de30b MEM: Make port proxies use references rather than pointers
This patch is adding a clearer design intent to all objects that would
not be complete without a port proxy by making the proxies members
rathen than dynamically allocated. In essence, if NULL would not be a
valid value for the proxy, then we avoid using a pointer to make this
clear.

The same approach is used for the methods using these proxies, such as
loadSections, that now use references rather than pointers to better
reflect the fact that NULL would not be an acceptable value (in fact
the code would break and that is how this patch started out).

Overall the concept of "using a reference to express unconditional
composition where a NULL pointer is never valid" could be done on a
much broader scale throughout the code base, but for now it is only
done in the locations affected by the proxies.
2012-02-24 11:45:30 -05:00
..
aligned.hh Add in files from merge-bare-iron, get them compiling in FS and SE mode 2007-11-13 16:58:16 -05:00
hwrpb.hh Add in files from merge-bare-iron, get them compiling in FS and SE mode 2007-11-13 16:58:16 -05:00
linux.cc includes: sort all includes 2011-04-15 10:44:06 -07:00
linux.hh syscall_emul: implement MAP_FIXED option to mmap() 2011-10-22 22:30:07 -07:00
process.cc MEM: Add port proxies instead of non-structural ports 2012-01-17 12:55:08 -06:00
process.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
system.cc Merge with the main repo. 2012-01-28 07:24:01 -08:00
system.hh Get rid of 'using namespace' declarations in headers. 2009-03-05 17:15:31 -08:00
thread_info.hh fix MIPS headers 2007-11-15 14:21:01 -05:00
threadinfo.hh MEM: Make port proxies use references rather than pointers 2012-02-24 11:45:30 -05:00