summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/dmv177/include
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
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 'c/src/lib/libbsp/powerpc/dmv177/include')
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/include/bsp.h10
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h8
2 files changed, 9 insertions, 9 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;
diff --git a/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h b/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h
index 7db36f586b..fb5b245fd1 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h
+++ b/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h
@@ -79,10 +79,10 @@ extern "C" {
#define DMV170_CARD_RESORCE_REG 0xf2400040
#define DMV170_WRITE( _reg, _data ) \
- *((volatile rtems_unsigned16 *)(_reg)) = (_data)
+ *((volatile uint16_t*)(_reg)) = (_data)
#define DMV170_READ( _reg, _data ) \
- (_data) = *((volatile rtems_unsigned16 *)(_reg))
+ (_data) = *((volatile uint16_t*)(_reg))
/*
* The following defines the bits in the DMA Control and Status Register
@@ -277,8 +277,8 @@ extern "C" {
*/
void SCV64_Generate_DUART_Interrupts();
-rtems_unsigned32 SCV64_Get_Interrupt();
-rtems_unsigned32 SCV64_Get_Interrupt_Enable();
+uint32_t SCV64_Get_Interrupt();
+uint32_t SCV64_Get_Interrupt_Enable();
#ifdef __cplusplus
}