diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 04:14:48 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 04:14:48 -0700 |
commit | 25e223c30fb97d98aa55ee21922883efa25a1ab5 (patch) | |
tree | f263223fbb6f66cd86f929de4df08196012286bc /configs | |
parent | 5f164ba720f16b93324f54d979bffef15f3c0f25 (diff) | |
download | gem5-25e223c30fb97d98aa55ee21922883efa25a1ab5.tar.xz |
X86: Make E820 report nice, round (and correct) numbers.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/common/FSConfig.py | 2 |
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 |