forked from Imagelibrary/rtems
leon2 ckinit.c, console.c: Comment clean up
This commit is contained in:
@@ -2,16 +2,14 @@
|
|||||||
* @file
|
* @file
|
||||||
* @ingroup sparc_leon2
|
* @ingroup sparc_leon2
|
||||||
* @brief Clock Tick Device Driver
|
* @brief Clock Tick Device Driver
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Clock Tick Device Driver
|
|
||||||
*
|
*
|
||||||
* This routine initializes LEON timer 1 which used for the clock tick.
|
* This routine initializes LEON timer 1 which used for the clock tick.
|
||||||
*
|
*
|
||||||
* The tick frequency is directly programmed to the configured number of
|
* The tick frequency is directly programmed to the configured number of
|
||||||
* microseconds per tick.
|
* microseconds per tick.
|
||||||
*
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1989-2008.
|
* COPYRIGHT (c) 1989-2008.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -2,13 +2,11 @@
|
|||||||
* @file
|
* @file
|
||||||
* @ingroup sparc_leon2
|
* @ingroup sparc_leon2
|
||||||
* @brief TTY driver driver for the serial ports on the LEON console
|
* @brief TTY driver driver for the serial ports on the LEON console
|
||||||
|
*
|
||||||
|
* This file contains the TTY driver for the serial ports on the LEON.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file contains the TTY driver for the serial ports on the LEON.
|
|
||||||
*
|
|
||||||
* This driver uses the termios pseudo driver.
|
|
||||||
*
|
|
||||||
* COPYRIGHT (c) 1989-1998.
|
* COPYRIGHT (c) 1989-1998.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
@@ -23,23 +21,6 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <rtems/bspIo.h>
|
#include <rtems/bspIo.h>
|
||||||
|
|
||||||
/*
|
|
||||||
* Should we use a polled or interrupt drived console?
|
|
||||||
*
|
|
||||||
* NOTE: This is defined in the custom/leon.cfg file.
|
|
||||||
*
|
|
||||||
* WARNING: In sis 1.6, it did not appear that the UART interrupts
|
|
||||||
* worked in a desirable fashion. Immediately upon writing
|
|
||||||
* a character into the TX buffer, an interrupt was generated.
|
|
||||||
* This did not allow enough time for the program to put more
|
|
||||||
* characters in the buffer. So every character resulted in
|
|
||||||
* "priming" the transmitter. This effectively results in
|
|
||||||
* in a polled console with a useless interrupt per character
|
|
||||||
* on output. It is reasonable to assume that input does not
|
|
||||||
* share this problem although it was not investigated.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* console_outbyte_polled
|
* console_outbyte_polled
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user