Commit Graph

22 Commits

Author SHA1 Message Date
Nick Withers
2d5c486914 Use fixed-width C99 types for PowerPC in_be16() and co.
Also use the const qualifier on the address pointer's target in in_*()

Closes #2128
2014-12-23 22:40:32 -05:00
Joel Sherrill
4abbc567ee powerpc bootloader: Remove warnings
This code is shared by multiple PowerPC BSPs including all
motorola_powerpc variants.
2014-10-13 10:32:38 -05:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
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.
2012-05-11 08:44:13 -05:00
Till Straumann
581272301a 2011-07-15 Till Straumann <strauman@slac.stanford.edu>
* shared/bootloader/mm.c, shared/bootloader/pci.c,
	shared/bootloader/qemu_fakeres.c, shared/bootloader/qemu_fakerom.S,
	shared/irq/irq.h, shared/motorola/motorola.c, shared/residual/residual.h,
	shared/startup/bspstart.c,
	Added 'qemuprep' BSP variant.
2011-07-16 01:29:05 +00:00
Joel Sherrill
0c875c6aa6 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* 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.
2011-01-28 20:29:53 +00:00
Ralf Corsepius
ac7af4a359 Whitespace removal. 2009-11-30 04:37:44 +00:00
Ralf Corsepius
18a3bbeb0d Use stdint.h fixed-size types. 2007-03-31 01:14:39 +00:00
Jennifer Averett
34e458a38e 2005-05-10 Jennifer Averett <jennifer.averett@oarcorp.com>
* bootloader/bootldr.h, bootloader/em86.c, bootloader/misc.c,
	bootloader/pci.c, bootloader/pci.h: Modified to depend upon
	rtems/pci.h
2005-05-10 18:27:46 +00:00
Ralf Corsepius
91df4886d6 Eliminate {un|}signed{8|16|32}.
Eliminate u32.
2005-05-10 02:47:20 +00:00
Greg Menke
c47f29d733 PR 729/bsps
* bootloader/pci.c: Removed the r->size=0 and r->base=0
	assignement which makes too-large regions conflict with onboard
	hardware, replacing it with sfree which deletes the memory region
	from the setup code, leaving it disabled.
2004-12-06 18:21:25 +00:00
Joel Sherrill
e79a194755 2004-11-10 Richard Campbell <richard.campbell@oarcorp.com>
* 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.
2004-11-10 23:51:17 +00:00
Joel Sherrill
513b6c4b64 2003-11-01 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 606/bsps
	* bootloader/pci.c: Fixed IO remapping so buses >= 1 are remapped.
	Reduced PCI space to match bat2.  Fixed incorrect region size
	calculation in pci_read_bases.  Set PCI latency timers to known
	sane values.  Changed bridge PCI settings to minimum sane instead
	of whatever sounded neat in the PCI spec.  Force pf regions to
	memory mapped to preserve byte access.
2004-09-27 21:44:10 +00:00
Ralf Corsepius
f05b2ac0bc Remove duplicate white lines. 2004-04-21 16:01:48 +00:00
Ralf Corsepius
6128a4aa5e Remove stray white spaces. 2004-04-21 10:43:04 +00:00
Ralf Corsepius
bde7f2688f 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* bootloader/misc.c, bootloader/pci.c, console/inch.c,
	include/bsp.h, pci/pci.c, startup/bspstart.c, startup/sbrk.c:
	Convert to using c99 fixed size types.
2004-03-31 03:52:40 +00:00
Joel Sherrill
da3b8d3ef8 2004-03-05 Joel Sherrill <joel@OARcorp.com>
* bootloader/pci.c: Remove warnings by adding include <string.h>.
	* irq/irq.c: Clean up includes to remove warnings.
	* pci/pci.c, pci/pci.h, startup/bspstart.c: Better use of const
	on struct _int_map.
2004-03-05 18:09:14 +00:00
Joel Sherrill
e831de8559 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* 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-09-04 18:52:38 +00:00
Joel Sherrill
35f9374097 2003-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 428/bsps
	PR 432/bsps
	* bootloader/pci.c: Re-instated code that prevents remapping small
	IO regions, which if remapped would cause i8259 registers to move
	out from under the #define'd base addresses.
	* startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256
	megs, I incorrectly had extended it which would cause problems with
	PCI devices that defined prefetchable memory.
2003-07-18 15:52:57 +00:00
Joel Sherrill
3a3e0b0e7d 2003-06-13 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 405/bsps
	* bootloader/pci.c: Added support for configuring devices for pci
	busses > 0
	* pci/pci.c, pci/pci.h: Added FixupPCI() to store vectors in the
	INTERRUPT_LINE register of pci devices any # of hops away
	from the host processor.
	* motorola/motorola.c, motorola/motorola.h: Added interrupt
	routing tables in support of FixupPCI.  This is board-specific,
	each board will have to supply information for FixupPCI() to do
	anything for it.
	* startup/bspstart.c: Extended bat2 to cover entire PCI address space.
	* irq/irq.c, irq/irq.h: Added support for shared interrupts.
	Existing single hander vectors are undisturbed, a new function
	added to allow adding/removing handlers from a vector.
2003-06-13 17:39:46 +00:00
Joel Sherrill
20603d1161 2002-04-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* residual/residual.c: Include <string.h>.
	* vectors/vectors_init.c: Include <rtems/bspIo.h> for printk.
	* bootloader/mm.c: Ditto.
	* bootloader/pci.c: Ditto.
	* console/console.c: Ditto.
	* openpic/openpic.c: Ditto.
2002-04-03 14:22:16 +00:00
Joel Sherrill
acc25eec35 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:31:19 +00:00