Changeset 195e6663 in rtems


Ignore:
Timestamp:
Mar 31, 2004, 4:28:53 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f3e486aa
Parents:
a8a961f
Message:

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

  • include/bsp.h, startup/bspstart.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/h8300/h8sim/ChangeLog

    ra8a961f r195e6663  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * include/bsp.h, startup/bspstart.c: Convert to using c99 fixed size
     4        types.
     5
    162004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/lib/libbsp/h8300/h8sim/include/bsp.h

    ra8a961f r195e6663  
    6262
    6363#define rtems_bsp_delay( microseconds ) \
    64   { register rtems_unsigned32 _delay=(microseconds); \
    65     register rtems_unsigned32 _tmp = 0; /* initialized to avoid warning */ \
     64  { register uint32_t        _delay=(microseconds); \
     65    register uint32_t        _tmp = 0; /* initialized to avoid warning */ \
    6666    asm volatile( "0: \
    6767                     remo      3,31,%0 ; \
  • c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c

    ra8a961f r195e6663  
    3939 
    4040void bsp_postdriver_hook(void);
    41 void bsp_libc_init( void *, unsigned32, int );
     41void bsp_libc_init( void *, uint32_t, int );
    4242
    4343/*
     
    9898
    9999void H8BD_Install_IRQ(
    100   unsigned32    vector,
     100  uint32_t      vector,
    101101  proc_ptr      new_handler,
    102102  proc_ptr      *old_handler )
  • c/src/lib/libbsp/sh/gensh1/ChangeLog

    ra8a961f r195e6663  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * include/bsp.h, startup/bspstart.c: Convert to using c99 fixed size
     4        types.
     5
    162004-03-03      Joel Sherrill <joel@OARcorp.com>
    27
  • c/src/lib/libbsp/sh/gensh1/include/bsp.h

    ra8a961f r195e6663  
    9999 */
    100100
    101 extern unsigned32       HeapStart ;
    102 extern unsigned32       HeapEnd ;
    103 extern unsigned32       WorkSpaceStart ;
    104 extern unsigned32       WorkSpaceEnd ;
     101extern uint32_t         HeapStart ;
     102extern uint32_t         HeapEnd ;
     103extern uint32_t         WorkSpaceStart ;
     104extern uint32_t         WorkSpaceEnd ;
    105105
    106106extern void *CPU_Interrupt_stack_low ;
  • c/src/lib/libbsp/sh/gensh1/startup/bspstart.c

    ra8a961f r195e6663  
    4949 
    5050void bsp_postdriver_hook(void);
    51 void bsp_libc_init( void *, unsigned32, int );
     51void bsp_libc_init( void *, uint32_t, int );
    5252
    5353/*
     
    105105  BSP_Configuration.work_space_start = (void *) &WorkSpaceStart ;
    106106  BSP_Configuration.work_space_size  =
    107     (unsigned32) &WorkSpaceEnd -
    108     (unsigned32) &WorkSpaceStart ;
     107    (uint32_t) &WorkSpaceEnd -
     108    (uint32_t) &WorkSpaceStart ;
    109109 
    110110  /*
     
    117117
    118118  Cpu_table.interrupt_stack_size =
    119     (unsigned32) (&CPU_Interrupt_stack_high) -
    120     (unsigned32) (&CPU_Interrupt_stack_low) ;
     119    (uint32_t) (&CPU_Interrupt_stack_high) -
     120    (uint32_t) (&CPU_Interrupt_stack_low) ;
    121121#endif
    122122
  • c/src/lib/libbsp/sh/gensh4/ChangeLog

    ra8a961f r195e6663  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * include/bsp.h, startup/bspstart.c: Convert to using c99 fixed size
     4        types.
     5
    162004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/lib/libbsp/sh/gensh4/include/bsp.h

    ra8a961f r195e6663  
    9595#define Cause_tm27_intr() \
    9696{ \
    97     *(volatile rtems_unsigned16 *)SH7750_IPRB |= 0xf000; \
    98     *(volatile rtems_unsigned16 *)SH7750_WTCSR = SH7750_WTCSR_KEY; \
    99     *(volatile rtems_unsigned16 *)SH7750_WTCNT = SH7750_WTCNT_KEY | 0xfe; \
    100     *(volatile rtems_unsigned16 *)SH7750_WTCSR = \
     97    *(volatile uint16_t*)SH7750_IPRB |= 0xf000; \
     98    *(volatile uint16_t*)SH7750_WTCSR = SH7750_WTCSR_KEY; \
     99    *(volatile uint16_t*)SH7750_WTCNT = SH7750_WTCNT_KEY | 0xfe; \
     100    *(volatile uint16_t*)SH7750_WTCSR = \
    101101                            SH7750_WTCSR_KEY | SH7750_WTCSR_TME; \
    102102}
     
    104104#define Clear_tm27_intr() \
    105105{ \
    106     *(volatile rtems_unsigned16 *)SH7750_WTCSR = SH7750_WTCSR_KEY; \
     106    *(volatile uint16_t*)SH7750_WTCSR = SH7750_WTCSR_KEY; \
    107107}
    108108
     
    127127 */
    128128
    129 extern unsigned32       HeapStart ;
    130 extern unsigned32       HeapEnd ;
    131 extern unsigned32       WorkSpaceStart ;
    132 extern unsigned32       WorkSpaceEnd ;
     129extern uint32_t         HeapStart ;
     130extern uint32_t         HeapEnd ;
     131extern uint32_t         WorkSpaceStart ;
     132extern uint32_t         WorkSpaceEnd ;
    133133
    134134extern void *CPU_Interrupt_stack_low ;
     
    138138 * Defined in start.S
    139139 */
    140 extern unsigned32 boot_mode;
     140extern uint32_t  boot_mode;
    141141#define SH4_BOOT_MODE_FLASH 0
    142142#define SH4_BOOT_MODE_IPL   1
  • c/src/lib/libbsp/sh/gensh4/startup/bspstart.c

    ra8a961f r195e6663  
    5252 
    5353void bsp_postdriver_hook(void);
    54 void bsp_libc_init( void *, unsigned32, int );
     54void bsp_libc_init( void *, uint32_t, int );
    5555
    5656/*
     
    113113  BSP_Configuration.work_space_start = (void *) &WorkSpaceStart ;
    114114  BSP_Configuration.work_space_size  =
    115     (unsigned32) &WorkSpaceEnd -
    116     (unsigned32) &WorkSpaceStart ;
     115    (uint32_t) &WorkSpaceEnd -
     116    (uint32_t) &WorkSpaceStart ;
    117117 
    118118  /*
     
    126126  /* This isn't used anywhere */
    127127  Cpu_table.interrupt_stack_size =
    128     (unsigned32) (&CPU_Interrupt_stack_high) -
    129     (unsigned32) (&CPU_Interrupt_stack_low) ;
     128    (uint32_t) (&CPU_Interrupt_stack_high) -
     129    (uint32_t) (&CPU_Interrupt_stack_low) ;
    130130#endif
    131131
Note: See TracChangeset for help on using the changeset viewer.