Changeset 0b6d74d0 in rtems


Ignore:
Timestamp:
Nov 4, 2002, 2:26:48 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1298624d
Parents:
1625856
Message:

2002-11-04 Joel Sherrill <joel@…>

  • console/sci.c, spurious/spinit.c: Removed warnings.
Location:
c/src/lib/libbsp/m68k/mrm332
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mrm332/ChangeLog

    r1625856 r0b6d74d0  
     12002-11-04      Joel Sherrill <joel@OARcorp.com>
     2
     3        * console/sci.c, spurious/spinit.c: Removed warnings.
     4
    152002-10-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • c/src/lib/libbsp/m68k/mrm332/console/sci.c

    r1625856 r0b6d74d0  
    3737*
    3838* $Log$
     39* Revision 1.1  2002/02/28 23:10:39  joel
     40* 2002-02-28    Mike Panetta <ahuitzot@mindspring.com>
     41*
     42*       * console/sci.c, console/sci.h,
     43*       console/console.c: Added new SCI driver.
     44*       * start/start.c: Removed file.
     45*       * start/start.S: New file, the asm portion of the updated start code.
     46*       * start/configure.am: Added start.S, removed start.c
     47*       * startup/start_c.c: New file, the C portion of the updated start code.         Contains most of the code that was in the old start.c.
     48*       * startup/configure.am: Added start_c.c to C_FILES.
     49*       * include/bsp.h: Added include <rtems/bspIo.h>
     50*
    3951*****************************************************************************/
    4052
     
    109121*****************************************************************************/
    110122
    111 //#include <stdlib.h>
    112123#include <bsp.h>
     124#include <rtems/bspIo.h>
     125#include <stdio.h>
    113126#include <rtems/libio.h>
    114127#include <libchip/serial.h>
     
    159172  Section D - External Functions
    160173*****************************************************************************/
    161 
    162 void printf();
    163 void printk();
    164 
    165 #if 0 // Why are these here?  They are defined in unistd.h
    166 
    167 unsigned16 open();
    168 unsigned16 close();
    169 unsigned16 read();
    170 unsigned16 write();
    171 unsigned16 ioctl();
    172 
    173 #endif
    174174
    175175
     
    991991)
    992992{
    993     rtems_status_code status;
     993//     rtems_status_code status;
    994994
    995995//printk("%s\r\n", __FUNCTION__);
     
    16441644****************************************************************************/
    16451645
     1646#if 0
    16461647#define O_RDWR LIBIO_FLAGS_READ_WRITE           // dont like this but...
    16471648
     
    16691670    return;
    16701671}
     1672#endif
    16711673
    16721674
     
    16821684void SciPrintStats ( void )
    16831685{
    1684     printf("\r\n");
    1685 
    1686     printf( "SYS_CLOCK is %2.6f Mhz\r\n\n", SYS_CLOCK / 1000000.0 );
    1687 
    1688     printf( "Current baud rate is %d bps or %d cps\r\n\n", SciBaud, SciBaud / 10 );
    1689 
    1690     printf( "SCI Uart chars in       %8d\r\n", SciBytesIn       );
    1691     printf( "SCI Uart chars out      %8d\r\n", SciBytesOut      );
    1692     printf( "SCI Uart framing errors %8d\r\n", SciErrorsFraming );
    1693     printf( "SCI Uart parity  errors %8d\r\n", SciErrorsParity  );
    1694     printf( "SCI Uart overrun errors %8d\r\n", SciErrorsOverrun );
    1695     printf( "SCI Uart noise   errors %8d\r\n", SciErrorsNoise   );
     1686    printk("\r\n");
     1687
     1688    printk( "SYS_CLOCK is %2.6f Mhz\r\n\n", SYS_CLOCK / 1000000.0 );
     1689
     1690    printk( "Current baud rate is %d bps or %d cps\r\n\n", SciBaud, SciBaud / 10 );
     1691
     1692    printk( "SCI Uart chars in       %8d\r\n", SciBytesIn       );
     1693    printk( "SCI Uart chars out      %8d\r\n", SciBytesOut      );
     1694    printk( "SCI Uart framing errors %8d\r\n", SciErrorsFraming );
     1695    printk( "SCI Uart parity  errors %8d\r\n", SciErrorsParity  );
     1696    printk( "SCI Uart overrun errors %8d\r\n", SciErrorsOverrun );
     1697    printk( "SCI Uart noise   errors %8d\r\n", SciErrorsNoise   );
    16961698
    16971699    return;
  • c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c

    r1625856 r0b6d74d0  
    3535{
    3636  //int sp = 0;
     37#if 0
    3738  const char * const VectDescrip[] = {
    3839    _Spurious_Error_[0],   _Spurious_Error_[0],  _Spurious_Error_[1],
     
    5859    _Spurious_Error_[27], _Spurious_Error_[27], _Spurious_Error_[27],
    5960    _Spurious_Error_[27], _Spurious_Error_[28]};
     61#endif
    6062
    6163  //asm volatile ( "movea.l   %%sp,%0 " : "=a" (sp) : "0" (sp) );
Note: See TracChangeset for help on using the changeset viewer.