diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-12 10:02:47 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-12 10:02:47 +0000 |
commit | 75f89c5cb6b437609aeb4aeeaca5cfe37bb2e44f (patch) | |
tree | 9938bab902196d93dde4e7fa3b3fb6ba562bb5fa /src | |
parent | 7d81ab69e192e0f89f67007e70e878e5987d598a (diff) | |
download | openocd+libswd-75f89c5cb6b437609aeb4aeeaca5cfe37bb2e44f.tar.gz openocd+libswd-75f89c5cb6b437609aeb4aeeaca5cfe37bb2e44f.tar.bz2 openocd+libswd-75f89c5cb6b437609aeb4aeeaca5cfe37bb2e44f.tar.xz openocd+libswd-75f89c5cb6b437609aeb4aeeaca5cfe37bb2e44f.zip |
eCos fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1763 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/jim.c | 9 | ||||
-rw-r--r-- | src/jtag/jtag.h | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/helper/jim.c b/src/helper/jim.c index 261b8602..601e0eb9 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -48,6 +48,15 @@ #ifdef __ECOS #include <pkgconf/jimtcl.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <stdarg.h> +#include <ctype.h> +#include <limits.h> +#include <assert.h> +#include <errno.h> +#include <time.h> #endif #ifndef JIM_ANSIC #define JIM_DYNLIB /* Dynamic library support for UNIX and WIN32 */ diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index 84290ca7..19c30580 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -607,6 +607,11 @@ extern void jtag_add_callback(jtag_callback1_t, u8 *in); /* implemented by minidriver */ #endif + +#ifdef __ECOS +typedef CYG_ADDRWORD intptr_t; +#endif + /* This type can store an integer safely by a normal cast on 64 and * 32 bit systems. */ typedef intptr_t jtag_callback_data_t; |