From: Nathan Binkert Date: Mon, 19 Apr 2010 04:33:59 +0000 (-0700) Subject: config: fix assertion for x86 in FSConfig.py X-Git-Tag: stable_2012_02_02~1420 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90820ddf022aab7820297318555402b4bc41ed04;p=gem5.git config: fix assertion for x86 in FSConfig.py --- diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py index 72cfcbb55..834e9bd0a 100644 --- a/configs/common/FSConfig.py +++ b/configs/common/FSConfig.py @@ -315,7 +315,7 @@ def makeLinuxX86System(mem_mode, numCPUs = 1, mdesc = None): # We assume below that there's at least 1MB of memory. We'll require 2 # just to avoid corner cases. - assert(self.physmem.range.second >= 0x200000) + assert(self.physmem.range.second.getValue() >= 0x200000) # Mark the first megabyte of memory as reserved self.e820_table.entries.append(X86E820Entry(