Changeset bdd3b637 in rtems


Ignore:
Timestamp:
Oct 18, 2011, 6:26:36 PM (10 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.11, 5, master
Children:
93b8c70
Parents:
a393163
Message:

2011-10-18 Jennifer Averett <Jennifer.Averett@…>

PR 1917/bsps

  • Makefile.am, console/uart.c: Modifications to add dynamic tables for libchip serial drivers.
Location:
c/src/lib/libbsp/arm
Files:
9 edited

Legend:

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

    ra393163 rbdd3b637  
     12011-10-18      Jennifer Averett <Jennifer.Averett@OARcorp.com>
     2
     3        PR 1917/bsps
     4        * Makefile.am, console/uart.c: Modifications to add dynamic tables for
     5        libchip serial drivers.
     6
    172011-06-19      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/arm/edb7312/Makefile.am

    ra393163 rbdd3b637  
    4545libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
    4646# console
    47 libbsp_a_SOURCES += console/uart.c ../../shared/console.c
     47libbsp_a_SOURCES += console/uart.c ../../shared/console.c \
     48    ../../shared/console_select.c  ../../shared/console_control.c \
     49    ../../shared/console_read.c ../../shared/console_write.c
    4850# timer
    4951libbsp_a_SOURCES += timer/timer.c
  • c/src/lib/libbsp/arm/edb7312/console/uart.c

    ra393163 rbdd3b637  
    3232static int     uart_set_attributes(int minor, const struct termios *t);
    3333
    34 unsigned long Console_Port_Count = NUM_DEVS;
    35 console_data  Console_Port_Data[NUM_DEVS];
    36 rtems_device_minor_number  Console_Port_Minor = 0;
     34unsigned long Console_Configuration_Count = NUM_DEVS;
     35
    3736console_fns uart_fns =
    3837{
     
    4746    FALSE
    4847};
    49 console_tbl Console_Port_Tbl[] = {
     48console_tbl Console_Configuration_Ports[] = {
    5049    {
    5150        "/dev/com0",                      /* sDeviceName */
     
    9392    int         err;
    9493
    95     data_reg = (uint32_t*)Console_Port_Tbl[minor].ulDataPort;
    96     ctrl_reg1 = (uint32_t*)Console_Port_Tbl[minor].ulCtrlPort1;
    97     ctrl_reg2 = (uint32_t*)Console_Port_Tbl[minor].ulCtrlPort2;
     94    data_reg  = (uint32_t *)Console_Port_Tbl[minor]->ulDataPort;
     95    ctrl_reg1 = (uint32_t *)Console_Port_Tbl[minor]->ulCtrlPort1;
     96    ctrl_reg2 = (uint32_t *)Console_Port_Tbl[minor]->ulCtrlPort2;
    9897
    9998    if ((*ctrl_reg2 & EP7312_UART_URXFE1) != 0) {
     
    116115    char c;
    117116
    118     data_reg = (uint32_t*)Console_Port_Tbl[minor].ulDataPort;
    119     ctrl_reg1 = (uint32_t*)Console_Port_Tbl[minor].ulCtrlPort1;
    120     ctrl_reg2 = (uint32_t*)Console_Port_Tbl[minor].ulCtrlPort2;
     117    data_reg  = (uint32_t *)Console_Port_Tbl[minor]->ulDataPort;
     118    ctrl_reg1 = (uint32_t *)Console_Port_Tbl[minor]->ulCtrlPort1;
     119    ctrl_reg2 = (uint32_t *)Console_Port_Tbl[minor]->ulCtrlPort2;
    121120
    122121    for (i = 0; i < len; i++) {
     
    139138    volatile uint32_t   *ctrl_reg2;
    140139
    141     data_reg = (uint32_t*)Console_Port_Tbl[minor].ulDataPort;
    142     ctrl_reg1 = (uint32_t*)Console_Port_Tbl[minor].ulCtrlPort1;
    143     ctrl_reg2 = (uint32_t*)Console_Port_Tbl[minor].ulCtrlPort2;
     140    data_reg  = (uint32_t *)Console_Port_Tbl[minor]->ulDataPort;
     141    ctrl_reg1 = (uint32_t *)Console_Port_Tbl[minor]->ulCtrlPort1;
     142    ctrl_reg2 = (uint32_t *)Console_Port_Tbl[minor]->ulCtrlPort2;
    144143
    145144    /*   *ctrl_reg = (BSP_UART_DATA8       |
  • c/src/lib/libbsp/arm/gp32/ChangeLog

    ra393163 rbdd3b637  
     12011-10-18      Jennifer Averett <Jennifer.Averett@OARcorp.com>
     2
     3        PR 1917/bsps
     4        * Makefile.am, console/uart.c: Modifications to add dynamic tables for
     5        libchip serial drivers.
     6
    172011-02-11      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/arm/gp32/Makefile.am

    ra393163 rbdd3b637  
    4040    ../../shared/gnatinstallhandler.c
    4141# console
    42 libbsp_a_SOURCES += console/uart.c ../../shared/console.c
     42libbsp_a_SOURCES += console/uart.c ../../shared/console.c \
     43    ../../shared/console_select.c  ../../shared/console_control.c \
     44    ../../shared/console_read.c ../../shared/console_write.c
    4345# IRQ
    4446include_bsp_HEADERS += ../../shared/include/irq-generic.h \
  • c/src/lib/libbsp/arm/gp32/console/uart.c

    ra393163 rbdd3b637  
    4747
    4848/* These are used by code in console.c */
    49 unsigned long Console_Port_Count = NUM_DEVS;
    50 console_data  Console_Port_Data[NUM_DEVS];
    51 
    52 /* rtems console uses the following minor number */
    53 rtems_device_minor_number  Console_Port_Minor = 0;
     49unsigned long Console_Configuration_Count = NUM_DEVS;
    5450
    5551/* Pointers to functions for handling the UART. */
     
    7470 *
    7571 */
    76 console_tbl Console_Port_Tbl[] = {
     72console_tbl Console_Configuration_Ports[] = {
    7773    {
    7874        "/dev/com0",                      /* sDeviceName */
  • c/src/lib/libbsp/arm/rtl22xx/ChangeLog

    ra393163 rbdd3b637  
     12011-10-18      Jennifer Averett <Jennifer.Averett@OARcorp.com>
     2
     3        PR 1917/bsps
     4        * Makefile.am, console/uart.c: Modifications to add dynamic tables for
     5        libchip serial drivers.
     6
    172011-10-07      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/arm/rtl22xx/Makefile.am

    ra393163 rbdd3b637  
    4242    ../../shared/gnatinstallhandler.c
    4343# console
    44 libbsp_a_SOURCES += ../../shared/console.c
     44libbsp_a_SOURCES += ../../shared/console.c \
     45    ../../shared/console_select.c ../../shared/console_control.c \
     46    ../../shared/console_read.c ../../shared/console_write.c
    4547# IRQ
    4648include_bsp_HEADERS += ../../shared/include/irq-generic.h \
  • c/src/lib/libbsp/arm/rtl22xx/console/uart.c

    ra393163 rbdd3b637  
    4646
    4747/* These are used by code in console.c */
    48 unsigned long Console_Port_Count = NUM_DEVS;
    49 console_data  Console_Port_Data[NUM_DEVS];
    50 
    51 /* rtems console uses the following minor number */
    52 rtems_device_minor_number  Console_Port_Minor = 0;
     48unsigned long Console_Configuration_Count = NUM_DEVS;
    5349
    5450/* Pointers to functions for handling the UART. */
     
    7369 *
    7470 */
    75 console_tbl Console_Port_Tbl[] = {
     71console_tbl Console_Configuration_Ports[] = {
    7672    {
    7773        "/dev/console",                   /* sDeviceName */
Note: See TracChangeset for help on using the changeset viewer.