aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--com32/sysdump/main.c1
-rw-r--r--com32/sysdump/memory.c4
-rw-r--r--com32/sysdump/pci.c2
-rw-r--r--com32/sysdump/vesa.c4
4 files changed, 9 insertions, 2 deletions
diff --git a/com32/sysdump/main.c b/com32/sysdump/main.c
index 80128160..02575e37 100644
--- a/com32/sysdump/main.c
+++ b/com32/sysdump/main.c
@@ -32,7 +32,6 @@ __noreturn die(const char *msg)
static void dump_all(struct backend *be, const char *argv[], size_t len)
{
-
cpio_init(be, argv, len);
dump_memory_map(be);
diff --git a/com32/sysdump/memory.c b/com32/sysdump/memory.c
index e7108d1e..6552e7f3 100644
--- a/com32/sysdump/memory.c
+++ b/com32/sysdump/memory.c
@@ -40,8 +40,12 @@ static void dump_memory_range(struct backend *be, const void *where,
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");
}
diff --git a/com32/sysdump/pci.c b/com32/sysdump/pci.c
index debbbafe..1d687279 100644
--- a/com32/sysdump/pci.c
+++ b/com32/sysdump/pci.c
@@ -66,5 +66,5 @@ void dump_pci(struct backend *be)
}
}
- printf("Scanning PCI bus... done \n");
+ printf("Scanning PCI bus... done. \n");
}
diff --git a/com32/sysdump/vesa.c b/com32/sysdump/vesa.c
index 3d72093a..9bdc7153 100644
--- a/com32/sysdump/vesa.c
+++ b/com32/sysdump/vesa.c
@@ -12,6 +12,8 @@ void dump_vesa_tables(struct backend *be)
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;
@@ -53,4 +55,6 @@ void dump_vesa_tables(struct backend *be)
sprintf(modefile, "vesa/mode%04x.bin", mode);
cpio_writefile(be, modefile, &mi, sizeof mi);
}
+
+ printf("done.\n");
}