diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-04-24 15:54:49 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-04-24 15:54:49 +0000 |
commit | ad9d45a715367654f26bc95890841c699ff90839 (patch) | |
tree | b6e9e4bd7910149b21e4d19d4c159f64c8b2bc64 /tools/creative.h | |
parent | 4f4025f94bda24dc27c6f321419666c5682b9d12 (diff) | |
download | rockbox-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.h | 10 |
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 | ||
31 | struct device_info | 32 | struct 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 | ||
38 | int zvm_encode(char *iname, char *oname, int device); | 42 | int zvm_encode(char *iname, char *oname, int device); |
39 | 43 | ||