From 9a02cdbe61c10146b5d7ffb85ef3dd5c15bdf784 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sat, 6 Feb 2010 23:26:32 -0800 Subject: sysdump: fix the dumping of the e820 memory information Need to advance the pointer... Signed-off-by: H. Peter Anvin --- com32/sysdump/memmap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'com32/sysdump') diff --git a/com32/sysdump/memmap.c b/com32/sysdump/memmap.c index bc938c9e..c8cfc032 100644 --- a/com32/sysdump/memmap.c +++ b/com32/sysdump/memmap.c @@ -49,6 +49,7 @@ static void dump_e820(struct backend *be) memcpy(buf[nentry].data, curr->data, sizeof curr->data); buf[nentry].ebx = ireg.ebx.l; buf[nentry].len = oreg.ecx.l; + nentry++; ireg.ebx.l = oreg.ebx.l; } while (ireg.ebx.l); -- cgit