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

* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
	Should be automatically handled by confdefs.h or the application.
This commit is contained in:
Joel Sherrill
2009-08-21 17:59:31 +00:00
parent a17bc42173
commit a3a6fae837
36 changed files with 122 additions and 129 deletions

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to * configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -31,9 +31,6 @@ extern "C" {
#define BSP_OSC_FREQ 16000000 /* 16 MHz oscillator */ #define BSP_OSC_FREQ 16000000 /* 16 MHz oscillator */
#define BSP_XTAL_FREQ 32768 /* 32.768 KHz crystal */ #define BSP_XTAL_FREQ 32768 /* 32.768 KHz crystal */
/* How many serial ports? */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
int get_perclk1_freq(void); int get_perclk1_freq(void);
/* /*

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com> 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clockdrv.c: Tinker with clock on Skyeye. * clock/clockdrv.c: Tinker with clock on Skyeye.

View File

@@ -35,8 +35,6 @@ struct rtems_bsdnet_ifconfig;
int cs8900_driver_attach (struct rtems_bsdnet_ifconfig *config, int cs8900_driver_attach (struct rtems_bsdnet_ifconfig *config,
int attaching); int attaching);
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
/* /*
* Network driver configuration * Network driver configuration
*/ */

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to * configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -30,8 +30,6 @@ extern "C" {
#include <rtems/console.h> #include <rtems/console.h>
#include <rtems/clockdrv.h> #include <rtems/clockdrv.h>
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
/** Define operation count for Tests */ /** Define operation count for Tests */
#define OPERATION_COUNT 10 #define OPERATION_COUNT 10

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to * configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -57,9 +57,6 @@ void gp32_setPalette( unsigned char pos, uint16_t color);
#define Tchr 0x2 /* 3 clk */ #define Tchr 0x2 /* 3 clk */
/* How many serial ports? */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
/* /*
* This BSP provides its own IDLE task to override the RTEMS one. * This BSP provides its own IDLE task to override the RTEMS one.
* So we prototype it and define the constant confdefs.h expects * So we prototype it and define the constant confdefs.h expects

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-08-21 Xi Yang <hiyangxi@gmail.com> 2009-08-21 Xi Yang <hiyangxi@gmail.com>
* Makefile.am: Add fb/fb.c add rtl8019 Ethernet card support * Makefile.am: Add fb/fb.c add rtl8019 Ethernet card support

View File

@@ -33,9 +33,6 @@ extern "C" {
console_tbl *BSP_get_uart_from_minor(int minor); console_tbl *BSP_get_uart_from_minor(int minor);
static inline int32_t BSP_get_baud(void) {return 115200;} static inline int32_t BSP_get_baud(void) {return 115200;}
/* How many serial ports? */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
/* How big should the interrupt stack be? */ /* How big should the interrupt stack be? */
#define CONFIGURE_INTERRUPT_STACK_MEMORY (16 * 1024) #define CONFIGURE_INTERRUPT_STACK_MEMORY (16 * 1024)

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, startup/bspreset.c: Add Skyeye reset device. * configure.ac, startup/bspreset.c: Add Skyeye reset device.

View File

@@ -129,8 +129,6 @@ struct rtems_bsdnet_ifconfig;
int cs8900_driver_attach (struct rtems_bsdnet_ifconfig *config, int cs8900_driver_attach (struct rtems_bsdnet_ifconfig *config,
int attaching); int attaching);
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
/* /*
* Network driver configuration * Network driver configuration
*/ */

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to * configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -65,13 +65,6 @@ extern "C" {
#define FIFOLENGTH 0x100 #define FIFOLENGTH 0x100
/*
* confdefs.h overrides for this BSP:
* - number of termios serial ports (defaults to 1)
*/
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
/* /*
* Simple spin delay in microsecond units for device drivers. * Simple spin delay in microsecond units for device drivers.
* This is very dependent on the clock speed of the target. * This is very dependent on the clock speed of the target.

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/tm27.h: Remove references to rtems_interrupt_catch since this * include/tm27.h: Remove references to rtems_interrupt_catch since this

View File

@@ -54,18 +54,11 @@ extern "C" {
#include <libcpu/cpu.h> #include <libcpu/cpu.h>
#include <rtems/bspIo.h> #include <rtems/bspIo.h>
/*
* confdefs.h overrides for this BSP:
* - number of termios serial ports
* - Interrupt stack space is not minimum if defined.
*/
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
/* /*
* Network driver configuration * Network driver configuration
*/ */
struct rtems_bsdnet_ifconfig; struct rtems_bsdnet_ifconfig;
extern int rtems_ne_driver_attach(struct rtems_bsdnet_ifconfig *, int); extern int rtems_ne_driver_attach(struct rtems_bsdnet_ifconfig *, int);

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to * configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -118,14 +118,6 @@ extern int rtems_enet_driver_attach (struct rtems_bsdnet_ifconfig *config);
#define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0" #define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0"
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_enet_driver_attach #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_enet_driver_attach
/*
* confdefs.h overrides for this BSP:
* - termios serial ports (defaults to 1)
* - Interrupt stack space is not minimum if defined.
*/
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
/* System frequency */ /* System frequency */
#define BSP_SYSTEM_FREQUENCY (66 * 1000 * 1000) #define BSP_SYSTEM_FREQUENCY (66 * 1000 * 1000)

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to * configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -132,14 +132,6 @@ extern "C" {
#include "i2c.h" #include "i2c.h"
/*
* confdefs.h overrides for this BSP:
* - termios serial ports (defaults to 1)
* - Interrupt stack space is not minimum if defined.
*/
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
/* System frequency */ /* System frequency */
#define BSP_SYSTEM_FREQUENCY ((unsigned int)&_SYS_CLOCK_FREQUENCY) #define BSP_SYSTEM_FREQUENCY ((unsigned int)&_SYS_CLOCK_FREQUENCY)
extern char _SYS_CLOCK_FREQUENCY; /* Don't use this variable directly!!! */ extern char _SYS_CLOCK_FREQUENCY; /* Don't use this variable directly!!! */

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to * configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -2,7 +2,7 @@
* *
* This include file contains all mrm board IO definitions. * This include file contains all mrm board IO definitions.
* *
* COPYRIGHT (c) 1989-1999. * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
* The license and distribution terms for this file may be * The license and distribution terms for this file may be
@@ -32,14 +32,7 @@ extern "C" {
#define BSP_SMALL_MEMORY 1 #define BSP_SMALL_MEMORY 1
/*
* confdefs.h overrides for this BSP:
* - number of termios serial ports (defaults to 1)
* - Interrupt stack space is not minimum if defined.
*/
#define CONSOLE_SCI #define CONSOLE_SCI
/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
/* /*
* Simple spin delay in microsecond units for device drivers. * Simple spin delay in microsecond units for device drivers.

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-08-13 Joel Sherrill <joel.sherrill@OARcorp.com> 2009-08-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, timer/timer.c: Fix warnings and typos. * console/console.c, timer/timer.c: Fix warnings and typos.

View File

@@ -5,7 +5,7 @@
* Computer Programmer's Reference Guide (MVME187PG/D2) with the April * Computer Programmer's Reference Guide (MVME187PG/D2) with the April
* 1993 supplements/addenda (MVME187PG/D2A1). * 1993 supplements/addenda (MVME187PG/D2A1).
* *
* COPYRIGHT (c) 1989-1999. * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
* The license and distribution terms for this file may be * The license and distribution terms for this file may be
@@ -33,14 +33,6 @@ extern "C" {
#include <rtems/iosupp.h> #include <rtems/iosupp.h>
#include <rtems/bspIo.h> #include <rtems/bspIo.h>
/*
* confdefs.h overrides for this BSP:
* - termios serial ports (defaults to 1)
* - Interrupt stack space is not minimum if defined.
*/
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 4
#include <mvme16x_hw.h> #include <mvme16x_hw.h>
/* GCSR is in mvme16x_hw.h */ /* GCSR is in mvme16x_hw.h */

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to * configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -20,15 +20,6 @@
#include <rtems/clockdrv.h> #include <rtems/clockdrv.h>
#include <bsp/vectors.h> #include <bsp/vectors.h>
/*
* confdefs.h overrides for this BSP:
* - termios serial ports (defaults to 1)
* - Interrupt stack space is not minimum if defined.
*/
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
/* fundamental addresses for BSP (CHRPxxx and PREPxxx are from libcpu/io.h) */ /* fundamental addresses for BSP (CHRPxxx and PREPxxx are from libcpu/io.h) */
#define _IO_BASE CHRP_ISA_IO_BASE #define _IO_BASE CHRP_ISA_IO_BASE
#define _ISA_MEM_BASE CHRP_ISA_MEM_BASE #define _ISA_MEM_BASE CHRP_ISA_MEM_BASE

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to * configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -6,7 +6,7 @@
* *
* derived from helas403/include/bsp.h: * derived from helas403/include/bsp.h:
* Id: bsp.h,v 1.4 2001/06/18 17:01:48 joel Exp * Id: bsp.h,v 1.4 2001/06/18 17:01:48 joel Exp
* Author: Thomas Doerfler <td@imd.m.isar.de> * Author: Thomas Doerfler <td@imd.m.isar.de>
* IMD Ingenieurbuero fuer Microcomputertechnik * IMD Ingenieurbuero fuer Microcomputertechnik
* *
* COPYRIGHT (c) 1998 by IMD * COPYRIGHT (c) 1998 by IMD
@@ -14,7 +14,7 @@
* Changes from IMD are covered by the original distributions terms. * Changes from IMD are covered by the original distributions terms.
* This file has been derived from the papyrus BSP. * This file has been derived from the papyrus BSP.
* *
* Author: Andrew Bray <andy@i-cubed.co.uk> * Author: Andrew Bray <andy@i-cubed.co.uk>
* *
* COPYRIGHT (c) 1995 by i-cubed ltd. * COPYRIGHT (c) 1995 by i-cubed ltd.
* *
@@ -55,45 +55,43 @@ extern "C" {
#ifdef ASM #ifdef ASM
/* Definition of where to store registers in alignment handler */
#define ALIGN_REGS 0x0140 /* Definition of where to store registers in alignment handler */
#define ALIGN_REGS 0x0140
#else #else
#include <rtems.h> #include <rtems.h>
#include <rtems/console.h> #include <rtems/console.h>
#include <rtems/clockdrv.h> #include <rtems/clockdrv.h>
#include <libcpu/io.h> #include <libcpu/io.h>
#include <rtems/console.h> #include <rtems/console.h>
#include <rtems/iosupp.h> #include <rtems/iosupp.h>
#include <bsp/irq.h> #include <bsp/irq.h>
#include <bsp/vectors.h> #include <bsp/vectors.h>
/* Network Defines */ /* Network Defines */
#define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0" #define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0"
struct rtems_bsdnet_ifconfig; struct rtems_bsdnet_ifconfig;
int rtems_emac_driver_attach(struct rtems_bsdnet_ifconfig* config, int attaching); int rtems_emac_driver_attach(struct rtems_bsdnet_ifconfig* config, int attaching);
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_emac_driver_attach #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_emac_driver_attach
/* Definitions for the shared console/UART driver */ #define BSP_UART_IOBASE_COM1 0xEF600200 /* PPC405EX */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 #define BSP_UART_IOBASE_COM2 0xEF600300
#define BSP_UART_IOBASE_COM1 0xEF600200 /* PPC405EX */ #define BSP_CONSOLE_PORT BSP_UART_COM1 /* console */
#define BSP_UART_IOBASE_COM2 0xEF600300
#define BSP_CONSOLE_PORT BSP_UART_COM1 /* console */ #define BSP_UART_BAUD_BASE (11059200 / 16) /* Kilauea ext clock, max speed */
#define BSP_UART_BAUD_BASE (11059200 / 16) /* Kilauea ext clock, max speed */ /* functions */
/* functions */ rtems_isr_entry set_vector( /* returns old vector */
rtems_isr_entry handler, /* isr routine */
rtems_isr_entry set_vector( /* returns old vector */ rtems_vector_number vector, /* vector number */
rtems_isr_entry handler, /* isr routine */ int type /* RTEMS or RAW intr */
rtems_vector_number vector, /* vector number */ );
int type /* RTEMS or RAW intr */
);
#endif /* ASM */ #endif /* ASM */
#ifdef __cplusplus #ifdef __cplusplus

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to * configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -22,17 +22,9 @@
/* /*
* confdefs.h overrides for this BSP: * confdefs.h overrides for this BSP:
* - termios serial ports (defaults to 1)
* - Interrupt stack space is not minimum if defined.
*/ */
#if !defined(mvme2100)
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
#endif
#define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK #define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
/* /*
* diagram illustrating the role of the configuration * diagram illustrating the role of the configuration
* constants * constants

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-08-17 Till Straumann <strauman@slac.stanford.edu> 2009-08-17 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c, network/if_tsec_pub.h: * network/tsec.c, network/if_tsec_pub.h:

View File

@@ -24,10 +24,7 @@
/* /*
* confdefs.h overrides for this BSP: * confdefs.h overrides for this BSP:
* - termios serial ports (defaults to 1)
* - Interrupt stack space is not minimum if defined.
*/ */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
#define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK #define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
#define BSP_INTERRUPT_STACK_SIZE (16 * 1024) #define BSP_INTERRUPT_STACK_SIZE (16 * 1024)

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to * configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -112,11 +112,8 @@ DiscoveryChipVersion BSP_getDiscoveryChipVersion();
/* /*
* confdefs.h overrides for this BSP: * confdefs.h overrides for this BSP:
* - termios serial ports (defaults to 1)
* - Interrupt stack space is not minimum if defined. * - Interrupt stack space is not minimum if defined.
*/ */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
#define BSP_INTERRUPT_STACK_SIZE (16 * 1024) /* <skf> 2/09 wants it to be adjustable by BSP */ #define BSP_INTERRUPT_STACK_SIZE (16 * 1024) /* <skf> 2/09 wants it to be adjustable by BSP */
#define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK /* <skf> 4/09 see shared/startup/sbrk.c and rtems/confdefs.h */ #define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK /* <skf> 4/09 see shared/startup/sbrk.c and rtems/confdefs.h */

View File

@@ -1,3 +1,8 @@
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
2009-08-07 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-08-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c, startup/genpvec.c, startup/setvec.c: Disable call * console/console.c, startup/genpvec.c, startup/setvec.c: Disable call

View File

@@ -28,18 +28,6 @@ extern "C" {
#include <rtems/clockdrv.h> #include <rtems/clockdrv.h>
#include <bsp/vectors.h> #include <bsp/vectors.h>
/*
* confdefs.h overrides for this BSP:
* - termios serial ports (defaults to 1)
* - Interrupt stack space is not minimum if defined.
*/
#if (HAS_PMC_PSC8)
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS (4 + 4)
#else
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS (4)
#endif
#ifdef ASM #ifdef ASM
/* Definition of where to store registers in alignment handler */ /* Definition of where to store registers in alignment handler */
#define ALIGN_REGS 0x0140 #define ALIGN_REGS 0x0140