summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2007-03-06 11:16:15 -0800
committerNathan Binkert <binkertn@umich.edu>2007-03-06 11:16:15 -0800
commit44f215f44dbd9641dd672fa380ff92fa587f96d4 (patch)
treee7f2164e86f8bbbd7368d0e0e8de9fcb791bcb3a /src/python/m5
parentd55b25cde6d2c072885a2c468d209fb18d6628e6 (diff)
downloadgem5-44f215f44dbd9641dd672fa380ff92fa587f96d4.tar.xz
Python parameters types need analogous C++ types
--HG-- extra : convert_revision : d068dfec69b28d48fc299a4108e165decfaaace7
Diffstat (limited to 'src/python/m5')
-rw-r--r--src/python/m5/params.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py
index 7c60a8554..9892df97c 100644
--- a/src/python/m5/params.py
+++ b/src/python/m5/params.py
@@ -361,6 +361,7 @@ class MemorySize(CheckedInt):
self._check()
class MemorySize32(CheckedInt):
+ cxx_type = 'uint32_t'
size = 32
unsigned = True
def __init__(self, value):