summaryrefslogtreecommitdiffstats
path: root/c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-29PR2028: Milkymist USB: forward MIDI messages.Werner Almesberger2-0/+12
Forward MIDI messages from the softusb controller to the application. Signed-off-by: Gedare Bloom <gedare@rtems.org>
2012-02-23Fix typo in comment.Joel Sherrill1-1/+1
2012-02-23Avoid NULL dereference in printk() before libchip console initializedJennifer Averett4-63/+129
With the addition of dynamically registered libchip serial devices, there is the need to be able to use printk() before the console driver has initialized the indirect pointer table. This lets printk() support routines call pass a control structure directly without a lookup through the uninitialized indirect one.
2012-02-23LPC32XX: TypoSebastian Huber1-1/+1
2012-02-17PR 2015 - LEON3: make SHM driver configurable using weakJoel Sherrill2-5/+22
PR 2015/bsps Since the configuration struct is always present one can let DATA initialize it to reduce footprint, at the same time it is made weak to let the user able to configure the SHM driver without editing the driver code. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-11Patches for Qemu 1.0.50Sebastian Huber9-152/+122
2012-02-11Support for NXP LPC1700 familySebastian Huber22-30/+676
2012-02-11Use proper ARMv7-M compiler flags.Sebastian Huber1-2/+1
2012-02-11ARMv7-M Systick API changeSebastian Huber1-1/+1
2012-02-11Fixed bug intoduced due to API changes.Sebastian Huber1-2/+1
2012-02-11PR 2017/bsps - Update due to API changesWendell Silva1-1/+0
2012-02-02PR 1991/cpukit - attr.c (really mode code) warning reworkJoel Sherrill1-2/+2
This PR was about a warning for no previous prototype for rtems_interrupt_level_attribute. This method exists (like a few others) to have real bodies for Classic API services implemented as macros. These macros are not available from anything but C and C++. The most explicit use was in the Ada binding but these would be needed from assembly language or any other non-C based language. On top of needing a prototype, the methods were misnamed. They were related to modes. This renames them, moves the file, fixes test code, etc.
2012-02-02PR 1962/bsps - MVME162 Console Corrections and ImprovementsJoel Sherrill6-23/+103
* console/console.c: char_ready() was never returning true so console never processed input data * console/console.c: added printk() support to default device * include/bsp.h: Added #define for MOT_162BUG_VEC_ADDRESS * startup/bspclean.c: Modified to use MOT_162BUG_VEC_ADDRESS * startup/bspstart.c: Modified to use MOT_162BUG_VEC_ADDRESS * make/custom/mvme162.cfg: Modified to use "RTEMS_CPU_MODEL=68lc040" and "CPU_CFLAGS = -mcpu=68040 -msoft-float" so BSP will always work with all board variations. * README: Added notes on user required configuration changes and information about board models and variants * README.models: New file that contains a detailed list of MVME162 models and variants. Signed-off-by: Vic Hoover <victor.hoover.ctr@navy.mil>
2012-02-02PR 1962/bsps - MVME162 Console Corrections and ImprovementsJoel Sherrill6-23/+103
* console/console.c: char_ready() was never returning true so console never processed input data * console/console.c: added printk() support to default device * include/bsp.h: Added #define for MOT_162BUG_VEC_ADDRESS * startup/bspclean.c: Modified to use MOT_162BUG_VEC_ADDRESS * startup/bspstart.c: Modified to use MOT_162BUG_VEC_ADDRESS * make/custom/mvme162.cfg: Modified to use "RTEMS_CPU_MODEL=68lc040" and "CPU_CFLAGS = -mcpu=68040 -msoft-float" so BSP will always work with all board variations. * README: Added notes on user required configuration changes and information about board models and variants * README.models: New file that contains a detailed list of MVME162 models and variants. Signed-off-by: Vic Hoover <victor.hoover.ctr@navy.mil>
2012-02-02PR 1962/bsps - MVME162 Console Corrections and ImprovementsJoel Sherrill1-0/+233
* console/console.c: char_ready() was never returning true so console never processed input data * console/console.c: added printk() support to default device * include/bsp.h: Added #define for MOT_162BUG_VEC_ADDRESS * startup/bspclean.c: Modified to use MOT_162BUG_VEC_ADDRESS * startup/bspstart.c: Modified to use MOT_162BUG_VEC_ADDRESS * make/custom/mvme162.cfg: Modified to use "RTEMS_CPU_MODEL=68lc040" and "CPU_CFLAGS = -mcpu=68040 -msoft-float" so BSP will always work with all board variations. * README: Added notes on user required configuration changes and information about board models and variants * README.models: New file that contains a detailed list of MVME162 models and variants. Signed-off-by: Vic Hoover <victor.hoover.ctr@navy.mil>
2012-02-02PR 2011/networking - GRETH: performance improvements and one bugfixJoel Sherrill1-179/+316
GRETH driver updated, 10-15% performance improvements for GBIT MAC, unnecessary RX interrupts not taken which under heavy load saves approx. 1500 interrupts/s, one task removed saving about 5kb memory and 1 bug solved. BUG: RX interrupt was enabled before the RX-daemon was created which could result in a faulty call to rtems_event_send. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02PR 2011/networking GRETH: Moved print to remove potential deadlockJoel Sherrill1-2/+11
Deadlock may arise when the EDCL bug link is used to tunnel console output over Ethernet, when Ethernet is down one should avoid using console (only during debugging of LEON targets) Author: Marko Isomaki <marko@gaisler.com> Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02LEON3: change d-cache snoop detect implementationDaniel Hellstrom1-5/+5
PR 2010/bsps The previous code only checked if d-cache snooping was implemented, however snooping may be available but not enabled which may lead to driver bugs. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02White space correction.Joel Sherrill1-1/+1
2012-02-02LEON3: CPU index intialization moved to bspstart.cDaniel Hellstrom2-18/+18
PR 2009/bsps All LEON3/4 systems have a CPU-id, if on a single-CPU system the ID is always zero. On a multicore system it ranges from 0 to 15. The CPU index should always by updated even in a non-MP RTEMS OS since the CPU running RTEMS may not always be CPU0. For example when RTEMS runs on CPU1 and Linux on CPU0 in a mixed ASMP system. The old code executed within the IRQ controller initialization code makes no sense since the ASR register is a CPU register, it has nothing to do with AMBA initialization either. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02LEON3: fix compiler warning in SHM driverDaniel Hellstrom1-1/+1
PR 2008/bsps Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02LEON3BSP MP: may wake one more CPU than expectedDaniel Hellstrom1-1/+1
The SHM code always wakes one CPU more that configured, however this has never been a problem since RTEMS will be running on all CPUs or only two cores were available. PR 2006/bsps Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-01Improve comments on console select patch.Joel Sherrill1-9/+4
2012-02-01Improve comments on console select patch.Joel Sherrill3-10/+8
2012-02-01Correct run-time selection of console port.Jennifer Averett6-561/+190
This was broken by conversion of console driver to libchip style.
2012-02-01Remove all .cvsignore files.Joel Sherrill328-1653/+0
2012-02-01Add minimal .gitignore files.Joel Sherrill1-0/+1
2012-01-31Fix spelling error and improve comment.Joel Sherrill1-1/+1
2012-01-31Fixed race condition during startup.Sebastian Huber1-12/+14
2012-01-26Revert "Support custom Makefiles."Sebastian Huber3-61/+1
This reverts commit 621e1c9b74272ff94efec749c6c4a673a7c315e8.
2012-01-26Revert "Disable optimization."Sebastian Huber1-1/+1
This reverts commit 8ae88d7f9644ad39d88aaa86c7558ec45450e8c9.
2012-01-23Support for MPC5643L.Sebastian Huber54-1089/+23519
Rework of the start sequence to reduce the amount assembler code and to support configuration tables which may be provided by the application.
2012-01-23Support custom Makefiles.Sebastian Huber3-1/+61
2012-01-23Disable optimization.Sebastian Huber1-1/+1
2011-12-142011-12-14 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill8-67/+101
* Makefile.am: Change to one file per line. Clean up.
2011-12-132011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+5
* make/custom/qoriq.inc: Remove -W* flags.
2011-12-132011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-4/+11
* libchip/i2c/spi-memdrv.c: Make spi_memdrv_minor2param_ptr, spi_memdrv_wait_ms static. * libchip/i2c/spi-sd-card.c: Make sd_card_compute_crc7, sd_card_compute_crc16 static.
2011-12-122011-12-12 Gedare Bloom <gedare@rtems.org>Gedare Bloom3-32/+19
PR bsps/1989 * shared/start/start.S, shared/startup/linkcmds: Boot stack and heap space improvements.
2011-12-122011-12-12 Gedare Bloom <gedare@rtems.org>Gedare Bloom2-4/+13
PR bsps/1988 * shared/start/start.S: Add _init and _fini to .init and .fini sections
2011-12-122011-12-12 Gedare Bloom <gedare@rtems.org>Gedare Bloom2-6/+10
PR bsps/1988 * shared/startup/linkcmds: Relocate .init and .fini sections closer to .text.
2011-12-102011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+5
* configure.ac (CFLAGS): Add -Wmissing-prototypes.
2011-12-102011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+8
* shared/interrupts/vectorexceptions.c: Make mips_dump_exception_frame, mips_default_exception_code_handler static.
2011-12-102011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+9
PR 1986/libcpu * shared/src/cache_aligned_malloc.c: Include <rtems/rtems/cache.h>.
2011-12-092011-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill4-21/+11
* make/custom/gen68360.cfg, make/custom/gen68360_040.cfg, make/custom/pgh360.cfg: Simplify and clean up.
2011-12-092011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+2
* libchip/network/sonic.c: Activate SONIC_STATIC.
2011-12-092011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-9/+16
* console/vt.c: Make _kd_mksound static. * ide/ide.c: Make pc386_ide_probe, pc386_ide_initialize, pc386_ide_read_reg, pc386_ide_write_reg, pc386_ide_write_block, pc386_ide_control, pc386_ide_config_io_speed static.
2011-12-092011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+5
* shared/pci/pcibios.c: Make pcib_find_by_devid static.
2011-12-092011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-2/+7
* console/vgacons.c: Add VGACONS_STATIC. * console/vgacons.h: Remove VGACONS_STATIC.
2011-12-092011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+5
* libchip/network/if_fxp.c: Add missing initializer.
2011-12-082011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-11/+6
PR 1589/build * configure.ac: Remove obsolete optional manager capability.