Changeset cd66632 in rtems


Ignore:
Timestamp:
Jul 16, 2002, 10:32:54 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2b947a4
Parents:
27ce642
Message:

2002-07-16 Eric Norum <eric.norum@…>

  • console/console.c: Others on the rtems-users list have expressed concern about this run-time selection, so I've enclosed the changes in a #ifdef RTEMS_RUNTIME_CONSOLE_SELECT conditional.
Location:
c/src/lib/libbsp/i386/pc386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/ChangeLog

    r27ce642 rcd66632  
     12002-07-16      Eric Norum <eric.norum@usask.ca>
     2
     3        * console/console.c: Others on the rtems-users list have expressed
     4        concern about this run-time selection, so I've enclosed the changes
     5        in a #ifdef RTEMS_RUNTIME_CONSOLE_SELECT conditional.
     6
    172002-07-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/lib/libbsp/i386/pc386/console/console.c

    r27ce642 rcd66632  
    196196   */
    197197  rtems_termios_initialize ();
     198
     199#ifdef RTEMS_RUNTIME_CONSOLE_SELECT
     200  /*
     201   * If no video card, fall back to serial port console
     202   */
     203#include <crt.h>
     204  if((BSPConsolePort == BSP_CONSOLE_PORT_CONSOLE)
     205   && (*(unsigned char*) NB_MAX_ROW_ADDR == 0)
     206   && (*(unsigned short*)NB_MAX_COL_ADDR == 0)) {
     207    BSPConsolePort = BSP_UART_COM2;
     208    BSPPrintkPort  = BSP_UART_COM1;
     209  }
     210#endif
    198211
    199212  /*
Note: See TracChangeset for help on using the changeset viewer.