forked from Imagelibrary/rtems
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/clockdrv.c, include/bsp.h, startup/bspstart.c, startup/gdb-support.c, timer/timer.c: Convert to using c99 fixed size types.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* clock/clockdrv.c, include/bsp.h, startup/bspstart.c,
|
||||
startup/gdb-support.c, timer/timer.c: Convert to using c99 fixed
|
||||
size types.
|
||||
|
||||
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect changes to bsp.am.
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#define Clock_driver_support_initialize_hardware() \
|
||||
do { \
|
||||
unsigned32 _clicks = CPU_CLOCK_RATE_MHZ * rtems_configuration_get_microseconds_per_tick(); \
|
||||
uint32_t _clicks = CPU_CLOCK_RATE_MHZ * rtems_configuration_get_microseconds_per_tick(); \
|
||||
MONGOOSEV_WRITE_REGISTER( CLOCK_BASE, MONGOOSEV_TIMER_INITIAL_COUNTER_REGISTER, _clicks ); \
|
||||
Clock_driver_support_at_tick(); \
|
||||
} while(0)
|
||||
|
||||
@@ -50,7 +50,7 @@ extern "C" {
|
||||
* userspace code can get to it directly.
|
||||
* */
|
||||
|
||||
extern void assertSoftwareInterrupt(unsigned32);
|
||||
extern void assertSoftwareInterrupt(uint32_t);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ char *rtems_progname;
|
||||
*/
|
||||
|
||||
void bsp_postdriver_hook(void);
|
||||
void bsp_libc_init( void *, unsigned32, int );
|
||||
void bsp_libc_init( void *, uint32_t, int );
|
||||
|
||||
/*
|
||||
* Function: bsp_pretasking_hook
|
||||
@@ -69,7 +69,7 @@ void bsp_pretasking_hook(void)
|
||||
void *heapStart = &HeapBase;
|
||||
unsigned long heapSize = (unsigned long)&HeapSize;
|
||||
|
||||
bsp_libc_init(heapStart, (unsigned32) heapSize, 0);
|
||||
bsp_libc_init(heapStart, (uint32_t) heapSize, 0);
|
||||
|
||||
#ifdef RTEMS_DEBUG
|
||||
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
|
||||
@@ -178,11 +178,11 @@ struct s_mem
|
||||
};
|
||||
|
||||
|
||||
extern unsigned32 _RamSize;
|
||||
extern uint32_t _RamSize;
|
||||
|
||||
void get_mem_info ( struct s_mem *mem )
|
||||
{
|
||||
mem->size = (unsigned32)&_RamSize;
|
||||
mem->size = (uint32_t)&_RamSize;
|
||||
mem->icsize = MONGOOSEV_IC_SIZE;
|
||||
mem->dcsize = MONGOOSEV_DC_SIZE;
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ void putDebugChar (char c)
|
||||
/*
|
||||
{
|
||||
* initialize hardware pc and data breakpoints to quiet state*
|
||||
unsigned32 dcic, reg, mask;
|
||||
uint32_t dcic, reg, mask;
|
||||
|
||||
reg = 0xffffffff;
|
||||
mask = 0xffffffff;
|
||||
|
||||
@@ -58,9 +58,9 @@ void Timer_initialize()
|
||||
|
||||
int Read_timer()
|
||||
{
|
||||
rtems_unsigned32 clicks;
|
||||
rtems_unsigned32 total;
|
||||
rtems_unsigned32 tcr;
|
||||
uint32_t clicks;
|
||||
uint32_t total;
|
||||
uint32_t tcr;
|
||||
|
||||
clicks = MONGOOSEV_READ_REGISTER( TIMER_BASE,
|
||||
MONGOOSEV_TIMER_INITIAL_COUNTER_REGISTER );
|
||||
|
||||
Reference in New Issue
Block a user