From b2c59541b47e98fe69ab973ca4ab2688d70aac23 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 17 Apr 2011 22:30:09 +0000 Subject: 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 --- utils/sbtools/sb.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'utils/sbtools/sb.h') 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; -- cgit v1.2.3