Review Board 2.0.15


config: Change parsing of Addr so hex values work from scripts

Review Request #2292 - Created June 12, 2014 and submitted - Latest diff uploaded

Information
Ali Saidi
gem5
default
Reviewers
Default
Changeset 10295:9a15d64f7738
---------------------------
config: Change parsing of Addr so hex values work from scripts

When passed from a configuration script with a hexadecimal value (like
"0x80000000"), gem5 would error out. This is because it would call
"toMemorySize" which requires the argument to end with a size specifier (like
1MB, etc).

This modification makes it so raw hex values can be passed through Addr
parameters from the configuration scripts.