summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/sim68000/clock
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 04:36:43 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 04:36:43 +0000
commitf3e486aa0b0ab2aea8ebfc00a5676581e8a0617a (patch)
tree13c02c93571e21dc49a2eea79c809956af6d5d27 /c/src/lib/libbsp/m68k/sim68000/clock
parent2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-f3e486aa0b0ab2aea8ebfc00a5676581e8a0617a.tar.bz2
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/clockdrv.c, console/conscfg.c, include/bsp.h, startup/bspstart.c: Convert to using c99 fixed size types.
Diffstat (limited to 'c/src/lib/libbsp/m68k/sim68000/clock')
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/clock/clockdrv.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/m68k/sim68000/clock/clockdrv.c b/c/src/lib/libbsp/m68k/sim68000/clock/clockdrv.c
index 86e9734960..43347867a5 100644
--- a/c/src/lib/libbsp/m68k/sim68000/clock/clockdrv.c
+++ b/c/src/lib/libbsp/m68k/sim68000/clock/clockdrv.c
@@ -13,13 +13,13 @@
typedef struct {
- volatile unsigned8 cr; /* 0 - 0 : Timer Control Register */
- volatile unsigned8 pad0; /* 1 - 1 : pad */
- volatile unsigned8 ivr; /* 2 - 2 : Timer Interrupt Vector Register */
- volatile unsigned8 pad1; /* 3 - 3 : pad */
- volatile unsigned32 cpr; /* 4 - 7 : Timer Counter Preload Register */
- volatile unsigned8 pad2[12]; /* 8 - 19 : pad */
- volatile unsigned32 sr; /* 20 - 23 : Timer Status Register */
+ volatile uint8_t cr; /* 0 - 0 : Timer Control Register */
+ volatile uint8_t pad0; /* 1 - 1 : pad */
+ volatile uint8_t ivr; /* 2 - 2 : Timer Interrupt Vector Register */
+ volatile uint8_t pad1; /* 3 - 3 : pad */
+ volatile uint32_t cpr; /* 4 - 7 : Timer Counter Preload Register */
+ volatile uint8_t pad2[12]; /* 8 - 19 : pad */
+ volatile uint32_t sr; /* 20 - 23 : Timer Status Register */
} timer_hw_t;
#define TIMER_BASE (timer_hw_t *)0x72001