summaryrefslogtreecommitdiff
path: root/tools/creative.h
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-04-24 15:54:49 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-04-24 15:54:49 +0000
commitad9d45a715367654f26bc95890841c699ff90839 (patch)
treeb6e9e4bd7910149b21e4d19d4c159f64c8b2bc64 /tools/creative.h
parent4f4025f94bda24dc27c6f321419666c5682b9d12 (diff)
downloadrockbox-ad9d45a715367654f26bc95890841c699ff90839.tar.gz
rockbox-ad9d45a715367654f26bc95890841c699ff90839.zip
Add support for the Creative ZEN and renew the way firmwares are
created. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17239 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/creative.h')
-rw-r--r--tools/creative.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/tools/creative.h b/tools/creative.h
index ff8b4a019d..b8b8f53737 100644
--- a/tools/creative.h
+++ b/tools/creative.h
@@ -25,15 +25,19 @@ enum
25 ZENVISIONM = 0, 25 ZENVISIONM = 0,
26 ZENVISIONM60 = 1, 26 ZENVISIONM60 = 1,
27 ZENVISION = 2, 27 ZENVISION = 2,
28 ZENV = 3 28 ZENV = 3,
29 ZEN = 4
29}; 30};
30 31
31struct device_info 32struct device_info
32{ 33{
33 const char* cinf; /*Must be Unicode encoded*/ 34 const char* cinf; /*Must be Unicode encoded*/
34 const int cinf_size; 35 const unsigned int cinf_size;
35 const char* null; 36 const char* null;
36} device_info; 37 const unsigned char* bootloader;
38 const unsigned int bootloader_size;
39 const unsigned int memory_address;
40};
37 41
38int zvm_encode(char *iname, char *oname, int device); 42int zvm_encode(char *iname, char *oname, int device);
39 43