config: fix assertion for x86 in FSConfig.py
This commit is contained in:
parent
82fb350f9a
commit
90820ddf02
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue