aboutsummaryrefslogtreecommitdiffstats
path: root/com32/sysdump/main.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-06 17:43:11 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-06 17:44:29 -0800
commit177148d253c6ca986ef94aa9b22ae377ddee828a (patch)
tree5d17f72138a66d8dc6b1005fc6beecce14d0b9c8 /com32/sysdump/main.c
parent0f4c904b628adb906a3d534b5efa031071ec6b5e (diff)
downloadsyslinux.git-177148d253c6ca986ef94aa9b22ae377ddee828a.tar.gz
syslinux.git-177148d253c6ca986ef94aa9b22ae377ddee828a.tar.xz
syslinux.git-177148d253c6ca986ef94aa9b22ae377ddee828a.zip
sysdump: dump vesa modes, generate usable timestamps
Dump all the VESA modes; give functional timestamps for the cpio members. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/sysdump/main.c')
-rw-r--r--com32/sysdump/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/com32/sysdump/main.c b/com32/sysdump/main.c
index 1390d5c2..d2475c59 100644
--- a/com32/sysdump/main.c
+++ b/com32/sysdump/main.c
@@ -20,6 +20,7 @@
#include <console.h>
#include <sys/cpu.h>
#include "backend.h"
+#include "sysdump.h"
const char *program = "sysdump";
@@ -149,14 +150,16 @@ int main(int argc, char *argv[])
if (!be)
die("unknown backend");
- if (cpio_init(be, argv+2))
+ if (cpio_init(be, (const char **)argv+2))
die("backend initialization error");
if (lowmem) {
cpio_writefile(be, "lowmem.bin", lowmem, lowmem_len);
free(lowmem);
}
-
+
+ dump_vesa_tables(be);
+
cpio_close(be);
return 0;