summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chubb <peter.chubb@nicta.com.au>2014-01-16 08:39:06 +1100
committerSimon Horman <horms@verge.net.au>2014-01-16 09:21:52 +0900
commit0780897b8b06fe40234e3d4eac66ce6031145220 (patch)
tree31b0b78869106f15d7f454e06dac5876fbe5d69d /include
parentfbd61f27cb637d984b0a15e2d711605d28b3043e (diff)
Fix value of mbi->mem_lower for multiboot-x86
In the multiboot header, there is a field, `mem_lower' that is meant to contain the size of memory starting at zero and ending below 640k. If your kernel is compiled with CONFIG_X86_RESERVE_LOW non zero (the usual case), then a hole is inserted into kernel's physical memory map at zero, so the test to find the size of this region in kexec/arch/i386/kexec-multiboot-x86.c never succeeds, so the value is always zero. On a PC99 architecture, there is always memory at physycal address zero; assume that a region that starts below 64k actually starts at zero, and use it for the mem_lower variable. Signed-off-by: Peter Chubb <peter.chubb@nicta.com.au> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions