#include <stdio.h>
#include <syslinux/movebits.h>
-void syslinux_dump_memmap(FILE *file, struct syslinux_memmap *memmap)
+void syslinux_dump_memmap(FILE * file, struct syslinux_memmap *memmap)
{
- fprintf(file, "%10s %10s %10s\n"
- "--------------------------------\n",
- "Start", "Length", "Type");
- while (memmap->next) {
- fprintf(file, "0x%08x 0x%08x %10d\n", memmap->start,
- memmap->next->start - memmap->start, memmap->type);
- memmap = memmap->next;
- }
+ fprintf(file, "%10s %10s %10s\n"
+ "--------------------------------\n", "Start", "Length", "Type");
+ while (memmap->next) {
+ fprintf(file, "0x%08x 0x%08x %10d\n", memmap->start,
+ memmap->next->start - memmap->start, memmap->type);
+ memmap = memmap->next;
+ }
}