gem5/src/arch/x86/bios
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
..
acpi.cc includes: sort all includes 2011-04-15 10:44:06 -07:00
acpi.hh clang: Enable compiling gem5 using clang 2.9 and 3.0 2012-01-31 12:05:52 -05:00
ACPI.py x86: put back code that I accidentally deleted 2010-05-25 20:15:44 -07:00
e820.cc MEM: Make port proxies use references rather than pointers 2012-02-24 11:45:30 -05:00
e820.hh MEM: Make port proxies use references rather than pointers 2012-02-24 11:45:30 -05:00
E820.py config: revamp x86 config to avoid appending to SimObjectVectors 2011-05-23 14:29:23 -07:00
intelmp.cc MEM: Make port proxies use references rather than pointers 2012-02-24 11:45:30 -05:00
intelmp.hh MEM: Make port proxies use references rather than pointers 2012-02-24 11:45:30 -05:00
IntelMP.py copyright: Change HP copyright on x86 code to be more friendly 2010-05-23 22:44:15 -07:00
SConscript X86: Get rid of more uses of FULL_SYSTEM. 2011-10-30 00:33:02 -07:00
smbios.cc MEM: Make port proxies use references rather than pointers 2012-02-24 11:45:30 -05:00
smbios.hh MEM: Make port proxies use references rather than pointers 2012-02-24 11:45:30 -05:00
SMBios.py copyright: Change HP copyright on x86 code to be more friendly 2010-05-23 22:44:15 -07:00