Ignore:
Timestamp:
Mar 31, 2004, 5:08:13 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f0cbd19e
Parents:
821b2a9
Message:

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

  • clock/ckinit.c, clock/rtc.c, console/inch.c, ide/ide.c, include/bsp.h, startup/bspstart.c, timer/timer.c: Convert to using c99 fixed size types.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/startup/bspstart.c

    r821b2a9 r6fda59f  
    4040| Global Variables
    4141+--------------------------------------------------------------------------*/
    42 extern rtems_unsigned32 _end;         /* End of BSS. Defined in 'linkcmds'. */
     42extern uint32_t        _end;         /* End of BSS. Defined in 'linkcmds'. */
    4343/*
    4444 * Size of heap if it is 0 it will be dynamically defined by memory size,
    4545 * otherwise the value should be changed by binary patch
    4646 */
    47 rtems_unsigned32 _heap_size = 0;
     47uint32_t        _heap_size = 0;
    4848
    4949/* Size of stack used during initialization. Defined in 'start.s'.  */
    50 extern rtems_unsigned32 _stack_size;
    51 
    52 rtems_unsigned32 rtemsFreeMemStart;
     50extern uint32_t        _stack_size;
     51
     52uint32_t        rtemsFreeMemStart;
    5353                         /* Address of start of free memory - should be updated
    5454                            after creating new partitions or regions.         */
     
    6767+--------------------------------------------------------------------------*/
    6868extern void rtems_irq_mngt_init(void);
    69 void bsp_libc_init( void *, unsigned32, int );
     69void bsp_libc_init( void *, uint32_t, int );
    7070void bsp_postdriver_hook(void);
    7171
     
    8282void bsp_pretasking_hook(void)
    8383{
    84   rtems_unsigned32 topAddr, val;
     84  uint32_t        topAddr, val;
    8585  int i;
    8686 
     
    9999        {
    100100          topAddr = i*1024*1024 - 4;
    101           *(volatile rtems_unsigned32 *)topAddr = topAddr;
     101          *(volatile uint32_t*)topAddr = topAddr;
    102102        }
    103103
     
    105105        {
    106106          topAddr = i*1024*1024 - 4;
    107           val =  *(rtems_unsigned32 *)topAddr;
     107          val =  *(uint32_t*)topAddr;
    108108          if(val != topAddr)
    109109            {
     
    145145  Calibrate_loop_1ms();
    146146
    147   rtemsFreeMemStart = (rtems_unsigned32)&_end + _stack_size;
     147  rtemsFreeMemStart = (uint32_t)&_end + _stack_size;
    148148                                    /* set the value of start of free memory. */
    149149
Note: See TracChangeset for help on using the changeset viewer.