summaryrefslogtreecommitdiff
path: root/python/m5/objects/BaseCache.py
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-11-01 14:11:54 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2005-11-01 14:11:54 -0500
commitfb4f83809fd8a427503b109848ca7c8f3c179e8c (patch)
tree3b3719cd3529e704d3821e1e0edd5d623e77cbb0 /python/m5/objects/BaseCache.py
parent76843fc2649a4081d2e8c4bfbd4f7b5929ff5886 (diff)
downloadgem5-fb4f83809fd8a427503b109848ca7c8f3c179e8c.tar.xz
Allow math on CheckedInt-derived ParamValue classes w/o
losing type information. python/m5/config.py: Allow math on CheckedInt-derived ParamValue classes w/o losing type information. - Make CheckedInt derive from NumericParamValue, and *not* multiply inherit from long - Move CheckedInt bounds check to _check() hook so we can call it when value is updated (not just in constructor) python/m5/convert.py: - make toInteger() return a long, making toLong() unnecessary - toMemorySize should return long rather than float --HG-- extra : convert_revision : c1cf5e15b9ff35d9b573dd545e076fe68afef989
Diffstat (limited to 'python/m5/objects/BaseCache.py')
0 files changed, 0 insertions, 0 deletions