2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>

* include/bsp.h: Convert to using c99 fixed size types.
This commit is contained in:
Ralf Corsepius
2004-03-31 03:50:18 +00:00
parent bad8092cbf
commit d3526785d2
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* include/bsp.h: Convert to using c99 fixed size types.
2004-02-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* bootloader/Makefile.am: Fix preinstall dir handling.

View File

@@ -133,20 +133,20 @@ void Install_tm27_vector(void (*_handler)())
#define Cause_tm27_intr() \
do { \
unsigned32 _clicks = 8; \
uint32_t _clicks = 8; \
asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
} while (0)
#define Clear_tm27_intr() \
do { \
unsigned32 _clicks = 0xffffffff; \
uint32_t _clicks = 0xffffffff; \
asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
} while (0)
#define Lower_tm27_intr() \
do { \
unsigned32 _msr = 0; \
uint32_t _msr = 0; \
_ISR_Set_level( 0 ); \
asm volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
_msr |= 0x8002; \