From 25e223c30fb97d98aa55ee21922883efa25a1ab5 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 19 Apr 2009 04:14:48 -0700 Subject: X86: Make E820 report nice, round (and correct) numbers. --- configs/common/FSConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs') 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 -- cgit v1.2.3