Commit Graph

5317 Commits

Author SHA1 Message Date
Joel Sherrill
109fc262bf 2003-03-27 Joel Sherrill <joel@OARcorp.com>
* ide/Makefile.am: ATA code depends upon libchip/ide which is not
	allowed in the cpukit source code since it must be buildable
	independent of any BSP. These files were moved to libchip/ide.
	* ide/ata.c, ide/ata.h, ide/ata_internal.h: New files.
2003-03-27 15:22:58 +00:00
Joel Sherrill
b7e2596910 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystems
	* mpc8xx/include/mpc8xx.h: Add PCMCIA registers.
2003-03-25 18:37:02 +00:00
Joel Sherrill
3446afa555 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystems
	* ide/Makefile.am, ide/ide_ctrl_cfg.h: General improvements which
	now work on pc386 and mbx8xx.
	* ide/ide_controller.c: New file.
2003-03-25 18:25:50 +00:00
Joel Sherrill
58f7c34904 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystems
	* startup/ldsegs.S: Increase alignment.
	* Makefile.am, configure.ac, include/bsp.h, wrapup/Makefile.am:
	Added IDE supporting infrastructure.
	* ide/Makefile.am, ide/ide.c, ide/idecfg.c: New files.  Added
	BSP support for libchip standard ide driver.
2003-03-25 18:22:04 +00:00
Joel Sherrill
ebe5abc87c 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystem
	* ide/*: added BSP support for libchip standard ide driver
2003-03-25 18:18:01 +00:00
Joel Sherrill
ec6422eb96 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 360/bsps
	* irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
	BSP code had set the task priority register multiple times of
	the OpenPIC instead of setting the individual source priorities.
	This patch adds openpic_get_source_priority() and
	openpic_set_source_priority() calls and lets IRQ management code
	use them.
2003-03-25 16:55:53 +00:00
Joel Sherrill
de223218f5 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
	on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
	code on non-VME BSPs without triggering linkage of the vmeUniverse
	driver.
2003-03-25 16:48:24 +00:00
Joel Sherrill
8ca2e5b778 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* shared/include/cpuIdent.c: Readd PPC604r CPU.
2003-03-25 16:43:47 +00:00
Ralf Corsepius
24af9a0677 Merger from rtems-4-6-branch. 2003-03-25 08:30:09 +00:00
Ralf Corsepius
db3e91f2db Merger from rtems-4-6-branch. 2003-03-25 07:20:58 +00:00
Joel Sherrill
81aa167d52 2003-03-24 Joel Sherrill <joel@OARcorp.com>
PR 378/bsps
	* bsp_specs: Did not include ecrtn in endfile sections. Reported
	and fixed by elkolli@crf.canon.fr.
2003-03-24 17:17:41 +00:00
Ralf Corsepius
dc135ad136 Merger from rtems-4-6-branch. 2003-03-24 10:11:20 +00:00
Ralf Corsepius
434b8ea114 Merger from rtems-4-6-branch. 2003-03-24 09:53:09 +00:00
Joel Sherrill
ab504d3415 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	* cpu.c: This patch makes RTEMS/PowerPC eabi compliant.
2003-03-18 19:22:33 +00:00
Joel Sherrill
64f8ae44cc 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	This patch makes RTEMS/powerpc/shared EABI compliant.
	* irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
	startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
	zero_bss() should clear not only bss but sbss and sbss2
	also (this is probably a bugfix, as sbss/sbss2 are
	probably used even if -msdata=eabi is not specified).
	* start/rtems_crti.S: New file which must
	be linked immediately after ecrti.o. rtems_crti.o contains
	a code snippet who lets __init() return immediately. Also,
	a new entry point '_init' to the C++ Ctors is generated
	for use by the RTEMS Thread_Handler.
2003-03-18 19:20:55 +00:00
Joel Sherrill
c4561f251d 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	* bsp_specs, start/Makefile.am, startup/linkcmds
	This patch makes RTEMS/powerpc/shared EABI compliant.
	Declare all linker-script defined addresses as
	variables of unknown size and not as short objects
	like 'int', 'void*' etc.
	This prevents the compiler from generating a relocation
	who assumes the existence of an __rtems_end object in
	one of the short data areas (which would result in a
	linker error).
2003-03-18 18:16:43 +00:00
Joel Sherrill
c599ce7b57 2003-03-18 Joel Sherrill <joel@OARcorp.com>
* comm/GDB.HOWTO: Updated.
2003-03-18 14:24:52 +00:00
Ralf Corsepius
f418d6e270 Merger from rtems-4-6-branch. 2003-03-11 11:16:34 +00:00
Ralf Corsepius
6600424de4 Merger from rtems-4-6-branch. 2003-03-11 11:00:20 +00:00
Ralf Corsepius
7a97f26d80 Merger from rtems-4-6-branch. 2003-03-11 10:43:44 +00:00
Ralf Corsepius
afaa498da0 Merger from rtems-4-6-branch. 2003-03-11 09:42:13 +00:00
Ralf Corsepius
3c55718aca Merger from rtems-4-6-branch. 2003-03-11 09:06:13 +00:00
Ralf Corsepius
9b353a5013 Merger from rtems-4-6-branch. 2003-03-11 08:47:30 +00:00
Joel Sherrill
d49389adb9 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* mpc6xx/exceptions/raw_exception.c, mpc6xx/mmu/bat.c,
	mpc6xx/mmu/pte121.c, shared/include/cpuIdent.c,
	shared/include/cpuIdent.h, shared/src/Makefile.am, shared/src/stack.c,
	shared/src/stackTrace.h, powerpc/registers.h:
	  - undo improper 'fix' who broke mpc604r identification
	  - fix: 7400 identification PVR value was wrong
	  - enhance 'setdbat()' to switch OFF a given BAT if called with 0 size
	  - fix: page table support bugfix
	  - enhancement: provide routines to take and print stack trace
	    snapshots
	  - add definitions for HID1 and DABR SPRs
2003-02-20 22:07:22 +00:00
Joel Sherrill
f3ceb2bf62 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* configure.ac: Add glue to the powerpc/shared BSP
	to use the vmeUniverse VME-PCI bridge driver.
2003-02-20 21:59:12 +00:00
Joel Sherrill
8f8147612f 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* startup/Makefile.am, startup/linkcmds startup/Makefile.am,
	startup/bspstart.c, startup/pgtbl_activate.c, startup/pgtbl_setup.c:
	Let the powerpc/shared (+derived) BSPs use pagetable support
	from libcpu.
2003-02-20 21:57:59 +00:00
Joel Sherrill
e00763df0d 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* Makefile.am, configure.ac: Add glue to the powerpc/shared BSP
	to use the vmeUniverse VME-PCI bridge driver.
	* vme/.cvsignore, vme/Makefile.am, wrapup/Makefile.am: New files.
2003-02-20 21:57:26 +00:00
Joel Sherrill
8fcce4f6ae 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* openpic/Makefile.am, pci/Makefile.am:
	  - install the 'openpic.h' and 'pci.h' headers
	  - avoid a name clash by renaming 'vsprintf' & friends
	    to 'k_vsprintf' etc.
	  - let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
	  - irq.c:
	     * fix: remove implicit assumption that ISA interrupt vectors start
	            at 0
	     * add BSP hook to let a VME interrupt acknowledge the PCI/openpic
	       IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
	  - fix: EABI compliance; isr/exception lowlevel handlers must not
	         clobber R2 or R13
	  - fix: openpic_init was called with the polarity/senses tables
	         swapped (fixed wrong order of arguments)
	  - cosmetics: use new _read_SPRXX() _write_SPRXX() macros
2003-02-20 21:52:45 +00:00
Joel Sherrill
ea29ba63ac 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* startup/pgtbl_setup.c, startup/pgtbl_activate.c: New files
	* startup/Makefile.am, startup/bspstart.c, startup/linkcmds:
	Let the powerpc/shared (+derived) BSPs use pagetable support
   	from libcpu.
2003-02-20 21:46:04 +00:00
Joel Sherrill
b95aedf3b4 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h,
	vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use
	the vmeUniverse VME-PCI bridge driver.
2003-02-20 21:43:02 +00:00
Joel Sherrill
20b349f15f 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* shared/README.universe, shared/vmeUniverse/README.porting
	shared/vmeUniverse/README.universe, shared/vmeUniverse/vmeUniverse.c,
	shared/vmeUniverse/vmeUniverse.h: Update of the VME universe driver.
2003-02-20 21:35:57 +00:00
Joel Sherrill
4f3e4f33db 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
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.
2003-02-20 21:32:07 +00:00
Joel Sherrill
d19443c71a 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 353/bsps
	* include/bsp.h: Let the application override the network driver
	and attach routine.
2003-02-20 21:24:50 +00:00
Joel Sherrill
47cf7a754f Fixed typo in PR category. 2003-02-20 21:22:15 +00:00
Joel Sherrill
9f9ba595fc 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 354/networkign
	* network/if_fxp.c (Intel eepro network driver): re-enabled the chip
	against a table of supported chips. The untested
	ones are still commented out, however.
2003-02-20 21:17:29 +00:00
Ralf Corsepius
299ebb4896 Merger from rtems-4-6-branch 2003-02-15 04:04:18 +00:00
Joel Sherrill
83795347ac 2003-02-14 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 348/bsps
	* mpc6xx/exceptions/raw_exception.c: Add PPC_603ev as required
	by MTX603e BSP.
2003-02-14 20:12:10 +00:00
Joel Sherrill
4e7d2181a8 2003-02-14 Joel Sherrill <joel@OARcorp.com>
AMD a29k is obsolete.
	* Makefile.am: Removed reference.
	* a29k/.cvsignore, a29k/ChangeLog, a29k/Makefile.am, a29k/configure.ac,
	a29k/clock/.cvsignore, a29k/clock/Makefile.am, a29k/clock/ckinit.c,
	a29k/clock/clock.S, a29k/clock/clock.h, a29k/timer/.cvsignore,
	a29k/timer/Makefile.am, a29k/timer/timer.c, a29k/timer/timerisr.c:
	Removed.
2003-02-14 19:52:49 +00:00
Joel Sherrill
a6ca1f3567 2003-02-14 Joel Sherrill <joel@OARcorp.com>
AMD a29k port declared obsolete.
	* a29k/.cvsignore, a29k/ChangeLog, a29k/Makefile.am, a29k/acinclude.m4,
	a29k/configure.ac, a29k/portsw/.cvsignore, a29k/portsw/ChangeLog,
	a29k/portsw/Makefile.am, a29k/portsw/README, a29k/portsw/bsp_specs,
	a29k/portsw/configure.ac, a29k/portsw/times,
	a29k/portsw/console/.cvsignore, a29k/portsw/console/Makefile.am,
	a29k/portsw/console/concntl.h, a29k/portsw/console/console.c,
	a29k/portsw/console/serial.c, a29k/portsw/console/serial.h,
	a29k/portsw/include/.cvsignore, a29k/portsw/include/Makefile.am,
	a29k/portsw/include/bsp.h, a29k/portsw/start/.cvsignore,
	a29k/portsw/start/Makefile.am, a29k/portsw/start/amd.ah,
	a29k/portsw/start/pswmacro.ah, a29k/portsw/start/register.S,
	a29k/portsw/start/register.ah, a29k/portsw/start/start.S,
	a29k/portsw/startup/.cvsignore, a29k/portsw/startup/Makefile.am,
	a29k/portsw/startup/bspclean.c, a29k/portsw/startup/bspstart.c,
	a29k/portsw/startup/linkcmds, a29k/portsw/startup/main.c,
	a29k/portsw/startup/ramlink, a29k/portsw/startup/romlink,
	a29k/portsw/startup/setvec.c, a29k/portsw/wrapup/.cvsignore,
	a29k/portsw/wrapup/Makefile.am: Removed.
2003-02-14 19:39:43 +00:00
Joel Sherrill
92e57ea26c 2003-02-11 Joel Sherrill <joel@OARcorp.com>
* score/cpu_asm.c: Rework logic that decides when to call
	_Thread_Dispatch.  Analysis by Sergei Organov <osv@javad.ru>
	determined that _ISR_Signals_to_thread_executing was not being
	honored and/or cleared properly.
2003-02-11 23:42:14 +00:00
Joel Sherrill
9518a5bc4d 2003-02-11 Joel Sherrill <joel@OARcorp.com>
* score/cpu_asm.c: Rework logic that decides when to call
	_Thread_Dispatch.  Analysis by Sergei Organov <osv@javad.ru>
	determined that _ISR_Signals_to_thread_executing was not being
	honored and/or cleared properly.
2003-02-11 23:29:06 +00:00
Ralf Corsepius
ccd81b60c2 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
2003-02-11 11:47:49 +00:00
Ralf Corsepius
9b5c258556 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_PREREQ(2.57).
2003-02-11 11:11:33 +00:00
Ralf Corsepius
6ca0732851 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_PREREQ(2.57).
2003-02-11 10:48:26 +00:00
Joel Sherrill
f81fb80981 2003-02-06 Joel Sherrill <joel@OARcorp.com>
* pppd/chat.c: Convert routines with common names to static. This
	included get_char(), put_char(), and character() among others.
2003-02-06 22:19:11 +00:00
Ralf Corsepius
06908af6b0 2003-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Unconditionally check for CXX.
	Require autoconf-2.57, automake-1.7.2.
	* rtems++: Eliminate CC_O_FILES.
2003-02-04 01:16:14 +00:00
Joel Sherrill
81968b9a6e 2003-02-03 Joel Sherrill <joel@OARcorp.com>
PR 338/filesystem
	* rtems.adb, rtems.ads: Side-effect of fixing reentrancy problem with
	rtems_io_lookup_name() (API change).
2003-02-03 23:57:10 +00:00
Joel Sherrill
da2151f40d 2003-02-03 Joel Sherrill <joel@OARcorp.com>
PR 338/filesystem
	* sapi/no-io.c: Side-effect of fixing reentrancy problem with
	rtems_io_lookup_name() (API change).  Unused function removed.
2003-02-03 23:56:29 +00:00
Joel Sherrill
b4f92a9ee2 2003-02-03 Joel Sherrill <joel@OARcorp.com>
PR 338/filesystem
	* sci/sci.c: Side-effect of fixing reentrancy problem with
	rtems_io_lookup_name() (API change).
2003-02-03 23:55:48 +00:00
Joel Sherrill
ce9f3d1d71 2003-02-03 Joel Sherrill <joel@OARcorp.com>
PR 338/filesystem
	* console.c: Side-effect of fixing reentrancy problem with
	rtems_io_lookup_name() (API change).
2003-02-03 23:55:01 +00:00