summaryrefslogtreecommitdiff
path: root/src/target/image.h
diff options
context:
space:
mode:
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-06-14 09:47:00 +0000
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-06-14 09:47:00 +0000
commit53d1f9b2ca5718e4996e9cf3406f857d0ed26df2 (patch)
tree76c0dbf27a9114fb6f8a4c9f71af6117716a05d5 /src/target/image.h
parent7087b66f19a7d60025f7315baa26d682804f3640 (diff)
downloadopenocd+libswd-53d1f9b2ca5718e4996e9cf3406f857d0ed26df2.tar.gz
openocd+libswd-53d1f9b2ca5718e4996e9cf3406f857d0ed26df2.tar.bz2
openocd+libswd-53d1f9b2ca5718e4996e9cf3406f857d0ed26df2.tar.xz
openocd+libswd-53d1f9b2ca5718e4996e9cf3406f857d0ed26df2.zip
- added manpage for OpenOCD (thanks to Uwe Hermann)
- fixed bug in ARM926EJ-S cache handling that caused cache linefills to be disabled after first debug entry - added support for auto image type detection (thanks to Vincent Palatin) - further work on ETM trace decoding (tested with a ETB interface using an ETM in normal 16-bit port mode, still experimental) git-svn-id: svn://svn.berlios.de/openocd/trunk@169 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/image.h')
-rw-r--r--src/target/image.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/target/image.h b/src/target/image.h
index 38a2b772..074b9069 100644
--- a/src/target/image.h
+++ b/src/target/image.h
@@ -24,7 +24,7 @@
#include "fileio.h"
#include "target.h"
-#define IMAGE_MAX_ERROR_STRING (128)
+#define IMAGE_MAX_ERROR_STRING (256)
#define IMAGE_MAX_SECTIONS (128)
typedef enum image_type
@@ -69,7 +69,6 @@ typedef struct image_ihex_s
{
fileio_t fileio;
u8 *buffer;
- u8 **section_pointer;
} image_ihex_t;
typedef struct image_memory_s
@@ -86,10 +85,9 @@ typedef struct fileio_elf_s
u8 endianness;
} image_elf_t;
-extern int image_open(image_t *image, void *source, enum fileio_access access);
+extern int image_open(image_t *image, void *source, char *type_string);
extern int image_read_section(image_t *image, int section, u32 offset, u32 size, u8 *buffer, u32 *size_read);
extern int image_close(image_t *image);
-extern int identify_image_type(image_type_t *type, char *type_string);
#define ERROR_IMAGE_FORMAT_ERROR (-1400)
#define ERROR_IMAGE_TYPE_UNKNOWN (-1401)