summaryrefslogtreecommitdiffstats
path: root/utils/sbtools/sb.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-04-17 22:30:09 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-04-17 22:30:09 +0000
commitb2c59541b47e98fe69ab973ca4ab2688d70aac23 (patch)
treebb2384b6c844ce9f77ccc2227920a053b5ee33cd /utils/sbtools/sb.h
parente3fe3956f6c9c244ccbc57d1ddce7b2202b373f4 (diff)
downloadrockbox-b2c59541b47e98fe69ab973ca4ab2688d70aac23.tar.gz
rockbox-b2c59541b47e98fe69ab973ca4ab2688d70aac23.tar.bz2
rockbox-b2c59541b47e98fe69ab973ca4ab2688d70aac23.zip
sbtoelf: fix to handle unencrypted files (minor tweak)
elftosb: properly generate sb file (encryption not implemented yet) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29742 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/sbtools/sb.h')
-rw-r--r--utils/sbtools/sb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/sbtools/sb.h b/utils/sbtools/sb.h
index 01ee0e642f..fe9ee3f4db 100644
--- a/utils/sbtools/sb.h
+++ b/utils/sbtools/sb.h
@@ -99,6 +99,14 @@ struct sb_instruction_header_t
uint16_t flags;
} __attribute__((packed));
+struct sb_instruction_common_t
+{
+ struct sb_instruction_header_t hdr;
+ uint32_t addr;
+ uint32_t len;
+ uint32_t data;
+} __attribute__((packed));
+
struct sb_instruction_load_t
{
struct sb_instruction_header_t hdr;