Changeset d5cc923f in rtems


Ignore:
Timestamp:
Oct 6, 2014, 5:25:10 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
6ec438e
Parents:
7fd5e89
git-author:
Sebastian Huber <sebastian.huber@…> (10/06/14 05:25:10)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/07/14 14:35:20)
Message:

bsps: Add Termios console driver initialization

Add a simple Termios console driver using a table for statically
registered devices used in console_initialize() and dynamic installation
via console_device_install().

Location:
c/src/lib/libbsp
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/Makefile.am

    r7fd5e89 rd5cc923f  
    3535include_bsp_HEADERS += shared/include/default-initial-extension.h
    3636include_bsp_HEADERS += shared/include/fatal.h
     37include_bsp_HEADERS += shared/include/console-termios.h
    3738
    3839include $(srcdir)/preinstall.am
  • c/src/lib/libbsp/preinstall.am

    r7fd5e89 rd5cc923f  
    2727PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/fatal.h
    2828
     29$(PROJECT_INCLUDE)/bsp/console-termios.h: shared/include/console-termios.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     30        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/console-termios.h
     31PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/console-termios.h
     32
  • c/src/lib/libbsp/shared/include/fatal.h

    r7fd5e89 rd5cc923f  
    3939  BSP_FATAL_CONSOLE_REGISTER_DEV_1,
    4040  BSP_FATAL_CONSOLE_NO_DEV,
     41  BSP_FATAL_CONSOLE_INSTALL_0,
     42  BSP_FATAL_CONSOLE_INSTALL_1,
    4143
    4244  /* ARM fatal codes */
Note: See TracChangeset for help on using the changeset viewer.