Changeset a3a6fae in rtems for c/src/lib


Ignore:
Timestamp:
Aug 21, 2009, 5:59:31 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
573e3b2
Parents:
a17bc42
Message:

2009-08-21 Joel Sherrill <joel.sherrill@…>

  • include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS. Should be automatically handled by confdefs.h or the application.
Location:
c/src/lib/libbsp
Files:
36 edited

Legend:

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

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/arm/csb336/include/bsp.h

    ra17bc42 ra3a6fae  
    3232#define BSP_XTAL_FREQ 32768       /* 32.768 KHz crystal */
    3333
    34 /* How many serial ports? */
    35 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    36 
    3734int get_perclk1_freq(void);
    3835
  • c/src/lib/libbsp/arm/edb7312/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-08-06      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • c/src/lib/libbsp/arm/edb7312/include/bsp.h

    ra17bc42 ra3a6fae  
    3636                          int                          attaching);
    3737
    38 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    39 
    4038/*
    4139 * Network driver configuration
  • c/src/lib/libbsp/arm/gba/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/arm/gba/include/bsp.h

    ra17bc42 ra3a6fae  
    3131#include <rtems/clockdrv.h>
    3232
    33 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
    34 
    3533/** Define operation count for Tests */
    3634#define OPERATION_COUNT 10
  • c/src/lib/libbsp/arm/gp32/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/arm/gp32/include/bsp.h

    ra17bc42 ra3a6fae  
    5858
    5959
    60 /* How many serial ports? */
    61 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
    62 
    6360/*
    6461 *  This BSP provides its own IDLE task to override the RTEMS one.
  • c/src/lib/libbsp/arm/gumstix/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-08-21      Xi Yang <hiyangxi@gmail.com>
    27
  • c/src/lib/libbsp/arm/gumstix/include/bsp.h

    ra17bc42 ra3a6fae  
    3434static inline int32_t BSP_get_baud(void) {return 115200;}
    3535
    36 /* How many serial ports? */
    37 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
    38 
    3936/* How big should the interrupt stack be? */
    4037#define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
  • c/src/lib/libbsp/arm/rtl22xx/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-08-09      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/arm/rtl22xx/include/bsp.h

    ra17bc42 ra3a6fae  
    130130                          int                          attaching);
    131131
    132 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    133 
    134132/*
    135133 * Network driver configuration
  • c/src/lib/libbsp/bfin/bf537Stamp/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/bfin/bf537Stamp/include/bsp.h

    ra17bc42 ra3a6fae  
    6767
    6868/*
    69  *  confdefs.h overrides for this BSP:
    70  *   - number of termios serial ports (defaults to 1)
    71  */
    72 
    73 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    74 
    75 /*
    7669 *  Simple spin delay in microsecond units for device drivers.
    7770 *  This is very dependent on the clock speed of the target.
  • c/src/lib/libbsp/i386/pc386/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-08-06      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/i386/pc386/include/bsp.h

    ra17bc42 ra3a6fae  
    5555#include <rtems/bspIo.h>
    5656
    57 /*
    58  *  confdefs.h overrides for this BSP:
    59  *   - number of termios serial ports
    60  *   - Interrupt stack space is not minimum if defined.
    61  */
    62 
    6357#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
    6458
     
    6660 * Network driver configuration
    6761 */
    68 
    6962struct rtems_bsdnet_ifconfig;
    7063
  • c/src/lib/libbsp/m68k/csb360/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/m68k/csb360/include/bsp.h

    ra17bc42 ra3a6fae  
    119119#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_enet_driver_attach
    120120
    121 /*
    122  *  confdefs.h overrides for this BSP:
    123  *   - termios serial ports (defaults to 1)
    124  *   - Interrupt stack space is not minimum if defined.
    125  */
    126 
    127 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    128 
    129121/* System frequency */
    130122#define BSP_SYSTEM_FREQUENCY (66 * 1000 * 1000)
  • c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h

    ra17bc42 ra3a6fae  
    133133#include "i2c.h"
    134134
    135 /*
    136  *  confdefs.h overrides for this BSP:
    137  *   - termios serial ports (defaults to 1)
    138  *   - Interrupt stack space is not minimum if defined.
    139  */
    140 
    141 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    142 
    143135/* System frequency */
    144136#define BSP_SYSTEM_FREQUENCY ((unsigned int)&_SYS_CLOCK_FREQUENCY)
  • c/src/lib/libbsp/m68k/mrm332/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/m68k/mrm332/include/bsp.h

    ra17bc42 ra3a6fae  
    33 *  This include file contains all mrm board IO definitions.
    44 *
    5  *  COPYRIGHT (c) 1989-1999.
     5 *  COPYRIGHT (c) 1989-2009.
    66 *  On-Line Applications Research Corporation (OAR).
    77 *
     
    3333#define BSP_SMALL_MEMORY 1
    3434
    35 /*
    36  *  confdefs.h overrides for this BSP:
    37  *   - number of termios serial ports (defaults to 1)
    38  *   - Interrupt stack space is not minimum if defined.
    39  */
    40 
    4135#define CONSOLE_SCI
    42 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    4336
    4437/*
  • c/src/lib/libbsp/m68k/mvme167/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-08-13      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • c/src/lib/libbsp/m68k/mvme167/include/bsp.h

    ra17bc42 ra3a6fae  
    66 *  1993 supplements/addenda (MVME187PG/D2A1).
    77 *
    8  *  COPYRIGHT (c) 1989-1999.
     8 *  COPYRIGHT (c) 1989-2009.
    99 *  On-Line Applications Research Corporation (OAR).
    1010 *
     
    3333#include <rtems/iosupp.h>
    3434#include <rtems/bspIo.h>
    35 
    36 /*
    37  *  confdefs.h overrides for this BSP:
    38  *   - termios serial ports (defaults to 1)
    39  *   - Interrupt stack space is not minimum if defined.
    40  */
    41 
    42 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 4
    4335
    4436#include <mvme16x_hw.h>
  • c/src/lib/libbsp/powerpc/ep1a/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/powerpc/ep1a/include/bsp.h

    ra17bc42 ra3a6fae  
    2020#include <rtems/clockdrv.h>
    2121#include <bsp/vectors.h>
    22 
    23 
    24 /*
    25  *  confdefs.h overrides for this BSP:
    26  *   - termios serial ports (defaults to 1)
    27  *   - Interrupt stack space is not minimum if defined.
    28  */
    29 
    30 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    3122
    3223/* fundamental addresses for BSP (CHRPxxx and PREPxxx are from libcpu/io.h) */
  • c/src/lib/libbsp/powerpc/haleakala/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/powerpc/haleakala/include/bsp.h

    ra17bc42 ra3a6fae  
    77 * derived from helas403/include/bsp.h:
    88 *  Id: bsp.h,v 1.4 2001/06/18 17:01:48 joel Exp
    9  *  Author:     Thomas Doerfler <td@imd.m.isar.de>
     9 *  Author:  Thomas Doerfler <td@imd.m.isar.de>
    1010 *              IMD Ingenieurbuero fuer Microcomputertechnik
    1111 *
     
    1515 *  This file has been derived from the papyrus BSP.
    1616 *
    17  *  Author:     Andrew Bray <andy@i-cubed.co.uk>
     17 *  Author:  Andrew Bray <andy@i-cubed.co.uk>
    1818 *
    1919 *  COPYRIGHT (c) 1995 by i-cubed ltd.
     
    5656#ifdef ASM
    5757
    58         /* Definition of where to store registers in alignment handler */
    59         #define ALIGN_REGS 0x0140
     58
     59  /* Definition of where to store registers in alignment handler */
     60  #define ALIGN_REGS 0x0140
    6061
    6162#else
    6263
    63         #include <rtems.h>
    64         #include <rtems/console.h>
    65         #include <rtems/clockdrv.h>
    66         #include <libcpu/io.h>
    67         #include <rtems/console.h>
    68         #include <rtems/iosupp.h>
    69         #include <bsp/irq.h>
    70         #include <bsp/vectors.h>
     64  #include <rtems.h>
     65  #include <rtems/console.h>
     66  #include <rtems/clockdrv.h>
     67  #include <libcpu/io.h>
     68  #include <rtems/console.h>
     69  #include <rtems/iosupp.h>
     70  #include <bsp/irq.h>
     71  #include <bsp/vectors.h>
    7172
    72         /* Network Defines */
    73         #define RTEMS_BSP_NETWORK_DRIVER_NAME     "eth0"
    74        
    75         struct rtems_bsdnet_ifconfig;
    76         int rtems_emac_driver_attach(struct rtems_bsdnet_ifconfig* config, int attaching);
    77         #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_emac_driver_attach
     73  /* Network Defines */
     74  #define RTEMS_BSP_NETWORK_DRIVER_NAME     "eth0"
     75 
     76  struct rtems_bsdnet_ifconfig;
     77  int rtems_emac_driver_attach(struct rtems_bsdnet_ifconfig* config, int attaching);
     78  #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_emac_driver_attach
    7879
    79         /* Definitions for the shared console/UART driver */
    80         #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
     80  #define BSP_UART_IOBASE_COM1  0xEF600200    /* PPC405EX */
     81  #define BSP_UART_IOBASE_COM2  0xEF600300
    8182
    82         #define BSP_UART_IOBASE_COM1    0xEF600200              /* PPC405EX */
    83         #define BSP_UART_IOBASE_COM2    0xEF600300
     83  #define BSP_CONSOLE_PORT    BSP_UART_COM1    /* console */
    8484
    85         #define BSP_CONSOLE_PORT                BSP_UART_COM1           /* console */
     85  #define BSP_UART_BAUD_BASE    (11059200 / 16)    /* Kilauea ext clock, max speed */
    8686
    87         #define BSP_UART_BAUD_BASE              (11059200 / 16)         /* Kilauea ext clock, max speed */
     87  /* functions */
    8888
    89         /* functions */
    90 
    91         rtems_isr_entry set_vector(                    /* returns old vector */
    92           rtems_isr_entry     handler,                  /* isr routine        */
    93           rtems_vector_number vector,                   /* vector number      */
    94           int                 type                      /* RTEMS or RAW intr  */
    95         );
    96        
     89  rtems_isr_entry set_vector(                    /* returns old vector */
     90    rtems_isr_entry     handler,                  /* isr routine        */
     91    rtems_vector_number vector,                   /* vector number      */
     92    int                 type                      /* RTEMS or RAW intr  */
     93  );
     94 
    9795#endif /* ASM */
    9896
  • c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h

    ra17bc42 ra3a6fae  
    2323/*
    2424 *  confdefs.h overrides for this BSP:
    25  *   - termios serial ports (defaults to 1)
    26  *   - Interrupt stack space is not minimum if defined.
    27  */
    28 
    29 #if !defined(mvme2100)
    30 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    31 #endif
    32 
     25 */
    3326#define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
    34 
    3527
    3628/*
  • c/src/lib/libbsp/powerpc/mvme3100/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-08-17      Till Straumann <strauman@slac.stanford.edu>
    27
  • c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h

    ra17bc42 ra3a6fae  
    2525/*
    2626 *  confdefs.h overrides for this BSP:
    27  *   - termios serial ports (defaults to 1)
    28  *   - Interrupt stack space is not minimum if defined.
    29  */
    30 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
     27 */
    3128#define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
    3229 
  • c/src/lib/libbsp/powerpc/mvme5500/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h

    ra17bc42 ra3a6fae  
    113113/*
    114114 *  confdefs.h overrides for this BSP:
    115  *   - termios serial ports (defaults to 1)
    116115 *   - Interrupt stack space is not minimum if defined.
    117116 */
    118 
    119 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    120117#define BSP_INTERRUPT_STACK_SIZE  (16 * 1024) /* <skf> 2/09 wants it to be adjustable by BSP */
    121118
  • c/src/lib/libbsp/powerpc/score603e/ChangeLog

    ra17bc42 ra3a6fae  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
     4        Should be automatically handled by confdefs.h or the application.
     5
    162009-08-07      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/powerpc/score603e/include/bsp.h

    ra17bc42 ra3a6fae  
    2929#include <bsp/vectors.h>
    3030
    31 /*
    32  *  confdefs.h overrides for this BSP:
    33  *   - termios serial ports (defaults to 1)
    34  *   - Interrupt stack space is not minimum if defined.
    35  */
    36 
    37 #if (HAS_PMC_PSC8)
    38 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS (4 + 4)
    39 #else
    40 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS (4)
    41 #endif
    42 
    4331#ifdef ASM
    4432/* Definition of where to store registers in alignment handler */
Note: See TracChangeset for help on using the changeset viewer.