summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh/rtems/score/sh.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 11:46:37 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 11:46:37 +0000
commit9a26317f87f329c748cedb2b7cb307a15540703e (patch)
treefcfee802bd592b08e30b48591508deb68fef7459 /cpukit/score/cpu/sh/rtems/score/sh.h
parent42540ecd0e692820604bc5723f2a06f9359d22dc (diff)
downloadrtems-9a26317f87f329c748cedb2b7cb307a15540703e.tar.bz2
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* cpu.c, rtems/score/cpu.h, rtems/score/sh.h, rtems/score/sh_io.h: Convert to using c99 fixed size types.
Diffstat (limited to 'cpukit/score/cpu/sh/rtems/score/sh.h')
-rw-r--r--cpukit/score/cpu/sh/rtems/score/sh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sh/rtems/score/sh.h b/cpukit/score/cpu/sh/rtems/score/sh.h
index e1914e0a61..691332e540 100644
--- a/cpukit/score/cpu/sh/rtems/score/sh.h
+++ b/cpukit/score/cpu/sh/rtems/score/sh.h
@@ -162,7 +162,7 @@ extern "C" {
#define sh_get_interrupt_level( _level ) \
{ \
- register unsigned32 _tmpsr ; \
+ register uint32_t _tmpsr ; \
\
asm volatile( "stc sr, %0" : "=r" (_tmpsr) ); \
_level = (_tmpsr & 0xf0) >> 4 ; \
@@ -170,7 +170,7 @@ extern "C" {
#define sh_set_interrupt_level( _newlevel ) \
{ \
- register unsigned32 _tmpsr; \
+ register uint32_t _tmpsr; \
\
asm volatile ( "stc sr, %0" : "=r" (_tmpsr) ); \
_tmpsr = ( _tmpsr & ~0xf0 ) | ((_newlevel) << 4) ; \