From: Gabe Black Date: Sun, 19 Apr 2009 11:14:48 +0000 (-0700) Subject: X86: Make E820 report nice, round (and correct) numbers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25e223c30fb97d98aa55ee21922883efa25a1ab5;p=gem5.git X86: Make E820 report nice, round (and correct) numbers. --- 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