summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/rtems/score/armv7m.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-01-07 08:48:45 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-01-07 15:07:42 +0100
commite377ad7d621f9b278a29dbbff25b915a40e6073b (patch)
treea0e384d303ec05e4782e703c652ee1f8edeb0e2d /cpukit/score/cpu/arm/rtems/score/armv7m.h
parentarm: Provide CPU_Exception_frame for ARMv7-M (diff)
downloadrtems-e377ad7d621f9b278a29dbbff25b915a40e6073b.tar.bz2
arm: Include <rtems/score/cpu.h>
Diffstat (limited to 'cpukit/score/cpu/arm/rtems/score/armv7m.h')
-rw-r--r--cpukit/score/cpu/arm/rtems/score/armv7m.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/armv7m.h b/cpukit/score/cpu/arm/rtems/score/armv7m.h
index 62f69ff490..c8b55c1bfe 100644
--- a/cpukit/score/cpu/arm/rtems/score/armv7m.h
+++ b/cpukit/score/cpu/arm/rtems/score/armv7m.h
@@ -15,13 +15,14 @@
#ifndef RTEMS_SCORE_ARMV7M_H
#define RTEMS_SCORE_ARMV7M_H
-#include <stdint.h>
-#include <stdbool.h>
+#include <rtems/score/cpu.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
+#ifdef ARM_MULTILIB_ARCH_V7M
+
typedef struct {
uint32_t reserved_0;
uint32_t ictr;
@@ -475,6 +476,8 @@ void _ARMV7M_Pendable_service_call( void );
void _ARMV7M_Supervisor_call( void );
+#endif /* ARM_MULTILIB_ARCH_V7M */
+
#ifdef __cplusplus
}
#endif /* __cplusplus */