forked from Imagelibrary/rtems
Eliminate unsigned32.
This commit is contained in:
@@ -67,7 +67,7 @@ extern rtems_configuration_table BSP_Configuration;
|
|||||||
|
|
||||||
/* functions */
|
/* functions */
|
||||||
|
|
||||||
unsigned32 get_CPU_clock_speed(void);
|
uint32_t get_CPU_clock_speed(void);
|
||||||
void bsp_cleanup(void);
|
void bsp_cleanup(void);
|
||||||
|
|
||||||
m68k_isr_entry set_vector(
|
m68k_isr_entry set_vector(
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ char *rtems_progname;
|
|||||||
* No burst transfers on non-cacheable accesses
|
* No burst transfers on non-cacheable accesses
|
||||||
* Default cache mode is *disabled* (cache only ACRx areas)
|
* Default cache mode is *disabled* (cache only ACRx areas)
|
||||||
*/
|
*/
|
||||||
static unsigned32 cacr_mode = MCF5XXX_CACR_CENB |
|
static uint32_t cacr_mode = MCF5XXX_CACR_CENB |
|
||||||
MCF5XXX_CACR_DBWE |
|
MCF5XXX_CACR_DBWE |
|
||||||
MCF5XXX_CACR_DCM;
|
MCF5XXX_CACR_DCM;
|
||||||
/*
|
/*
|
||||||
@@ -155,7 +155,7 @@ void _CPU_cache_invalidate_1_data_line(const void *addr)
|
|||||||
* Use the shared implementations of the following routines
|
* Use the shared implementations of the following routines
|
||||||
*/
|
*/
|
||||||
void bsp_postdriver_hook(void);
|
void bsp_postdriver_hook(void);
|
||||||
void bsp_libc_init( void *, unsigned32, int );
|
void bsp_libc_init( void *, uint32_t, int );
|
||||||
void bsp_pretasking_hook(void); /* m68k version */
|
void bsp_pretasking_hook(void); /* m68k version */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -220,8 +220,8 @@ void bsp_start( void )
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned32 get_CPU_clock_speed(void)
|
uint32_t get_CPU_clock_speed(void)
|
||||||
{
|
{
|
||||||
extern char _CPUClockSpeed[];
|
extern char _CPUClockSpeed[];
|
||||||
return( (unsigned32)_CPUClockSpeed);
|
return( (uint32_t)_CPUClockSpeed);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ extern rtems_configuration_table BSP_Configuration;
|
|||||||
|
|
||||||
/* functions */
|
/* functions */
|
||||||
|
|
||||||
unsigned32 get_CPU_clock_speed(void);
|
uint32_t get_CPU_clock_speed(void);
|
||||||
void bsp_cleanup(void);
|
void bsp_cleanup(void);
|
||||||
m68k_isr_entry set_vector(
|
m68k_isr_entry set_vector(
|
||||||
rtems_isr_entry handler,
|
rtems_isr_entry handler,
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ char *rtems_progname;
|
|||||||
* No burst transfers on non-cacheable accesses
|
* No burst transfers on non-cacheable accesses
|
||||||
* Default cache mode is *disabled* (cache only ACRx areas)
|
* Default cache mode is *disabled* (cache only ACRx areas)
|
||||||
*/
|
*/
|
||||||
static unsigned32 cacr_mode = MCF5XXX_CACR_CENB |
|
static uint32_t cacr_mode = MCF5XXX_CACR_CENB |
|
||||||
MCF5XXX_CACR_DBWE |
|
MCF5XXX_CACR_DBWE |
|
||||||
MCF5XXX_CACR_DCM;
|
MCF5XXX_CACR_DCM;
|
||||||
/*
|
/*
|
||||||
@@ -148,7 +148,7 @@ void _CPU_cache_invalidate_1_data_line(const void *addr)
|
|||||||
* Use the shared implementations of the following routines
|
* Use the shared implementations of the following routines
|
||||||
*/
|
*/
|
||||||
void bsp_postdriver_hook(void);
|
void bsp_postdriver_hook(void);
|
||||||
void bsp_libc_init( void *, unsigned32, int );
|
void bsp_libc_init( void *, uint32_t, int );
|
||||||
void bsp_pretasking_hook(void); /* m68k version */
|
void bsp_pretasking_hook(void); /* m68k version */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -213,8 +213,8 @@ void bsp_start( void )
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned32 get_CPU_clock_speed(void)
|
uint32_t get_CPU_clock_speed(void)
|
||||||
{
|
{
|
||||||
extern char _CPUClockSpeed[];
|
extern char _CPUClockSpeed[];
|
||||||
return( (unsigned32)_CPUClockSpeed);
|
return( (uint32_t)_CPUClockSpeed);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user