diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-27 10:51:12 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-27 10:51:12 +0000 |
commit | 8bd26f16956f7763d79c421e535d56f2cd7edc6e (patch) | |
tree | 697754a14ecf7d548c6f3b9912553639e6727a4d /cpukit/score/cpu/avr/rtems/score/cpu.h | |
parent | 2010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-8bd26f16956f7763d79c421e535d56f2cd7edc6e.tar.bz2 |
2010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/asm.h: Fixed header guard.
* rtems/score/cpu.h: Assembler compatibility fixes.
Diffstat (limited to 'cpukit/score/cpu/avr/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/avr/rtems/score/cpu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/score/cpu/avr/rtems/score/cpu.h b/cpukit/score/cpu/avr/rtems/score/cpu.h index d26469bf84..ce20506851 100644 --- a/cpukit/score/cpu/avr/rtems/score/cpu.h +++ b/cpukit/score/cpu/avr/rtems/score/cpu.h @@ -382,6 +382,8 @@ extern "C" { /* may need to put some structures here. */ +#ifndef ASM + /* * Contexts * @@ -453,6 +455,8 @@ typedef struct { SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context; +#endif /* ASM */ + /* * Nothing prevents the porter from declaring more CPU specific variables. * @@ -678,6 +682,8 @@ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context; { \ } +#ifndef ASM + uint32_t _CPU_ISR_Get_level( void ); /* end of ISR handler macros */ @@ -1147,6 +1153,8 @@ static inline uint32_t CPU_swap_u32( #define CPU_swap_u16( value ) \ (((value&0xff) << 8) | ((value >> 8)&0xff)) +#endif /* ASM */ + #ifdef __cplusplus } #endif |