diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2008-07-11 10:07:00 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2008-07-11 10:07:00 +0000 |
commit | 224aebb3b8ceb936e333e4c9b71bfb95737f4c5e (patch) | |
tree | 6c88f335e66565339db5fcbd0f330fc1ada4608e /cpukit | |
parent | made buffer for write calls constant (diff) | |
download | rtems-224aebb3b8ceb936e333e4c9b71bfb95737f4c5e.tar.bz2 |
added BSP to m68k
adapted PPC exception code
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 14 | ||||
-rw-r--r-- | cpukit/Makefile.am | 5 | ||||
-rw-r--r-- | cpukit/include/rtems/status-checks.h | 12 |
3 files changed, 27 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 3b9512417d..e8f60bec3d 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,17 @@ +2008-07-10 Peter Rasmussen <Peter.Rasmussen@embedded-brains.de> + + * score/cpu/m68k/cpu_asm.S, cpukit/score/cpu/m68k/rtems/asm.h, + cpukit/score/cpu/m68k/rtems/score/cpu.h, + score/cpu/m68k/rtems/score/m68k.h: + + added support to save coldfire FPU/EMAC context + +2008-07-10 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> + + * libi2c/libi2c.c, libi2c/libi2c.h: + make buffer passed to *write* functions a const pointer + + 2008-07-10 Till Straumann <strauman@slac.stanford.edu> * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h, diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index ad230e6927..35900e7325 100644 --- a/cpukit/Makefile.am +++ b/cpukit/Makefile.am @@ -66,13 +66,16 @@ endif include_rtems_HEADERS += include/rtems/bspIo.h include/rtems/userenv.h \ include/rtems/fs.h include/rtems/pci.h include/rtems/stdint.h \ - include/rtems/concat.h include/rtems/tar.h + include/rtems/concat.h include/rtems/tar.h \ + include/rtems/status-checks.h include_rtems_HEADERS += include/rtems/endian.h ## should be conditional and only installed for PowerPC, x86, and ARM include_rtems_HEADERS += include/rtems/irq.h +include_rtems_HEADERS += include/rtems/irq-extension.h + ## libfs include_rtems_HEADERS += libfs/src/imfs/imfs.h diff --git a/cpukit/include/rtems/status-checks.h b/cpukit/include/rtems/status-checks.h index 7c7754f7b0..f62289fe4d 100644 --- a/cpukit/include/rtems/status-checks.h +++ b/cpukit/include/rtems/status-checks.h @@ -34,14 +34,20 @@ extern "C" { #endif /* RTEMS_STATUS_CHECKS_USE_PRINTK */ #endif /* DEBUG_PRINT */ #else /* DEBUG */ + #ifdef DEBUG_PRINT + #warning DEBUG_PRINT was defined, but DEBUG was undefined + #undef DEBUG_PRINT + #endif /* DEBUG_PRINT */ #define DEBUG_PRINT( fmt, ...) #endif /* DEBUG */ #ifndef SYSLOG_PRINT #ifdef RTEMS_STATUS_CHECKS_USE_PRINTK - #define SYSLOG_PRINT( fmt, ...) printk( fmt, ##__VA_ARGS__) + #define SYSLOG_PRINT( fmt, ...) \ + printk( fmt, ##__VA_ARGS__) #else /* RTEMS_STATUS_CHECKS_USE_PRINTK */ - #define SYSLOG_PRINT( fmt, ...) printf( fmt, ##__VA_ARGS__) + #define SYSLOG_PRINT( fmt, ...) \ + printf( fmt, ##__VA_ARGS__) #endif /* RTEMS_STATUS_CHECKS_USE_PRINTK */ #endif /* SYSLOG_PRINT */ @@ -177,7 +183,7 @@ extern "C" { do { \ rv = val; \ SYSLOG_ERROR( "RV = %i: %s\n", rv, hint ); \ - goto label; + goto label; \ } while (0) #ifdef __cplusplus |