X86: Make E820 report nice, round (and correct) numbers.
This commit is contained in:
parent
5f164ba720
commit
25e223c30f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue