summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/console/polled_io.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-12bsp/motorola_powerpc: Move polled_io.cSebastian Huber1-1107/+0
This file was used by this BSP only. Avoid RTEMS_RELLDFLAGS. This patch is a part of the BSP source reorganization. Update #3285.
2018-03-28Eliminate PowerPC libcpu/page.hJoel Sherrill1-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.
2017-09-12Simplify and unify BSP_output_charSebastian Huber1-3/+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.
2016-06-09bsps/powerpc: Update to RTEMS printer changesSebastian Huber1-8/+8
2014-10-13powerpc bootloader: Remove warningsJoel Sherrill1-9/+10
This code is shared by multiple PowerPC BSPs including all motorola_powerpc variants.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+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-08-242011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-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-112011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-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-282011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-1/+1
* 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-152010-08-15 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-1/+2
* shared/console/polled_io.c: Add BSP_poll_char.
2010-04-282010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-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.
2009-12-10Add prototype for boot_udelay.Ralf Corsepius1-1/+1
2007-09-072007-09-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-2/+1
* shared/console/polled_io.c: Change prototype so code compiles.
2005-11-032005-11-03 straumanatslacdotstanforddoteduTill Straumann1-3/+3
* shared/bootloader/misc.c, shared/console/polled_io.c, shared/residual/residual.c: silenced compiler warnings (type cast & renaming puts->my_puts)
2005-05-10Eliminate u64, s64, u32.Ralf Corsepius1-8/+4
2004-04-21Remove duplicate white lines.Ralf Corsepius1-9/+0
2004-04-21Remove stray white spaces.Ralf Corsepius1-71/+71
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* bootloader/bootldr.h, bootloader/em86.c, bootloader/em86real.S, bootloader/exception.S, bootloader/head.S, bootloader/lib.c, bootloader/misc.c, bootloader/mm.c, bootloader/pci.c, clock/p_clock.c, console/console.c, console/consoleIo.h, console/inch.c, console/keyboard.h, console/polled_io.c, include/bsp.h, irq/i8259.c, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, motorola/motorola.c, motorola/motorola.h, openpic/openpic.c, openpic/openpic.h, pci/pci.c, residual/residual.c, start/start.S, startup/bspstart.c, vectors/vectors.h, vectors/vectors_init.c: URL for license changed.
2003-04-102003-04-10 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill1-6/+24
PR 379/bsps * console/polled_io.c: libcpu provides 'printk' already. Therefore, the implementation in this file was removed (still used for the bootloader, though). It now provides BSP_output_char() for libcpu's printk(). * console/uart.c, console/uart.h: BSP_output_char_via_serial() prototype changed to match the BSP_output_char_function_type. Note that the motorola BSPs use polled-io for the output_char routine, not the uart.c version. The latter can be used be other BSPs however (e.g. SVGM). * console/console.c, console/consoleIo.h, console/polled_io.c, irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c: Unfortunately, the supported 'printk' format string subset of the polled-io and libcpu implementations are different - hence, a few format strings in the ppc/shared BSP were changed.
2003-02-202003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill1-3/+3
PR 349/bsps * console/console.c, console/uart.c, console/uart.h: implement IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ callback. The callback routine (if installed) is invoked from the UART ISR when a BREAK interrupt is detected. This can be used e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we use the serial line break condition) NOTE: The callback runs in ISR context.
2002-10-312002-10-31 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+3
* bootloader/em86.c, console/inch.c, console/polled_io.c, irq/irq.c, motorola/motorola.c, pci/detect_raven_bridge.c, vectors/vectors_init.c: Removed warnings.
2002-05-142001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill1-46/+72
* bootloader/misc.c, console/Makefile.am, console/console.c, console/consoleIo.h, console/inch.c, console/polled_io.c, console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am, irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h, residual/Makefile.am, start/start.S, startup/bspstart.c, vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c: Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably with the goal to make it more flexible and reusable by other BSPs. The main strategies were: - eliminate hardcoded base addresses; devices use offsets and a BSP defined base address. - separate functionality into different files (e.g. reboot from inch.c to reboot.c) which can be overridden by a 'derived' BSP. - separate initialization code into separate files (e.g. PCI bridge detection/initialization was separated from the more generic PCI access routines), also to make it easier for 'derived' BSPs to substitute their own initialization code. There are also a couple of enhancements and fixes: - IRQ handling code now has a hook for attaching a VME bridge. - OpenPIC is now explicitely initialized (polarities, senses). Eliminated the implicit assumption on the presence of an ISA PIC. - UART and console driver now supports more than 1 port. The current maximum of 2 can easily be extended by enlarging a table (it would even be easier if the ISR API was not broken by design). - fixed polled_io.c so it correctly supports console on COM2 - fixed TLB invalidation code (start.S). - exception handler prints a stack backtrace. - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance.
2002-04-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* bootloader/exception.S: Reflect changes to <rtems/score/cpu.h>. * bootloader/head.S: Ditto. * bootloader/misc.c: Ditto. * console/polled_io.c: Ditto. * irq/irq.c: Ditto. * irq/irq_asm.S: Ditto. * irq/irq_init.c: Include <rtems/bspIo.h>. * start/start.S: Reflect changes to <rtems/score/cpu.h>. * vectors/vectors.S: Ditto.
1999-12-02Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.Joel Sherrill1-0/+1080
As part of this effort, the mpc750 libcpu code is now shared with the ppc6xx.