Print more information on the console about what is going on. That
can help detect problems if we find a machine which hangs on sysdump.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
static void dump_all(struct backend *be, const char *argv[], size_t len)
{
-
cpio_init(be, argv, len);
dump_memory_map(be);
void dump_memory(struct backend *be)
{
+ printf("Dumping memory... ");
+
cpio_mkdir(be, "memory");
if (lowmem)
dump_memory_range(be, lowmem, zero_addr, lowmem_len);
+
+ printf("done.\n");
}
}
}
- printf("Scanning PCI bus... done \n");
+ printf("Scanning PCI bus... done. \n");
}
uint16_t mode, *mode_ptr;
char modefile[64];
+ printf("Scanning VESA BIOS... ");
+
/* Allocate space in the bounce buffer for these structures */
gip = &((struct vesa_info *)__com32.cs_bounce)->gi;
mip = &((struct vesa_info *)__com32.cs_bounce)->mi;
sprintf(modefile, "vesa/mode%04x.bin", mode);
cpio_writefile(be, modefile, &mi, sizeof mi);
}
+
+ printf("done.\n");
}