diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-06 23:26:32 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-06 23:26:32 -0800 |
commit | 9a02cdbe61c10146b5d7ffb85ef3dd5c15bdf784 (patch) | |
tree | f89120ffcb6487f0561c4867090783a65349928f /com32/sysdump/memmap.c | |
parent | 4d042afa499f879317b2c18dafd714751bd951ba (diff) | |
download | syslinux-9a02cdbe61c10146b5d7ffb85ef3dd5c15bdf784.tar.gz syslinux-9a02cdbe61c10146b5d7ffb85ef3dd5c15bdf784.tar.xz syslinux-9a02cdbe61c10146b5d7ffb85ef3dd5c15bdf784.zip |
sysdump: fix the dumping of the e820 memory information
Need to advance the pointer...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/sysdump/memmap.c')
-rw-r--r-- | com32/sysdump/memmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |