Changeset de49de6 in rtems


Ignore:
Timestamp:
Oct 2, 2008, 5:27:07 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
b4fa916b
Parents:
4e4dc3a
Message:

2008-10-02 Joel Sherrill <joel.sherrill@…>

  • console/config.c, console/console.c, console/console.h, console/ns16550cfg.c, console/ns16550cfg.h, include/bsp.h, include/tm27.h, irq/irq_init.c, irq/openpic_xxx_irq.c, pci/no_host_bridge.c: File head clean up.
  • console/debugio.c: Removed.
Location:
c/src/lib/libbsp/powerpc/ep1a
Files:
1 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ep1a/ChangeLog

    r4e4dc3a rde49de6  
     12008-10-02      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * console/config.c, console/console.c, console/console.h,
     4        console/ns16550cfg.c, console/ns16550cfg.h, include/bsp.h,
     5        include/tm27.h, irq/irq_init.c, irq/openpic_xxx_irq.c,
     6        pci/no_host_bridge.c: File head clean up.
     7        * console/debugio.c: Removed.
     8
    192008-10-02      Joel Sherrill <joel.sherrill@OARcorp.com>
    210
  • c/src/lib/libbsp/powerpc/ep1a/console/config.c

    r4e4dc3a rde49de6  
    22 *  This file contains the TTY driver table for the EP1A
    33 *
    4  *  COPYRIGHT (c) 1989-1999.
     4 *  COPYRIGHT (c) 1989-2008.
    55 *  On-Line Applications Research Corporation (OAR).
    66 *
  • c/src/lib/libbsp/powerpc/ep1a/console/console.c

    r4e4dc3a rde49de6  
    1 /*XXX
     1/*
    22 *  This file contains the TTY driver for the ep1a
    33 *
     
    242242  return RTEMS_SUCCESSFUL;
    243243}
    244 #if 0
    245 /* PAGE
    246  *
    247  *  DEBUG_puts
    248  *
    249  *  This should be safe in the event of an error.  It attempts to ensure
    250  *  that no TX empty interrupts occur while it is doing polled IO.  Then
    251  *  it restores the state of that external interrupt.
    252  *
    253  *  Input parameters:
    254  *    string  - pointer to debug output string
    255  *
    256  *  Output parameters:  NONE
    257  *
    258  *  Return values:      NONE
    259  */
    260 
    261 void DEBUG_puts(
    262         char *string
    263 )
    264 {
    265         char *s;
    266         unsigned32      Irql;
    267 
    268         rtems_interrupt_disable(Irql);
    269 
    270         for ( s = string ; *s ; s++ )
    271         {
    272                 Console_Port_Tbl[Console_Port_Minor].pDeviceFns->
    273                         deviceWritePolled(Console_Port_Minor, *s);
    274         }
    275 
    276         rtems_interrupt_enable(Irql);
    277 }
    278 
    279 /* PAGE
    280  *
    281  *  DEBUG_puth
    282  *
    283  *  This should be safe in the event of an error.  It attempts to ensure
    284  *  that no TX empty interrupts occur while it is doing polled IO.  Then
    285  *  it restores the state of that external interrupt.
    286  *
    287  *  Input parameters:
    288  *    ulHexNum - value to display
    289  *
    290  *  Output parameters:  NONE
    291  *
    292  *  Return values:      NONE
    293  */
    294 void
    295 DEBUG_puth(
    296     unsigned32 ulHexNum
    297     )
    298 {
    299         unsigned long i,d;
    300         unsigned32 Irql;
    301 
    302         rtems_interrupt_disable(Irql);
    303        
    304         Console_Port_Tbl[Console_Port_Minor].pDeviceFns->
    305                 deviceWritePolled(Console_Port_Minor, '0');
    306         Console_Port_Tbl[Console_Port_Minor].pDeviceFns->
    307                 deviceWritePolled(Console_Port_Minor, 'x');
    308 
    309         for(i=32;i;)
    310         {
    311                 i-=4;
    312                 d=(ulHexNum>>i)&0xf;
    313                 Console_Port_Tbl[Console_Port_Minor].pDeviceFns->
    314                         deviceWritePolled(Console_Port_Minor,
    315                                           (d<=9) ? d+'0' : d+'a'-0xa);
    316         }
    317 
    318         rtems_interrupt_enable(Irql);
    319 }
    320 #endif
    321244
    322245/* const char arg to be compatible with BSP_output_char decl. */
  • c/src/lib/libbsp/powerpc/ep1a/console/console.h

    r4e4dc3a rde49de6  
    11/*
    2  *  This file contains the TTY driver table definition for the PPCn_60x
    3  *
    42 *  This driver uses the termios pseudo driver.
    5  *
    6  *  COPYRIGHT (c) 1998 by Radstone Technology
    7  *
    8  *
    9  * THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY
    10  * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
    11  * IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
    12  * AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU.
    13  *
    14  * You are hereby granted permission to use, copy, modify, and distribute
    15  * this file, provided that this notice, plus the above copyright notice
    16  * and disclaimer, appears in all copies. Radstone Technology will provide
    17  * no support for this code.
    18  *
    193 *
    204 *  COPYRIGHT (c) 1989-2008.
  • c/src/lib/libbsp/powerpc/ep1a/console/ns16550cfg.c

    r4e4dc3a rde49de6  
    22 *  This include file contains all console driver definations for the nc16550
    33 *
    4  *  COPYRIGHT (c) 1989-1999.
     4 *  COPYRIGHT (c) 1989-2008.
    55 *  On-Line Applications Research Corporation (OAR).
    66 *
     
    1818typedef struct uart_reg
    1919{
    20         unsigned char reg;
    21         unsigned char pad[7];
     20  unsigned char reg;
     21  unsigned char pad[7];
    2222} uartReg;
    2323
  • c/src/lib/libbsp/powerpc/ep1a/console/ns16550cfg.h

    r4e4dc3a rde49de6  
    1 /*  nc16550cfg.h
    2  *
     1/*
    32 *  This include file contains all console driver definations for the nc16550
    43 *
    5  *  COPYRIGHT (c) 1998 by Radstone Technology
    6  *
    7  *
    8  * THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY
    9  * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
    10  * IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
    11  * AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU.
    12  *
    13  * You are hereby granted permission to use, copy, modify, and distribute
    14  * this file, provided that this notice, plus the above copyright notice
    15  * and disclaimer, appears in all copies. Radstone Technology will provide
    16  * no support for this code.
    17  *
    18  * COPYRIGHT (c) 1989-1999.
     4 * COPYRIGHT (c) 1989-2008.
    195 * On-Line Applications Research Corporation (OAR).
    206 *
  • c/src/lib/libbsp/powerpc/ep1a/include/bsp.h

    r4e4dc3a rde49de6  
    11/*
    2  *
    3  *  COPYRIGHT (c) 1989-1999.
     2 *  COPYRIGHT (c) 1989-2008.
    43 *  On-Line Applications Research Corporation (OAR).
    54 *
  • c/src/lib/libbsp/powerpc/ep1a/include/tm27.h

    r4e4dc3a rde49de6  
    11/*
    2  *  COPYRIGHT (c) 1989-1999.
     2 *  COPYRIGHT (c) 1989-2008.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
  • c/src/lib/libbsp/powerpc/ep1a/irq/irq_init.c

    r4e4dc3a rde49de6  
    1 /* irq_init.c
    2  *
     1/*
    32 *  This file contains the implementation of rtems initialization
    43 *  related to interrupt handling.
     
    1211 * Use the new interface to openpic_init
    1312 *
    14  *  COPYRIGHT (c) 1989-1999.
     13 *  COPYRIGHT (c) 1989-2008.
    1514 *  On-Line Applications Research Corporation (OAR).
    1615 *
  • c/src/lib/libbsp/powerpc/ep1a/irq/openpic_xxx_irq.c

    r4e4dc3a rde49de6  
    11/*
    2  *
    3  *  This file contains the i8259/openpic-specific implementation of the function described in irq.h
     2 *  This file contains the i8259/openpic-specific implementation of
     3 *  the function described in irq.h
    44 *
    55 *  Copyright (C) 1998, 1999 valette@crf.canon.fr
  • c/src/lib/libbsp/powerpc/ep1a/pci/no_host_bridge.c

    r4e4dc3a rde49de6  
    11/*
    2  *  COPYRIGHT (c) 1989-1999.
     2 *  COPYRIGHT (c) 1989-2008.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
Note: See TracChangeset for help on using the changeset viewer.