Changeset c3be7fd in rtems for c/src/lib/libbsp/powerpc/ep1a


Ignore:
Timestamp:
May 6, 2005, 8:10:04 PM (15 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e11bf43
Parents:
7bd80cff
Message:

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

  • console/init68360.c, include/bsp.h, startup/bspstart.c: Changed rtems_unsigned types to uint types
Location:
c/src/lib/libbsp/powerpc/ep1a
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ep1a/ChangeLog

    r7bd80cff rc3be7fd  
     12005-05-06      Jennifer Averett <jennifer.averett@oarcorp.com>
     2
     3        * console/init68360.c, include/bsp.h, startup/bspstart.c: Changed
     4        rtems_unsigned types to uint types
     5
    162005-05-03      Joel Sherrill <joel@OARcorp.com>
    27
  • c/src/lib/libbsp/powerpc/ep1a/console/init68360.c

    r7bd80cff rc3be7fd  
    2626 */
    2727
    28 void M360ExecuteRISC( volatile m360_t *m360, rtems_unsigned16 command)
     28void M360ExecuteRISC( volatile m360_t *m360, uint16_t command)
    2929{
    3030        rtems_unsigned16 sr;
  • c/src/lib/libbsp/powerpc/ep1a/include/bsp.h

    r7bd80cff rc3be7fd  
    182182 * FLASH
    183183 */
    184 int BSP_FLASH_Enable_writes( rtems_unsigned32 area );
    185 int BSP_FLASH_Disable_writes(  rtems_unsigned32 area );
    186 void BSP_FLASH_set_page( rtems_unsigned8  page );
     184int BSP_FLASH_Enable_writes( uint32_t area );
     185int BSP_FLASH_Disable_writes(  uint32_t area );
     186void BSP_FLASH_set_page( uint8_t  page );
    187187
    188188#define BSP_FLASH_ENABLE_WRITES( _area) BSP_FLASH_Enable_writes( _area )
  • c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c

    r7bd80cff rc3be7fd  
    158158
    159159int BSP_FLASH_Disable_writes(
    160   rtems_unsigned32    area
     160  uint32_t    area
    161161)
    162162{
     
    171171
    172172int BSP_FLASH_Enable_writes(
    173   rtems_unsigned32               area                           /* IN  */
     173 uint32_t               area                           /* IN  */
    174174)
    175175{
     
    184184
    185185void BSP_FLASH_set_page(
    186   rtems_unsigned8  page
     186  uint8_t  page
    187187)
    188188{
     
    219219void bsp_pretasking_hook(void)
    220220{
    221     rtems_unsigned32        heap_start;   
    222     rtems_unsigned32        heap_size;
    223     rtems_unsigned32        heap_sbrk_spared;
    224         extern rtems_unsigned32 _bsp_sbrk_init(rtems_unsigned32, rtems_unsigned32*);
    225     heap_start = ((rtems_unsigned32) __rtems_end) +INIT_STACK_SIZE + INTR_STACK_SIZE;
    226     if (heap_start & (CPU_ALIGNMENT-1))
    227         heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
    228 
    229     heap_size = (BSP_mem_size - heap_start) - BSP_Configuration.work_space_size;
    230 
    231         heap_sbrk_spared=_bsp_sbrk_init(heap_start, &heap_size);
     221  uint32_t        heap_start;   
     222  uint32_t        heap_size;
     223  uint32_t        heap_sbrk_spared;
     224
     225  extern uint32_t _bsp_sbrk_init(uint32_t, uint32_t*);
     226 
     227  heap_start = ((uint32_t) __rtems_end) +INIT_STACK_SIZE + INTR_STACK_SIZE;
     228  if (heap_start & (CPU_ALIGNMENT-1))
     229    heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
     230
     231  heap_size = (BSP_mem_size - heap_start) - BSP_Configuration.work_space_size;
     232
     233  heap_sbrk_spared=_bsp_sbrk_init(heap_start, &heap_size);
    232234
    233235#ifdef SHOW_MORE_INIT_SETTINGS
    234         printk(" HEAP start %x  size %x (%x bytes spared for sbrk)\n", heap_start, heap_size, heap_sbrk_spared);
     236  printk(" HEAP start %x  size %x (%x bytes spared for sbrk)\n",
     237    heap_start, heap_size, heap_sbrk_spared);
    235238#endif   
    236239
    237     bsp_libc_init((void *) 0, heap_size, heap_sbrk_spared);
    238     rsPMCQ1Init();
     240  bsp_libc_init((void *) 0, heap_size, heap_sbrk_spared);
     241  rsPMCQ1Init();
    239242
    240243#ifdef RTEMS_DEBUG
    241     rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
     244  rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
    242245#endif
    243246}
Note: See TracChangeset for help on using the changeset viewer.