diff options
Diffstat (limited to 'cpukit/score/cpu/sh/include/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/sh/include/rtems/score/cpu.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/score/cpu/sh/include/rtems/score/cpu.h b/cpukit/score/cpu/sh/include/rtems/score/cpu.h index c2b7081e9e..aeef5defdd 100644 --- a/cpukit/score/cpu/sh/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/sh/include/rtems/score/cpu.h @@ -31,7 +31,7 @@ extern "C" { #endif -#include <rtems/score/types.h> +#include <rtems/score/basedefs.h> #include <rtems/score/sh.h> /* conditional compilation parameters */ @@ -731,6 +731,13 @@ static inline CPU_Counter_ticks _CPU_Counter_difference( return second - first; } +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + +/** Types related to SH specific ISRs */ +typedef void sh_isr; +typedef void ( *sh_isr_entry )( void ); + #ifdef __cplusplus } #endif |