2005-05-06 Jennifer Averett <jennifer.averett@oarcorp.com>

* console/init68360.c, include/bsp.h, startup/bspstart.c: Changed
	rtems_unsigned types to uint types
This commit is contained in:
Jennifer Averett
2005-05-06 20:10:04 +00:00
parent 7bd80cff8d
commit c3be7fdde1
4 changed files with 28 additions and 20 deletions

View File

@@ -1,3 +1,8 @@
2005-05-06 Jennifer Averett <jennifer.averett@oarcorp.com>
* console/init68360.c, include/bsp.h, startup/bspstart.c: Changed
rtems_unsigned types to uint types
2005-05-03 Joel Sherrill <joel@OARcorp.com>
* include/.cvsignore: New file.

View File

@@ -25,7 +25,7 @@
* Send a command to the CPM RISC processer
*/
void M360ExecuteRISC( volatile m360_t *m360, rtems_unsigned16 command)
void M360ExecuteRISC( volatile m360_t *m360, uint16_t command)
{
rtems_unsigned16 sr;

View File

@@ -181,9 +181,9 @@ extern int BSP_connect_clock_handler (void);
/*
* FLASH
*/
int BSP_FLASH_Enable_writes( rtems_unsigned32 area );
int BSP_FLASH_Disable_writes( rtems_unsigned32 area );
void BSP_FLASH_set_page( rtems_unsigned8 page );
int BSP_FLASH_Enable_writes( uint32_t area );
int BSP_FLASH_Disable_writes( uint32_t area );
void BSP_FLASH_set_page( uint8_t page );
#define BSP_FLASH_ENABLE_WRITES( _area) BSP_FLASH_Enable_writes( _area )
#define BSP_FLASH_DISABLE_WRITES(_area) BSP_FLASH_Disable_writes( _area )

View File

@@ -157,7 +157,7 @@ rtems_cpu_table Cpu_table;
char *rtems_progname;
int BSP_FLASH_Disable_writes(
rtems_unsigned32 area
uint32_t area
)
{
unsigned char data;
@@ -170,7 +170,7 @@ int BSP_FLASH_Disable_writes(
}
int BSP_FLASH_Enable_writes(
rtems_unsigned32 area /* IN */
uint32_t area /* IN */
)
{
unsigned char data;
@@ -183,7 +183,7 @@ int BSP_FLASH_Enable_writes(
}
void BSP_FLASH_set_page(
rtems_unsigned8 page
uint8_t page
)
{
unsigned char data;
@@ -218,11 +218,13 @@ void bsp_libc_init( void *, unsigned32, int );
void bsp_pretasking_hook(void)
{
rtems_unsigned32 heap_start;
rtems_unsigned32 heap_size;
rtems_unsigned32 heap_sbrk_spared;
extern rtems_unsigned32 _bsp_sbrk_init(rtems_unsigned32, rtems_unsigned32*);
heap_start = ((rtems_unsigned32) __rtems_end) +INIT_STACK_SIZE + INTR_STACK_SIZE;
uint32_t heap_start;
uint32_t heap_size;
uint32_t heap_sbrk_spared;
extern uint32_t _bsp_sbrk_init(uint32_t, uint32_t*);
heap_start = ((uint32_t) __rtems_end) +INIT_STACK_SIZE + INTR_STACK_SIZE;
if (heap_start & (CPU_ALIGNMENT-1))
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
@@ -231,7 +233,8 @@ void bsp_pretasking_hook(void)
heap_sbrk_spared=_bsp_sbrk_init(heap_start, &heap_size);
#ifdef SHOW_MORE_INIT_SETTINGS
printk(" HEAP start %x size %x (%x bytes spared for sbrk)\n", heap_start, heap_size, heap_sbrk_spared);
printk(" HEAP start %x size %x (%x bytes spared for sbrk)\n",
heap_start, heap_size, heap_sbrk_spared);
#endif
bsp_libc_init((void *) 0, heap_size, heap_sbrk_spared);