aboutsummaryrefslogtreecommitdiffstats
path: root/com32/sysdump/vesa.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-06 23:26:53 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-06 23:26:53 -0800
commit8ea34077cefa05972f070215856887a093ca73d1 (patch)
tree3fd4166253969b0d9ecf65f0a2db5885ef0febaf /com32/sysdump/vesa.c
parent9a02cdbe61c10146b5d7ffb85ef3dd5c15bdf784 (diff)
downloadsyslinux-8ea34077cefa05972f070215856887a093ca73d1.tar.gz
syslinux-8ea34077cefa05972f070215856887a093ca73d1.tar.xz
syslinux-8ea34077cefa05972f070215856887a093ca73d1.zip
sysdump: be more explicit about what we are doing
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>
Diffstat (limited to 'com32/sysdump/vesa.c')
-rw-r--r--com32/sysdump/vesa.c4
1 files changed, 4 insertions, 0 deletions
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");
}