diff options
author | Nathan Binkert <nate@binkert.org> | 2008-10-09 22:19:39 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-10-09 22:19:39 -0700 |
commit | 94b08bed07d13106381a0bb692bf0d879c5353d4 (patch) | |
tree | e6edac20c9eaa5cfb6eab25d3e6a4716d4451da9 /src/arch/x86/bios | |
parent | 4ecc5d53a302c5e494df5853a314a61e8bba3a50 (diff) | |
download | gem5-94b08bed07d13106381a0bb692bf0d879c5353d4.tar.xz |
SimObjects: Clean up handling of C++ namespaces.
Make them easier to express by only having the cxx_type parameter which
has the full namespace name, and drop the cxx_namespace thing.
Add support for multiple levels of namespace.
Diffstat (limited to 'src/arch/x86/bios')
-rw-r--r-- | src/arch/x86/bios/E820.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/arch/x86/bios/E820.py b/src/arch/x86/bios/E820.py index e161cd56f..288c253fb 100644 --- a/src/arch/x86/bios/E820.py +++ b/src/arch/x86/bios/E820.py @@ -58,8 +58,7 @@ from m5.SimObject import SimObject class X86E820Entry(SimObject): type = 'X86E820Entry' - cxx_namespace = 'X86ISA' - cxx_class = 'E820Entry' + cxx_class = 'X86ISA::E820Entry' addr = Param.Addr(0, 'address of the beginning of the region') size = Param.MemorySize('0B', 'size of the region') @@ -67,7 +66,6 @@ class X86E820Entry(SimObject): class X86E820Table(SimObject): type = 'X86E820Table' - cxx_namespace = 'X86ISA' - cxx_class = 'E820Table' + cxx_class = 'X86ISA::E820Table' entries = VectorParam.X86E820Entry([], 'entries for the e820 table') |