summaryrefslogtreecommitdiffstats
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.tar.bz2
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
ZENVISIONM = 0,
ZENVISIONM60 = 1,
ZENVISION = 2,
- ZENV = 3
+ ZENV = 3,
+ ZEN = 4
};
struct device_info
{
const char* cinf; /*Must be Unicode encoded*/
- const int cinf_size;
+ const unsigned int cinf_size;
const char* null;
-} device_info;
+ const unsigned char* bootloader;
+ const unsigned int bootloader_size;
+ const unsigned int memory_address;
+};
int zvm_encode(char *iname, char *oname, int device);