[rtems commit] bsp/lpc32xx: Specify scratch area alignment
Sebastian Huber
sebh at rtems.org
Mon Aug 20 08:08:29 UTC 2012
Module: rtems
Branch: master
Commit: 25802b42a60dfb467be97d2393cf65db1cb4edc2
Changeset: http://git.rtems.org/rtems/commit/?id=25802b42a60dfb467be97d2393cf65db1cb4edc2
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Aug 13 15:32:03 2012 +0200
bsp/lpc32xx: Specify scratch area alignment
---
c/src/lib/libbsp/arm/lpc32xx/include/bsp.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h b/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h
index 58abf58..43e0d90 100644
--- a/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h
+++ b/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h
@@ -177,7 +177,8 @@ extern uint32_t lpc32xx_magic_zero_size [];
*
* The usage is application specific.
*/
- extern uint8_t lpc32xx_scratch_area [LPC32XX_SCRATCH_AREA_SIZE];
+ extern uint8_t lpc32xx_scratch_area [LPC32XX_SCRATCH_AREA_SIZE]
+ __attribute__((aligned(32)));
#endif
#define LPC32XX_DO_STOP_GPDMA \
More information about the vc
mailing list