forked from Imagelibrary/rtems
2005-05-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/tm27.h: Elininate unsigned32.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2005-05-11 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* include/tm27.h: Elininate unsigned32.
|
||||
|
||||
2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com>
|
||||
|
||||
PR 779/bsp
|
||||
|
||||
@@ -41,20 +41,20 @@ void Install_tm27_vector(void (*_handler)())
|
||||
|
||||
#define Cause_tm27_intr() \
|
||||
do { \
|
||||
unsigned32 _clicks = 1; \
|
||||
uint32_t _clicks = 1; \
|
||||
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; \
|
||||
|
||||
Reference in New Issue
Block a user