Changeset 1dad9e7 in rtems


Ignore:
Timestamp:
Sep 22, 2008, 9:49:17 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
61433e8
Parents:
34e9f2ac
Message:

2008-09-22 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac, console/uart.c: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants.
  • startup/bspclean.c: Removed.
Location:
c/src/lib/libbsp/arm/edb7312
Files:
1 deleted
4 edited

Legend:

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

    r34e9f2ac r1dad9e7  
     12008-09-22      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile.am, configure.ac, console/uart.c: Use standardized
     4        bsp_cleanup() which can optionally print a message, poll for user to
     5        press key, and call bsp_reset(). Using this eliminates the various
     6        bsp_cleanup() implementations which had their own implementation and
     7        variety of string constants.
     8        * startup/bspclean.c: Removed.
     9
    1102008-09-19      Joel Sherrill <joel.sherrill@oarcorp.com>
    211
  • c/src/lib/libbsp/arm/edb7312/Makefile.am

    r34e9f2ac r1dad9e7  
    3131    ../../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \
    3232    ../../shared/bsppredriverhook.c startup/bspstart.c \
    33     startup/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
    34     ../../shared/gnatinstallhandler.c
     33    ../../shared/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
     34    startup/bspreset.c ../../shared/gnatinstallhandler.c
    3535
    3636clock_SOURCES = clock/clockdrv.c
  • c/src/lib/libbsp/arm/edb7312/configure.ac

    r34e9f2ac r1dad9e7  
    1919AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2020
     21RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[1])
     22RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET],
     23[If defined, print a message and wait until pressed before resetting
     24 board when application exits.])
     25
     26RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[1])
     27RTEMS_BSPOPTS_HELP([BSP_RESET_BOARD_AT_EXIT],
     28[If defined, reset the board when the application exits.])
     29
    2130RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION
    2231
  • c/src/lib/libbsp/arm/edb7312/console/uart.c

    r34e9f2ac r1dad9e7  
    66 *  The license and distribution terms for this file may be
    77 *  found in the file LICENSE in this distribution or at
    8  *
    98 *  http://www.rtems.com/license/LICENSE.
    109 *
    1110 *
    1211 *  $Id$
    13 */
     12 */
     13
    1414#include <bsp.h>                /* Must be before libio.h */
    1515#include <rtems/libio.h>
     
    108108}
    109109
    110 static void _BSP_null_char( char c ) {uart_write_polled(0, c);}
    111 BSP_output_char_function_type BSP_output_char = _BSP_null_char;
    112 
    113110static int uart_write(int minor, const char *buf, int len)
    114111{
     
    157154
    158155}
     156
     157/*
     158 * Debug IO support
     159 */
     160static void _BSP_null_char(char c)
     161{
     162  uart_write_polled(0, c);
     163}
     164
     165static int _BSP_get_char(void)
     166{
     167  return uart_poll_read(0);
     168}
     169
     170BSP_output_char_function_type BSP_output_char = _BSP_null_char;
     171
     172BSP_polling_getchar_function_type BSP_poll_char = _BSP_get_char;
Note: See TracChangeset for help on using the changeset viewer.