diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:46:37 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:46:37 +0000 |
commit | 9a26317f87f329c748cedb2b7cb307a15540703e (patch) | |
tree | fcfee802bd592b08e30b48591508deb68fef7459 /cpukit/score/cpu/sh/rtems/score/sh.h | |
parent | 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-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 '')
-rw-r--r-- | cpukit/score/cpu/sh/rtems/score/sh.h | 4 |
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) ; \ |