[PATCH 1/5] kexec: X86: Show e820 table which gets passed in debug mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CC: Simon Horman <horms at verge.net.au>
CC: kexec at lists.infradead.org

Signed-off-by: Thomas Renninger <trenn at suse.de>
Signed-off-by: Thomas Renninger <Thomas Renninger" trenn at suse.de>
---
 kexec/arch/i386/x86-linux-setup.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/kexec/arch/i386/x86-linux-setup.c b/kexec/arch/i386/x86-linux-setup.c
index 454fad6..c538897 100644
--- a/kexec/arch/i386/x86-linux-setup.c
+++ b/kexec/arch/i386/x86-linux-setup.c
@@ -518,7 +518,10 @@ void setup_linux_system_parameters(struct kexec_info *info,
 		ranges = E820MAX;
 	}
 	real_mode->e820_map_nr = ranges;
+	dbgprintf("E820 map:\n");
 	for(i = 0; i < ranges; i++) {
+		dbgprintf("%016Lx-%016Lx (%d)\n", range[i].start,
+			  range[i].end, range[i].type);
 		real_mode->e820_map[i].addr = range[i].start;
 		real_mode->e820_map[i].size = range[i].end - range[i].start;
 		switch (range[i].type) {
@@ -550,7 +553,6 @@ void setup_linux_system_parameters(struct kexec_info *info,
 			}
 		}
 	}
-
 	/* fill the EDD information */
 	setup_edd_info(real_mode);
 }
-- 
1.7.6.1




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux