diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-08-30 13:30:09 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-08-30 13:30:09 +0000 |
commit | c1188b418c812fe1afd28e3ba0a5c2afaaf1a4fc (patch) | |
tree | ce1e73893b8c74d2f1e5b7580a6f9342136be827 /c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h | |
parent | 2011-08-30 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-c1188b418c812fe1afd28e3ba0a5c2afaaf1a4fc.tar.bz2 |
2011-08-30 Peter Dufault <dufault@hda.com>
* mpc55xx/misc/flash_support.c: New file.
* Makefile.am: Reflect change above.
* mpc55xx/include/mpc55xx.h: Add definitions for the FLASH interface
and two memory protect interfaces. Add modifications to eliminate
warnings in some of the cache macros.
* mpc55xx/include/regs.h: Add some structure tag names for some
structures that I needed access to. Don't define the ALTCADR for the
MPC5554 - it is reserved and acess casues an exception. Hide the C99
designated initializers when compiling with C++. Add some support for
the EQADC.
* mpc55xx/include/esci.h, mpc55xx/include/watchdog.h: Add C++
protection.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h b/c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h index 3066f23a3a..04ca06e128 100644 --- a/c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h +++ b/c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h @@ -29,6 +29,10 @@ #include <rtems/termiostypes.h> +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #define MPC55XX_ESCI_NUMBER 2 struct ESCI_tag; @@ -45,4 +49,8 @@ typedef struct { extern mpc55xx_esci_driver_entry mpc55xx_esci_driver_table [ /* MPC55XX_ESCI_NUMBER */ ]; +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* LIBCPU_POWERPC_MPC55XX_ESCI_H */ |