From 32c6d70f6acd41dd1af5ea73051dd6c8a46eac14 Mon Sep 17 00:00:00 2001 From: drath Date: Thu, 28 Jun 2007 10:32:58 +0000 Subject: - fixed endianness helper macros (thanks to obilix and wiml for finding and fixing this bug) - added declarations for 32bit fileio access functions (network byte order) - fixed bug in etm trace dump file handling - added XScale trace buffer decoding - fixed arm_simulator ERROR numbers (-7xx used twice) - fixed minor bug in debug output in stellaris.c git-svn-id: svn://svn.berlios.de/openocd/trunk@178 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/fileio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/helper/fileio.h') diff --git a/src/helper/fileio.h b/src/helper/fileio.h index 55e6f323..5c0a88da 100644 --- a/src/helper/fileio.h +++ b/src/helper/fileio.h @@ -82,6 +82,8 @@ extern int fileio_read(fileio_t *fileio, u32 size, u8 *buffer, u32 *size_read); extern int fileio_seek(fileio_t *fileio, u32 position); extern int fileio_close(fileio_t *fileio); extern int fileio_open(fileio_t *fileio, char *url, enum fileio_access access, enum fileio_type type); +extern int fileio_read_u32(fileio_t *fileio, u32 *data); +extern int fileio_write_u32(fileio_t *fileio, u32 data); #define ERROR_FILEIO_LOCATION_UNKNOWN (-1200) #define ERROR_FILEIO_NOT_FOUND (-1201) -- cgit v1.2.3