Commit Graph

4089 Commits

Author SHA1 Message Date
Joel Sherrill
65c34da02b 2001-11-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add @exceptions@ to SUBDIRS.
	* configure.ac: Apply RTEMS_BSPOPTS_*(*) to merge-in settings from
	make/custom/score603e.cfg;
	Add automake conditional for SCORE_GENERATION_1;
	Add RTEMS_PPC_EXCEPTIONS([old]).
	* include/Makefile.am: include force-preinstall.am.
	* start/start.S: include <bspopts.h> instead of targopts.h.
	* tod/Makefile.am: Apply SCORE_GENERATION_1 conditional.
	* vectors/vector.S: include <bsp.h>.
	* wrapup/Makefile.am: Apply @exceptions@.
2001-11-21 18:35:11 +00:00
Joel Sherrill
1c3c605646 2001-11-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add @exceptions@ to SUBDIRS.
	* configure.ac: Apply RTEMS_BSPOPTS_*(*) to merge-in settings from
	make/custom/ppcn_60x.cfg;
	Add RTEMS_PPC_EXCEPTIONS([old]).
	* include/Makefile.am: include force-preinstall.am.
	* wrapup/Makefile.am: Apply @exceptions@.
2001-11-21 18:34:54 +00:00
Joel Sherrill
6af8512c64 2001-11-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add @exceptions@ to SUBDIRS.
	* configure.ac: Apply RTEMS_BSPOPTS_*(*) to merge-in settings from
	make/custom/psim.cfg;
	Remove RTEMS_OUTPUT_BUILD_SUBDIRS;
	Add RTEMS_PPC_EXCEPTIONS([old]).
	* include/Makefile.am: include force-preinstall.am.
	* wrapup/Makefile.am: Apply @exceptions@.
2001-11-21 18:34:28 +00:00
Joel Sherrill
524c741428 2001-11-20 Joel Sherrill <joel@OARcorp.com>
* include/bspopts.h.in: Automatically generated file that should not
	be in CVS.
2001-11-20 22:57:44 +00:00
Joel Sherrill
d4aa480982 2001-11-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove mpc8xx from new_exception_processing.
2001-11-20 20:56:54 +00:00
Joel Sherrill
a862d15b19 2001-11-20 Joel Sherrill <joel@OARcorp.com>
* support/new_exception_processing/configure.ac,
	support/new_exception_processing/rtems/score/c_isr.inl,
	support/new_exception_processing/rtems/score/cpu.h,
	support/old_exception_processing/configure.ac,
	support/old_exception_processing/rtems/score/c_isr.inl,
	support/old_exception_processing/rtems/score/cpu.h,
	support/old_exception_processing/rtems/score/ppc_offs.h: New files
	missed in previous commit.
2001-11-20 20:53:39 +00:00
Joel Sherrill
019713474b 2001-11-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add @exceptions@ to SUBDIRS.
	* configure.ac: Apply RTEMS_BSPOPTS_*(*) to merge-in settings from
	make/custom/dmv177.cfg;
	Rename PPC_USE_INSTRUCTION_CACHE to DMV177_USE_INSTRUCTION_CACHE,
	Add RTEMS_PPC_EXCEPTIONS([old]).
	* include/Makefile.am: include force-preinstall.am.
	* startup/bspstart.c: Rename PPC_USE_INSTRUCTION_CACHE to
	DMV177_USE_INSTRUCTION_CACHE.
	* wrapup/Makefile.am: Apply @exceptions@.
2001-11-20 19:03:09 +00:00
Joel Sherrill
bb507e9e25 2001-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add @exceptions@ to SUBDIRS.
	* configure.ac: Add RTEMS_BSPOPTS_*(), merge-in settings
	from make/custom/mbx*.cfg, add RTEMS_PPC_EXCEPTIONS([new]).
	* include/Makefile.am: Convert PREINSTALL_FILES to
	TMPINSTALL_FILES, include force-preinstall.am.
	* vectors/Makefile.am: remove bogus VPATH.
	* wrapup/Makefile.am: Apply @exceptions@.
2001-11-20 18:58:22 +00:00
Joel Sherrill
5e0e4487d3 2001-11-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove mpc8620 from new_exception_processing.
2001-11-20 18:54:57 +00:00
Joel Sherrill
36024a6c2e 2001-11-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add @exceptions@ to SUBDIRS.
	* configure.ac: Apply RTEMS_BSPOPTS_*(*) to merge-in settings from
	make/custom/mpc8260ads.cfg, add RTEMS_PPC_EXCEPTIONS([new]).
	* include/Makefile.am: Convert PREINSTALL_FILES to
	TMPINSTALL_FILES, include force-preinstall.am.
	* wrapup/Makefile.am: Apply @exceptions@.
2001-11-20 18:53:27 +00:00
Joel Sherrill
73d6cdc548 2001-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add @exceptions@ to SUBDIRS.
	* configure.ac: Add RTEMS_BSPOPTS_*(UARTS_IO_MODE),
	RTEMS_PPC_EXCEPTIONS([new]).
	* include/Makefile.am: Convert PREINSTALL_FILES to
	TMPINSTALL_FILES, include force-preinstall.am.
	* irq/Makefile.am: remove irq.h from EXTRA_DIST.
	* wrapup/Makefile.am: Apply @exceptions@.
2001-11-20 18:51:46 +00:00
Joel Sherrill
39fb164342 2001-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* support/new_exception_processing/Makefile.am,
	support/old_exception_processing/Makefile.am,
	support/old_exception_processing/cpu_asm.S,
	support/old_exception_processing/irq_stub.S: Modified to reflect
	old versus new exception processing being a per BSP option.
	* support/new_exception_processing/c_isr.inl,
	support/new_exception_processing/cpu.h,
	support/old_exception_processing/c_isr.inl,
	support/old_exception_processing/cpu.h,
	support/old_exception_processing/ppc_offs.h: Removed.
2001-11-20 18:48:43 +00:00
Joel Sherrill
800cd2a8fb 2001-11-20 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Corrected spacing.
2001-11-20 18:31:12 +00:00
Joel Sherrill
904e18563e 2001-11-20 Joel Sherrill <joel@OARcorp.com>
* console/console-io.c: Fix incorrect comment.
2001-11-20 18:23:48 +00:00
Joel Sherrill
94ab166c67 2001-11-20 Joel Sherrill <joel@OARcorp.com>
* src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
	invoke the global constructors via __main.  Reported as tested by
	Alexandra Kossovsky <sasha@oktet.ru> and  Victor V. Vengerov
	<vvv@oktet.ru> in conjunction with a new set of tool RPMs
	(gcc2.95.3newlib1.9.0-3).  This was tracked as GNATS PR tools/84.
2001-11-20 18:22:35 +00:00
Joel Sherrill
d516bbfcd3 2001-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_BSPOPTS_*(CPU_CLOCK_RATE_HZ),
	RTEMS_BSPOPTS_*(START_HW_INIT),
	RTEMS_BSPOPTS_*(STANDALONE_EVB).
	* wrapup/Makefile.am: Apply RTEMS_CPU_MODEL to pickup CPU_PIECES.
2001-11-15 16:54:16 +00:00
Joel Sherrill
6388a3f2d4 2001-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Apply RTEMS_BSPOPTS_*(CPU_CLOCK_RATE_HZ).
	* wrapup/Makefile.am: Apply RTEMS_CPU_MODEL to pickup CPU_PIECES.
2001-11-15 16:53:56 +00:00
Joel Sherrill
6556b1c597 2001-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_BSPOPTS_*(USE_CONSOLE_A),
	add RTEMS_BSPOPTS_*(USE_CONSOLE_B).
2001-11-15 16:53:26 +00:00
Joel Sherrill
72650fcb59 2001-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_BSPOPTS_*(SIMHPPA_FAST_IDLE),
	remove RTEMS_OUTPUT_BUILD_SUBDIRS.
2001-11-15 16:52:34 +00:00
Joel Sherrill
4fa90c0b0e 2001-11-14 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Fixed syntax error in my previous addition
	of __init.
2001-11-15 15:48:08 +00:00
Joel Sherrill
ffcb102fd9 2001-11-14 Joel Sherrill <joel@OARcorp.com>
* shared/ppc.h: The mpc8260 uses the new exception processing model
	and thus does not need to define PPC_USE_SPRG.
2001-11-14 20:45:36 +00:00
Joel Sherrill
2b5c094f1c 2001-11-14 Andrew Dachs <A.Dachs@SSTL.co.uk>
* shared/ppc.h: mpc8260 has double FPU not single FPU.
2001-11-14 20:16:53 +00:00
Joel Sherrill
3ddf3b5e96 2001-11-14 Till Straumann <strauman@SLAC.Stanford.EDU>
* new_exception_processing/cpu_asm.S: Support double or single
	precision context switches.  Note that doing a single precision
	context save/restore on a double precision PowerPC machine does not
	only result in rounding errors but also screws up the FPSCR register!
2001-11-14 20:14:35 +00:00
Joel Sherrill
84eed6cdce 2001-11-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_BSPOPTS_*(LOAD_RTC_AT_START),
	RTEMS_BSPOPTS_*(BSP_DEBUG), RTEMS_BSPOPTS_*(UARTDEBUG),
	remove RTEMS_OUTPUT_BUILD_SUBDIRS.
2001-11-14 18:58:27 +00:00
Joel Sherrill
5f4867debf 2001-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add bspopts.h.
	* include/.cvsignore: Add stamp-h* and bspopts.h*.
	* include/Makefile.am: Add bspopts.h.
	* pci/Makefile.am: Append -O2 to AM_CFLAGS.
2001-11-14 18:44:17 +00:00
Joel Sherrill
ad1fb140a6 2001-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Fix TMPINSTALL_FILES to make automake-1.5
	happy.
2001-11-14 18:40:47 +00:00
Joel Sherrill
92cf35dbd3 2001-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/iosh7045.h: Add SCI0_SMR, SCI1_SMR for sh7032
	compatibility to make simsh happy.
2001-11-14 18:40:22 +00:00
Joel Sherrill
1ea5087f79 2001-11-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* bootloader/Makefile.am: completely reworked.
	* configure.ac: Add AM_PROG_AS.
2001-11-14 18:39:53 +00:00
Joel Sherrill
4f52e99216 2001-11-13 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Made to compile again.
2001-11-13 23:18:50 +00:00
Joel Sherrill
bb0ea09d0d 2001-11-13 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Added _init, and _fini symbols.
2001-11-13 23:17:56 +00:00
Joel Sherrill
1ef9056f07 2001-11-13 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: New file.
2001-11-13 23:17:18 +00:00
Joel Sherrill
e9ae97fbc6 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to
	support the IBM PPC405 family.  This submission was reviewed by
	Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
	not negatively impact the ppc403 BSPs.  The submission and tracking
	process was captured as PR50.
	* ppc403/console/console405.c ppc403/tty_drv/.cvsignore,
	ppc403/tty_drv/Makefile.am, ppc403/tty_drv/tty_drv.c,
	ppc403/tty_drv/tty_drv.h: New files.
	* Makefile.am, README, configure.ac, old_exception_processing/cpu.c,
	old_exception_processing/cpu.h, ppc403/Makefile.am,
	ppc403/clock/clock.c, ppc403/console/Makefile.am,
	ppc403/console/console.c, ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h,
	ppc403/timer/timer.c: Modified.
2001-11-09 00:04:57 +00:00
Joel Sherrill
de202e7204 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to
	support the IBM PPC405 family.  This submission was reviewed by
	Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
	not negatively impact the ppc403 BSPs.  The submission and tracking
	process was captured as PR50.
	* vectors/align_h.S: Added ppc405 support.
2001-11-08 23:48:52 +00:00
Joel Sherrill
aecef8f992 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to
	support the IBM PPC405 family.  This submission was reviewed by
	Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
	not negatively impact the ppc403 BSPs.  The submission and tracking
	process was captured as PR50.
	* startup/spurious.c: Added ppc405 support.
2001-11-08 23:48:08 +00:00
Joel Sherrill
357a9f08fe 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to
	support the IBM PPC405 family.  This submission was reviewed by
	Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
	not negatively impact the ppc403 BSPs.  The submission and tracking
	process was captured as PR50.
	* include/bsp.h: Increase the interrupt stack size to 16K.
2001-11-08 23:47:18 +00:00
Joel Sherrill
57ed393930 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to
	support the IBM PPC405 family.  This submission was reviewed by
	Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
	not negatively impact the ppc403 BSPs.  The submission and tracking
	process was captured as PR50.
	* ChangeLog, Makefile.am, README, bsp_specs, bsp_specs.dl, configure.ac,
	times, dlentry/.cvsignore, dlentry/Makefile.am, dlentry/dlentry.S,
	include/.cvsignore, include/Makefile.am, include/bsp.h,
	include/bspopts.h.in, include/coverhd.h, startup/.cvsignore,
	startup/Makefile.am, startup/bspclean.c, startup/bspstart.c,
	startup/linkcmds, startup/linkcmds.dl, startup/setvec.c,
	wrapup/.cvsignore, wrapup/Makefile.am: New files that are
	part of the new gen405 BSP.
2001-11-08 23:46:58 +00:00
Joel Sherrill
f58e8dfdc6 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is a submission of the modifications necessary to
	support the IBM PPC405 family.  This submission was reviewed by
	Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
	not negatively impact the ppc403 BSPs.  The submission and tracking
	process was captured as PR50.
	* acinclude.m4: Added gen405 BSP.
	* ChangeLog: Removed bogus comment on edit of generated file.
2001-11-08 23:35:06 +00:00
Joel Sherrill
16e28f7ebf 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to
	support the IBM PPC405 family.  This submission was reviewed by
	Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
	not negatively impact the ppc403 BSPs.  The submission and tracking
	process was captured as PR50.
	* acinclude.m4: Added gen405 BSP.
	* ChangeLog: Removed bogus comment on edit of generated file.
2001-11-08 23:35:05 +00:00
Joel Sherrill
d6434e7dd6 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is a submission of the modifications necessary to
	support the IBM PPC405 family.  This submission was reviewed by
	Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
	not negatively impact the ppc403 BSPs.  The submission and tracking
	process was captured as PR50.
	* aclocal.m4: Added gen405 BSP.
2001-11-08 23:34:07 +00:00
Joel Sherrill
95e0ca9337 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to
	support the IBM PPC405 family.  This submission was reviewed by
	Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
	not negatively impact the ppc403 BSPs.  The submission and tracking
	process was captured as PR50.
	* shared/asm.h, shared/ppc.h: Added PPC405 support.
2001-11-08 23:32:59 +00:00
Joel Sherrill
ed07762c2d 2001-11-08 Jiri Gaisler <jiri@gaisler.com>
This fix is response to test results reported by Jerry Needell
	<jerry.needell@unh.edu> for the SPARC/ERC32 and tracked as PR80.
	* tm27/task1.c: Account for overhead in starting and stopping
	the timer.
2001-11-08 13:42:46 +00:00
Joel Sherrill
5354ab0574 2001-11-08 Jiri Gaisler <jiri@gaisler.com>
This fix is in response to test results reported by Jerry Needell
	<jerry.needell@unh.edu> for the SPARC/ERC32 and tracked as PR80.
	* include/bsp.h: TM27 was not running properly because the ERC32
	and LEON cannot nest interrupts at the same level.  The BSP test support
	had to be modified to support using two different interrupt sources.
2001-11-08 13:39:52 +00:00
Joel Sherrill
47901d84b3 2001-11-07 Jennifer Averett <jennifer@OARcorp.com>
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR49.
	*  src/imfs/imfs_directory.c: Do not calculate the offset twice.
2001-11-08 00:24:55 +00:00
Joel Sherrill
f2278a8585 2001-11-07 Jennifer Averett <jennifer@OARcorp.com>
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR63.
	* psxstat/test.c: Fix test ENOTDIR to correspond to chdir() change.
	Since we check permissions before evaluating enough to see if it
	a regular file or directory, this hack is needed to make the regular
	file executable.
2001-11-07 23:57:59 +00:00
Joel Sherrill
bc2db66fcb 2001-11-07 Jennifer Averett <jennifer@OARcorp.com>
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR63.
	* libc/chdir.c: Check for search/execute permissions on chdir.
	This requires passing RTEMS_LIBIO_PERMS_SEARCH to
	rtems_filesystem_evaluate_path().
2001-11-07 23:54:59 +00:00
Joel Sherrill
ff79cc570e 2001-11-07 Joel Sherrill <joel@OARcorp.com>
* configure.ac: Delete the commented out line that said that
	the mpc8260 used the old exception processing model.  This line
	also appears to have caused ppc603e to miss this test.
2001-11-07 23:43:18 +00:00
Joel Sherrill
6b7d2531b9 2001-11-07 Joel Sherrill <joel@OARcorp.com>
* startup/Makefile.am: Do NOT use the standard bootcard.c.
	NOTE: With this fix all test including the mptest ran as expected.
2001-11-07 23:21:22 +00:00
Joel Sherrill
f96cb0bc54 2001-11-07 Joel Sherrill <joel@OARcorp.com>
Tracked as PR72 but related to the object id problem (PR36)
	reported by Todor.Todorov@barco.com.
	* include/tmacros.h: Added fatal_directive_check_status_only().
2001-11-07 23:08:40 +00:00
Joel Sherrill
24445831dd 2001-11-07 Joel Sherrill <joel@OARcorp.com>
Tracked as PR72 but related to the object id problem (PR36)
	reported by Todor.Todorov@barco.com.
	but discovered independently.
	* include/tmacros.h: Added fatal_directive_check_status_only().
2001-11-07 23:08:39 +00:00
Joel Sherrill
0897d3818c 2001-11-07 Joel Sherrill <joel@OARcorp.com>
Tracked as PR72 but related to the object id problem (PR36)
	reported by Todor.Todorov@barco.com.
	* mp03/delay.c: Dispatch disable level is actually 1 not 0.
	* mp13/system.h: Configure enough tasks (CONFIGURE_MAXIMUM_TASKS=3).
	* mp14/delay.c: Dispatch disable level may be arbitrarily > 0.
2001-11-07 23:04:50 +00:00