summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/console (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move console drivers to bspsSebastian Huber2018-04-202-1095/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/motorola_powerpc: Move polled_io.cSebastian Huber2018-04-123-1586/+0
| | | | | | | | This file was used by this BSP only. Avoid RTEMS_RELLDFLAGS. This patch is a part of the BSP source reorganization. Update #3285.
* Eliminate PowerPC libcpu/page.hJoel Sherrill2018-03-281-1/+0
| | | | | | | | Started to eliminate warnings and then realized that only one one-line macro in the file was used by a few files. The rest of the file was was not needed. Eliminate the file. Closes #3354.
* Remove make preinstallChris Johns2018-01-252-228/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* Simplify and unify BSP_output_charSebastian Huber2017-09-122-4/+1
| | | | | | | | 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.
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-221-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.
* bsps/powerpc: Fix shared console driverSebastian Huber2016-07-191-13/+9
| | | | | | The Termios modes are now an emum. Do not use them in #if expressions. Close #2762.
* bsps/powerpc: Update to RTEMS printer changesSebastian Huber2016-06-091-8/+8
|
* powerpc/shared/console/console.c: Add include of <rtems/console.h> to fix ↵Joel Sherrill2016-03-291-0/+1
| | | | warning
* Use fixed-width C99 types for PowerPC in_be16() and co.Nick Withers2014-12-232-4/+6
| | | | | | Also use the const qualifier on the address pointer's target in in_*() Closes #2128
* gen68302/console: Fix warningsJoel Sherrill2014-10-191-299/+0
|
* powerpc/shared/console: Fix warningsJoel Sherrill2014-10-132-24/+15
|
* powerpc bootloader: Remove warningsJoel Sherrill2014-10-131-9/+10
| | | | | This code is shared by multiple PowerPC BSPs including all motorola_powerpc variants.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-215-5/+5
|
* powerpc: motorola: Move bspreset.c to startup/Chirayu Desai2013-12-021-27/+0
| | | | * Move shared/console/bspreset.c to motorola_powerpc/startup/bspreset.c
* termios: Update due to API changesSebastian Huber2013-06-251-3/+0
| | | | | Termios notifies now the driver about an inactive transmit with the length argument set to zero.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-119-18/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-071-2/+0
| | | | * shared/console/console.c: Remove stray local decl of "close".
* 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-241-3/+0
| | | | | | * shared/bootloader/exception.S, shared/bootloader/misc.c, shared/bootloader/mm.c, shared/console/polled_io.c, shared/startup/probeMemEnd.c: Update due to API changes.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-111-1/+1
| | | | | | * shared/console/polled_io.c, shared/flash/spansionFlash.c, shared/startup/bspidle.c, shared/startup/probeMemEnd.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-285-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * beatnik/include/bsp.h, beatnik/irq/irq.h, beatnik/pci/gt_pci_init.c, ep1a/console/polled_io.c, ep1a/irq/openpic_xxx_irq.c, gen5200/include/irq.h, gen5200/irq/irq.c, gen5200/startup/bspstart.c, haleakala/irq/irq.c, mbx8xx/irq/irq.c, mbx8xx/irq/irq.h, motorola_powerpc/include/bsp.h, mpc8260ads/irq/irq.c, mpc8260ads/irq/irq.h, mvme3100/include/bsp.h, mvme3100/irq/irq.h, mvme3100/start/start.S, mvme5500/include/bsp.h, mvme5500/irq/irq.h, psim/include/bsp.h, psim/include/coverhd.h, psim/irq/irq.h, psim/shmsupp/addrconv.c, psim/shmsupp/getcfg.c, psim/startup/linkcmds, psim/tools/psim-gdb-top.in, psim/tools/psim-top.in, psim/tools/runtest-top.in, qemuppc/irq/irq.h, score603e/irq/irq.c, shared/bootloader/bootldr.h, shared/bootloader/em86.c, shared/bootloader/em86real.S, shared/bootloader/exception.S, shared/bootloader/head.S, shared/bootloader/lib.c, shared/bootloader/misc.c, shared/bootloader/mm.c, shared/bootloader/pci.c, shared/console/console.c, shared/console/consoleIo.h, shared/console/inch.c, shared/console/keyboard.h, shared/console/polled_io.c, shared/irq/i8259.c, shared/irq/irq.h, shared/irq/openpic_i8259_irq.c, shared/motorola/motorola.c, shared/motorola/motorola.h, shared/openpic/openpic.c, shared/openpic/openpic.h, shared/pci/pci.c, shared/residual/residual.c, shared/start/start.S, ss555/irq/irq.h: Fix typo where license said found in found in.
* 2010-08-15 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-08-151-1/+2
| | | | * shared/console/polled_io.c: Add BSP_poll_char.
* 2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-281-1/+1
| | | | | | * shared/bootloader/em86.c, shared/bootloader/mm.c, shared/console/polled_io.c, shared/irq/irq_init.c, shared/startup/bspstart.c: Remove warnings.
* adapted to new prototype for *_write functionThomas Doerfler2009-12-172-24/+24
|
* Add prototype for boot_udelay.Ralf Corsepius2009-12-101-1/+1
|
* Whitespace removal.Ralf Corsepius2009-11-303-6/+6
|
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-2/+2
| | | | | * shared/console/console.c: Reflect termios_baud_to_number having been renamed to rtems_termios_baud_to_number.
* 2009-02-11 Matt Rippa <mrippa@gemini.edu>Joel Sherrill2009-02-111-3/+7
| | | | | PR 1362/bsps * shared/console/bspreset.c: Fix BSP reset on mvme2300 - mvme2700.
* 2008-11-03 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-11-031-8/+9
| | | | | PR 1332: call BSP_uart_termios_set()/BSP_uart_intr_ctrl() only from 'firstOpen' and only if this is a serial console.
* 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-222-4/+5
| | | | | | | | | | * shared/console/inch.c, shared/startup/panic.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. * shared/console/bspreset.c: New file. * shared/console/reboot.c: Removed.
* Convert to "bool".Ralf Corsepius2008-09-051-22/+22
|
* Add missing prototypes.Ralf Corsepius2008-08-201-1/+1
|
* added haleakala BSP contributed by Michael HamelThomas Doerfler2008-07-141-4/+2
|
* 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-221-1/+0
| | | | * shared/console/console.c: Fix typo.
* 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-05-221-162/+103
| | | | | * shared/console/console.c: Remove explicit switch and call termios_baud_to_number().
* 2008-03-21 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-03-211-2/+2
| | | | | | * shared/console/uart.c: In IRQ driven mode also keep reading chars while they are available (fifo could be enabled).
* 2008-03-19 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-03-203-7/+77
| | | | | | * shared/console/console.c, shared/console/uart.c, shared/console/uart.h: added support for task-driven console.
* 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-261-6/+6
| | | | * shared/console/uart.c: Fix typo and spacing.
* 2007-11-21 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-221-1/+7
| | | | | | | | | | | | | | | * shared/console/uart.c: when draining UART during initialization (wait for possible printk() activity to finish) look at TEMT (fifo, holding-reg and shift-reg) rather than THRE (fifo, holding-reg only). This resolved some scrambled output issues for me. Enhanced semantics: if BSP initializes BSPBaseBaud to a negative value then the driver interprets the modulus as a speed value and uses the current setting of the divisor to compute the clock speed (BSPBaseBaud). This is useful if you have a board that you know is initialized e.g., to 9600 but you don't know the clock speed.
* 2007-11-06 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-061-1/+1
| | | | * shared/console/uart.c: removed #define UARTDEBUG
* 2007-09-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-071-2/+1
| | | | * shared/console/polled_io.c: Change prototype so code compiles.
* 2005-11-03 <strauman@slac.stanford.edu>Till Straumann2005-11-041-0/+3
| | | | | | | | * shared/console/reboot.c, shared/start/start.S: Fixed PR#845; !!enable MMU!! on mvme2100 - this is very important. Otherwise, all accesses are write-back cached [incl. memory-mapped devices]. (Prerequisite were the changes to shared/startup/bspstart.c just below.) Implemented rtemsReboot() for mvme2100.
* 2005-11-03 <strauman@slac.stanford.edu>Till Straumann2005-11-041-11/+22
| | | | | | | | | * mvme5500/irq/irq.h, psim/irq/irq.h, shared/console/uart.c, shared/irq/irq.h: Renamed BSP_ISA_UART_COMx_IRQ -> BSP_UART_COMx_IRQ (uart driver is ISA independent). Removed ugly #ifdef mvme2100. Added test for BSP_UART_USE_SHARED_IRQS symbol which a BSP can define to request that the serial interrupt be shared.
* 2005-11-03 straumanatslacdotstanforddoteduTill Straumann2005-11-031-3/+3
| | | | | | * shared/bootloader/misc.c, shared/console/polled_io.c, shared/residual/residual.c: silenced compiler warnings (type cast & renaming puts->my_puts)
* Eliminate u64, s64, u32.Ralf Corsepius2005-05-101-8/+4
|
* 2005-04-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-04-261-58/+60
| | | | * console/uart.h: Eliminate tabs.
* 2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-04-153-7/+11
| | | | | | | PR 779/bsp * clock/p_clock.c, console/console.c, console/uart.c, console/uart.h, irq/irq.c, irq/irq.h, irq/irq_init.c: powerpc: add parameter to new exception interrupt handlers
* 2004-11-10 Richard Campbell <richard.campbell@oarcorp.com>Joel Sherrill2004-11-105-16/+59
| | | | | | | | | | | | * Makefile.am, bootloader/misc.c, bootloader/pci.c, bootloader/pci.h, console/console.c, console/inch.c, console/reboot.c, console/uart.c, console/uart.h, irq/irq.c, irq/irq.h, irq/irq_init.c, motorola/motorola.c, motorola/motorola.h, openpic/openpic.c, openpic/openpic.h, pci/detect_raven_bridge.c, pci/pci.c, start/start.S, startup/bspstart.c, vectors/vectors_init.c, vme/vmeconfig.c: Add MVME2100 BSP and MPC8240 support. There was also a significant amount of spelling and whitespace cleanup. * tod/todcfg.c: New file.
* Remove duplicate white lines.Ralf Corsepius2004-04-216-25/+0
|
* Remove stray white spaces.Ralf Corsepius2004-04-215-164/+164
|