summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 03:08:46 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 03:08:46 +0000
commited9e44994265d3dccca845c7aade2f634184c339 (patch)
tree310e30f691e0044c7ee9349939171d913dcb4195 /c/src/lib/libbsp/powerpc/dmv177/include/bsp.h
parent2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-ed9e44994265d3dccca845c7aade2f634184c339.tar.bz2
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/clock.c, console/conscfg.c, console/debugio.c, include/bsp.h, include/dmv170.h, scv64/scv64.c, sonic/dmvsonic.c, startup/bspstart.c, startup/genpvec.c, startup/vmeintr.c, timer/timer.c, tod/todcfg.c: Convert to using c99 fixed size types.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/include/bsp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h b/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h
index f840a6c37f..6eb840bbb6 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h
@@ -89,14 +89,14 @@ int rtems_dmv177_sonic_driver_attach(struct rtems_bsdnet_ifconfig *config);
#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; \
- unsigned32 _msr = 0; \
+ uint32_t _clicks = 0xffffffff; \
+ uint32_t _msr = 0; \
_ISR_Set_level( 0 ); \
asm volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
_msr &= ~0x8000; \
@@ -106,7 +106,7 @@ int rtems_dmv177_sonic_driver_attach(struct rtems_bsdnet_ifconfig *config);
#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; \
@@ -188,7 +188,7 @@ extern rtems_configuration_table BSP_Configuration; /* owned by BSP */
extern rtems_cpu_table Cpu_table; /* owned by BSP */
-extern rtems_unsigned32 bsp_isr_level;
+extern uint32_t bsp_isr_level;
extern int CPU_PPC_CLICKS_PER_MS;