summaryrefslogtreecommitdiff
path: root/ao-tools/lib/ccdbg.h
diff options
context:
space:
mode:
Diffstat (limited to 'ao-tools/lib/ccdbg.h')
-rw-r--r--ao-tools/lib/ccdbg.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ao-tools/lib/ccdbg.h b/ao-tools/lib/ccdbg.h
index ca596143..a27ff5d1 100644
--- a/ao-tools/lib/ccdbg.h
+++ b/ao-tools/lib/ccdbg.h
@@ -122,8 +122,8 @@ struct hex_file {
};
struct hex_image {
- uint16_t address;
- uint16_t length;
+ uint32_t address;
+ uint32_t length;
uint8_t data[0];
};
@@ -253,6 +253,9 @@ ccdbg_hex_image_create(struct hex_file *hex);
void
ccdbg_hex_image_free(struct hex_image *image);
+struct hex_image *
+ccdbg_hex_load(char *filename);
+
int
ccdbg_hex_image_equal(struct hex_image *a, struct hex_image *b);