Changeset 36ffcf3 in rtems


Ignore:
Timestamp:
Feb 1, 2006, 8:57:35 PM (14 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6952f3d
Parents:
104c492
Message:

2006-02-01 Joel Sherrill <joel@…>

  • configure.ac, console/console.c: Add USE_COM1_AS_CONSOLE BSP option. This makes it easy to build the pc386 BSP in a configuration that corresponds to qemu with COM1 redirected to stdio.
Location:
c/src/lib/libbsp/i386/pc386
Files:
3 edited

Legend:

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

    r104c492 r36ffcf3  
     12006-02-01      Joel Sherrill <joel@OARcorp.com>
     2
     3        * configure.ac, console/console.c: Add USE_COM1_AS_CONSOLE BSP option.
     4        This makes it easy to build the pc386 BSP in a configuration that
     5        corresponds to qemu with COM1 redirected to stdio.
     6
    172006-01-11      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/i386/pc386/configure.ac

    r104c492 r36ffcf3  
    1818
    1919RTEMS_CHECK_NETWORKING
     20
     21RTEMS_BSPOPTS_SET([USE_COM1_AS_CONSOLE],[*],[0])
     22RTEMS_BSPOPTS_HELP([USE_COM1_AS_CONSOLE],
     23[Determines, whether the console will be associated with the standard
     24 VGA display or with the COM1 serial port.  Currently only the VGA
     25 display and COM1 support printk.])
    2026
    2127RTEMS_BSPOPTS_SET([IDE_USE_PRIMARY_INTERFACE],[*],[1])
  • c/src/lib/libbsp/i386/pc386/console/console.c

    r104c492 r36ffcf3  
    6262 */
    6363
     64#if (USE_COM1_AS_CONSOLE == 1)
     65int BSPConsolePort = BSP_UART_COM1;
     66int BSPPrintkPort  = BSP_UART_COM1;
     67#else
    6468int BSPConsolePort = BSP_CONSOLE_PORT_CONSOLE;
    6569int BSPPrintkPort  = BSP_CONSOLE_PORT_CONSOLE;
    66 
    67 /* int BSPConsolePort = BSP_UART_COM2;  */
     70#endif
     71
    6872int BSPBaseBaud    = 115200;
    6973
Note: See TracChangeset for help on using the changeset viewer.