summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-04-19 04:14:48 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-04-19 04:14:48 -0700
commit25e223c30fb97d98aa55ee21922883efa25a1ab5 (patch)
treef263223fbb6f66cd86f929de4df08196012286bc /configs
parent5f164ba720f16b93324f54d979bffef15f3c0f25 (diff)
downloadgem5-25e223c30fb97d98aa55ee21922883efa25a1ab5.tar.xz
X86: Make E820 report nice, round (and correct) numbers.
Diffstat (limited to 'configs')
-rw-r--r--configs/common/FSConfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py
index 5b5b9fc32..f1b83a99f 100644
--- a/configs/common/FSConfig.py
+++ b/configs/common/FSConfig.py
@@ -336,7 +336,7 @@ def makeLinuxX86System(mem_mode, mdesc = None):
# Mark the rest as available
self.e820_table.entries.append(X86E820Entry(
addr = 0x100000,
- size = '%dB' % (self.physmem.range.second - 0x100000 - 1),
+ size = '%dB' % (self.physmem.range.second - 0x100000 + 1),
range_type = 1))
# Command line