config: fix assertion for x86 in FSConfig.py

This commit is contained in:
Nathan Binkert 2010-04-18 21:33:59 -07:00
parent 82fb350f9a
commit 90820ddf02

View file

@ -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 # We assume below that there's at least 1MB of memory. We'll require 2
# just to avoid corner cases. # 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 # Mark the first megabyte of memory as reserved
self.e820_table.entries.append(X86E820Entry( self.e820_table.entries.append(X86E820Entry(