summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/gen5200/console/console.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-10libio: Clean up usage of rtems_termios_device_modeKinsey Moore1-2/+2
This cleans up outputUsesInterrupts usage with rtems_termios_device_mode enum values. The outputUsesInterrupts member was typed as an int, named as if it were a boolean value, and used as if it were a rtems_termios_device_mode enum. In this patch, values assigned to outputUsesInterrupts have been converted to the corresponding rtems_termios_device_mode enum value, conversions from deviceOutputUsesInterrupts have been made explicit, and uses of rtems_termios_device_mode enum values with deviceOutputUsesInterrupts have been converted to booleans.
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2022-03-24Update Eric Norum contact info and start to normalize file headersJoel Sherrill1-2/+1
2022-03-10bsps/powerpc/gen5200: Manual Header clean upChristian Mauderer1-96/+39
Update #4625.
2022-03-10bsps/powerpc/: Scripted embedded brains header file clean upJoel Sherrill1-2/+2
Updates #4625.
2018-04-20bsps: Move console drivers to bspsSebastian Huber1-0/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-01-04bsp/gen5200: Use public include pathChris Johns1-1/+1
Update #3254.
2017-09-28bsp/gen5200: Fix warningSebastian Huber1-2/+0
Update #3122.
2017-09-12Simplify and unify BSP_output_charSebastian Huber1-3/+0
The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
2017-03-22termios: Synchronize with latest FreeBSD headersKevin Kirspel1-1/+1
Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
2016-03-29powerpc/gen5200: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill1-1/+2
warnings
2015-06-24bsp/gen5200: Simplify interrupt write supportSebastian Huber1-7/+8
2014-10-10bsp/gen5200: Fix warningsSebastian Huber1-9/+9
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-2/+2
2013-06-25termios: Update due to API changesSebastian Huber1-19/+21
Termios notifies now the driver about an inactive transmit with the length argument set to zero.
2011-12-012011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+1
* console/console.c: Eliminate unused var "nb_overflow".
2010-11-152010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-14/+21
* make/custom/dp2.cfg, startup/linkcmds.dp2: New files. * Makefile.am, preinstall.am: Reflect change above. Install <bsp/utility.h>. Install BestComm header files. * configure.ac: Changed BSP options. * include/mpc5200.h: Added module structures and register defines. * bestcomm/bestcomm_api.c, bestcomm/bestcomm_api.h, bestcomm/bestcomm_glue.c, bestcomm/bestcomm_glue.h, bestcomm/bestcomm_priv.h, bestcomm/load_task.c, bestcomm/tasksetup_bdtable.c, bestcomm/task_api/bestcomm_cntrl.h: C++ compatibility. Use special heap to manage the SRAM region. Use interrupt extension API. Fixed warnings. * console/console.c: Fixed console registration. Fixed warnings. Added GPS module registration. * ide/pcmcia_ide.h: Fixed clock value macros. * ide/pcmcia_ide.c: Update for BestComm API changes. DP2 specific initialization. Removed zero loop in PIO receive function. * include/bsp.h: Added DP2 variant. Removed obsolete defines. * include/mscan-base.h, mscan/mscan-base.c: Use volatile qualifier. Format. * irq/irq.c: Fixed peripheral interrupt handling. * network_5200/network.c: Update for BestComm API changes. * start/start.S: U-Boot fixes. * startup/cpuinit.c: Enable write-back cache strategy. Added special memory regions. * startup/linkcmds.brs5l: Fixed memory size.
2010-03-25fix timer support, some reworksThomas Doerfler1-1/+1
2009-12-17 adapted to new prototype for *_write functionThomas Doerfler1-7/+7
2009-09-302009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* console/console.c: Reflect termios_baud_to_number having been renamed to rtems_termios_baud_to_number.
2009-08-102009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+0
* console/console.c: Spacing.
2008-12-04Use bool.Ralf Corsepius1-5/+5
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+18
* Makefile.am, configure.ac, console/console.c, include/bsp.h, startup/bspstart.c: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants. * startup/bspreset.c: New file. * startup/bspclean.c: Removed.
2008-09-03Converted to use sharedThomas Doerfler1-1/+1
exception and interrupt code.
2008-05-222008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-182/+136
* console/console.c: Remove explicit switch and call termios_baud_to_number().
2008-05-222008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-47/+60
* console/console.c: Properly inform termios of our initial baud rate. If it is not the default, this causes problems when an application changes any termios attributes since termios thinks our baud rate is one thing when in fact, it is another.
2007-08-282007-08-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* console/console.c: Add missing semi-colon.
2007-07-112007-07-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* console/console.c: Fix typo accidentally introduced. * network_5200/network.c: Fix warning.
2007-07-062007-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-22/+22
* Makefile.am: Add startup/bspclean.c * console/console.c: Remove warning. * include/bsp.h: Add conditionals for prompt for reset and resetting board. * start/start.S: Remove if 1 around section. * vectors/vectors_init.c: Do not print unless noisy init enabled. * startup/bspclean.c: New file. Will prompt for reset and reset.
2007-07-062007-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-8/+10
* clock/clock.c, console/console.c: Add clock HW initialization missed in earlier conversion.
2007-06-202007-06-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+2
Add Embedded Planets EP5200 which is the same as the Freescale 5200Lite (a.k.a. IceCube) evaluation board. * Makefile.am: Add linkcmds.ep5200. Add -DMPC5200_BAPI_LIBC_HEADERS to remove some warnings in bestcomm. * preinstall.am: Add linkcmds.ep5200. * clock/clock.c: Correct math for prescaler/counter when bus speed is high enough to require multiple passes of loop. * console/console.c: Use same math for initial baud rate as when it is changed via ioctl. When HAS_UBOOT is defined, initialize console to the same baud as it was with U-Boot. * include/bsp.h: Add EP5200 and console boot baud support. * include/mpc5200.h: Spacing. * startup/bspstart.c: If HAS_UBOOT and SHOW_MORE_INIT_SETTINGS are both defined, dump the U-Boot BD info structure. * vectors/vectors.S: ep5200 cannot use vectors segment. When loading it, U-Boot freezes. Besides, U-Boot can automatically start the BSP so we do not have to run from board reset. * startup/linkcmds.ep5200: New file.
2007-03-122007-03-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* clock/clock.c, console/console.c, ide/pcmcia_ide.c, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, nvram/nvram.c, nvram/nvram.h, slicetimer/slicetimer.c, startup/bspstart.c, vectors/vectors.h, vectors/vectors_init.c: Correct license URL and/or fix mistake in copyright notice. Both of these mistakes appear to be from code submitted after these changes were made previously.
2007-01-23fixed typo in uart error handling functionThomas Doerfler1-1/+1
2006-10-17Convert to utf-8.Ralf Corsepius1-1/+1
2006-07-09applied patches for PR1117/1118/1119/1120Thomas Doerfler1-33/+44
2006-01-01Cleanup CVS data.Ralf Corsepius1-21/+0
2005-12-31Misc include file fixes.Ralf Corsepius1-1/+5
2005-12-31New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'sRalf Corsepius1-0/+851
submission).