Changeset d89f13a in rtems


Ignore:
Timestamp:
Mar 31, 2004, 4:15:37 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d85c279e
Parents:
2a7f710f
Message:

2004-03-31 Ralf Corsepius <ralf_corsepius@…>

  • startup/bspstart.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp/arm
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/arm_bare_bsp/ChangeLog

    r2a7f710f rd89f13a  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * startup/bspstart.c: Convert to using c99 fixed size types.
     4
    152004-03-03      Joel Sherrill <joel@OARcorp.com>
    26
  • c/src/lib/libbsp/arm/arm_bare_bsp/startup/bspstart.c

    r2a7f710f rd89f13a  
    3030volatile unsigned long *Regs = (unsigned long*)0xdeadbeef; /* Chip registers */
    3131
    32 extern rtems_unsigned32 _end;         /* End of BSS. Defined in 'linkcmds'. */
     32extern uint32_t        _end;         /* End of BSS. Defined in 'linkcmds'. */
    3333/*
    3434 * Size of heap if it is 0 it will be dynamically defined by memory size,
    3535 * otherwise the value should be changed by binary patch
    3636 */
    37 rtems_unsigned32 _heap_size = 0;
     37uint32_t        _heap_size = 0;
    3838
    3939/* Size of stack used during initialization. Defined in 'start.s'.  */
    40 extern rtems_unsigned32 _stack_size;
     40extern uint32_t        _stack_size;
    4141
    42 rtems_unsigned32 rtemsFreeMemStart;
     42uint32_t        rtemsFreeMemStart;
    4343                         /* Address of start of free memory - should be updated
    4444                            after creating new partitions or regions.         */
     
    5757+--------------------------------------------------------------------------*/
    5858extern void rtems_irq_mngt_init(void);
    59 void bsp_libc_init( void *, unsigned32, int );
     59void bsp_libc_init( void *, uint32_t, int );
    6060void bsp_postdriver_hook(void);
    6161
     
    101101void bsp_start_default( void )
    102102{
    103   rtemsFreeMemStart = (rtems_unsigned32)(&_end);  /* &_end+_stack_size;*/
     103  rtemsFreeMemStart = (uint32_t)(&_end);  /* &_end+_stack_size;*/
    104104                                    /* set the value of start of free memory. */
    105105
  • c/src/lib/libbsp/arm/armulator/ChangeLog

    r2a7f710f rd89f13a  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * startup/bspstart.c: Convert to using c99 fixed size types.
     4
    152004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • c/src/lib/libbsp/arm/armulator/startup/bspstart.c

    r2a7f710f rd89f13a  
    3939 
    4040void bsp_postdriver_hook(void);
    41 void bsp_libc_init( void *, unsigned32, int );
     41void bsp_libc_init( void *, uint32_t, int );
    4242
    4343/*
  • c/src/lib/libbsp/arm/vegaplus/ChangeLog

    r2a7f710f rd89f13a  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * startup/bspstart.c: Convert to using c99 fixed size types.
     4
    152004-03-03      Joel Sherrill <joel@OARcorp.com>
    26
  • c/src/lib/libbsp/arm/vegaplus/startup/bspstart.c

    r2a7f710f rd89f13a  
    2626volatile unsigned long *Regs = (unsigned long*)0xF0000;                 /* Chip registers */
    2727
    28 extern rtems_unsigned32 _end;         /* End of BSS. Defined in 'linkcmds'. */
     28extern uint32_t        _end;         /* End of BSS. Defined in 'linkcmds'. */
    2929/*
    3030 * Size of heap if it is 0 it will be dynamically defined by memory size,
    3131 * otherwise the value should be changed by binary patch
    3232 */
    33 rtems_unsigned32 _heap_size = 0;
     33uint32_t        _heap_size = 0;
    3434
    3535/* Size of stack used during initialization. Defined in 'start.s'.  */
    36 extern rtems_unsigned32 _stack_size;
     36extern uint32_t        _stack_size;
    3737
    38 rtems_unsigned32 rtemsFreeMemStart;
     38uint32_t        rtemsFreeMemStart;
    3939                         /* Address of start of free memory - should be updated
    4040                            after creating new partitions or regions.         */
     
    5353+--------------------------------------------------------------------------*/
    5454extern void rtems_irq_mngt_init(void);
    55 void bsp_libc_init( void *, unsigned32, int );
     55void bsp_libc_init( void *, uint32_t, int );
    5656void bsp_postdriver_hook(void);
    5757
     
    9797void bsp_start_default( void )
    9898{
    99   rtemsFreeMemStart = (rtems_unsigned32)(&_end);  /* &_end+_stack_size;*/
     99  rtemsFreeMemStart = (uint32_t)(&_end);  /* &_end+_stack_size;*/
    100100                                    /* set the value of start of free memory. */
    101101
Note: See TracChangeset for help on using the changeset viewer.