Changeset 3e1fc109 in rtems


Ignore:
Timestamp:
Mar 31, 2004, 4:42:23 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
162ffb4
Parents:
2d971fc
Message:

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

  • clock/ckinit.c, console/m340uart.c, include/bsp.h, include/m340uart.h, startup/bspstart.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp/m68k/gen68340
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/gen68340/ChangeLog

    r2d971fc r3e1fc109  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * clock/ckinit.c, console/m340uart.c, include/bsp.h,
     4        include/m340uart.h, startup/bspstart.c: Convert to using c99 fixed
     5        size types.
     6
    172004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/lib/libbsp/m68k/gen68340/clock/ckinit.c

    r2d971fc r3e1fc109  
    4141 * number of clock ticks since the driver was initialized.
    4242 */
    43 volatile rtems_unsigned32 Clock_driver_ticks;
     43volatile uint32_t        Clock_driver_ticks;
    4444
    4545/*
     
    9494Install_clock (rtems_isr_entry clock_isr)
    9595{
    96         unsigned32 pitr_tmp;
    97         unsigned32 usecs_per_tick;
     96        uint32_t  pitr_tmp;
     97        uint32_t  usecs_per_tick;
    9898
    9999        Clock_driver_ticks = 0;
     
    161161)
    162162{
    163         rtems_unsigned32 isrlevel;
     163        uint32_t        isrlevel;
    164164        rtems_libio_ioctl_args_t *args = pargp;
    165165
  • c/src/lib/libbsp/m68k/gen68340/console/m340uart.c

    r2d971fc r3e1fc109  
    193193 *****************************************************/
    194194t_baud_speed_table
    195 Find_Right_m340_UART_Config(float ChannelA_ReceiverBaudRate, float ChannelA_TransmitterBaudRate, rtems_unsigned8 enableA,
    196                             float ChannelB_ReceiverBaudRate, float ChannelB_TransmitterBaudRate, rtems_unsigned8 enableB)
     195Find_Right_m340_UART_Config(float ChannelA_ReceiverBaudRate, float ChannelA_TransmitterBaudRate, uint8_t        enableA,
     196                            float ChannelB_ReceiverBaudRate, float ChannelB_TransmitterBaudRate, uint8_t        enableB)
    197197{
    198198 t_baud_speed_table tableA, tableB;
  • c/src/lib/libbsp/m68k/gen68340/include/bsp.h

    r2d971fc r3e1fc109  
    7373
    7474#define rtems_bsp_delay( microseconds ) \
    75   { register rtems_unsigned32 _delay=(microseconds); \
    76     register rtems_unsigned32 _tmp=123; \
     75  { register uint32_t        _delay=(microseconds); \
     76    register uint32_t        _tmp=123; \
    7777    asm volatile( "0: \
    7878                     nbcd      %0 ; \
  • c/src/lib/libbsp/m68k/gen68340/include/m340uart.h

    r2d971fc r3e1fc109  
    4545
    4646typedef struct {
    47                 rtems_unsigned8         enable;
    48                 rtems_unsigned16        rx_buffer_size; /* NOT IMPLEMENTED */
    49                 rtems_unsigned16        tx_buffer_size; /* NOT IMPLEMENTED */
     47                uint8_t                 enable;
     48                uint16_t                rx_buffer_size; /* NOT IMPLEMENTED */
     49                uint16_t                tx_buffer_size; /* NOT IMPLEMENTED */
    5050               } uart_termios_config;
    5151
    5252typedef struct { /* for one channel */
    53                 rtems_unsigned8         enable;         /* use this channel */
     53                uint8_t                 enable;         /* use this channel */
    5454                char                    name[64];       /* use UART_CONSOLE_NAME for console purpose */
    55                 rtems_unsigned8         parity_mode;    /* parity mode, see MR1 section for defines */
    56                 rtems_unsigned8         bits_per_char;  /* bits per character, see MR1 section for defines  */
     55                uint8_t                 parity_mode;    /* parity mode, see MR1 section for defines */
     56                uint8_t                 bits_per_char;  /* bits per character, see MR1 section for defines  */
    5757                float                   rx_baudrate;    /* Rx baudrate */
    5858                float                   tx_baudrate;    /* Tx baudrate */
    59                 rtems_unsigned8         rx_mode;        /* FIFO Full (UART_FIFO_FULL) or ChannelReceiverReady (UART_CRR) */
    60                 rtems_unsigned8         mode;           /* use interrupts (UART_INTERRUPTS) or polling (UART_POLLING) */
     59                uint8_t                 rx_mode;        /* FIFO Full (UART_FIFO_FULL) or ChannelReceiverReady (UART_CRR) */
     60                uint8_t                 mode;           /* use interrupts (UART_INTERRUPTS) or polling (UART_POLLING) */
    6161                uart_termios_config     termios;
    6262               } uart_channel_config;
     
    7676
    7777extern t_baud_speed_table
    78 Find_Right_m340_UART_Config(float ChannelA_ReceiverBaudRate, float ChannelA_TransmitterBaudRate, rtems_unsigned8 enableA,
    79                             float ChannelB_ReceiverBaudRate, float ChannelB_TransmitterBaudRate, rtems_unsigned8 enableB);
     78Find_Right_m340_UART_Config(float ChannelA_ReceiverBaudRate, float ChannelA_TransmitterBaudRate, uint8_t        enableA,
     79                            float ChannelB_ReceiverBaudRate, float ChannelB_TransmitterBaudRate, uint8_t        enableB);
    8080
    8181extern rtems_isr InterruptHandler (rtems_vector_number v);
  • c/src/lib/libbsp/m68k/gen68340/startup/bspstart.c

    r2d971fc r3e1fc109  
    4242 */
    4343void bsp_postdriver_hook(void);
    44 void bsp_libc_init( void *, unsigned32, int );
     44void bsp_libc_init( void *, uint32_t, int );
    4545void bsp_pretasking_hook(void);               /* m68k version */
    4646
Note: See TracChangeset for help on using the changeset viewer.