Commit Graph

14706 Commits

Author SHA1 Message Date
Joel Sherrill
bdb600591a 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/clock/clockdrv.c: Eliminate copies of the Configuration Table.
	Use the RTEMS provided accessor macros to obtain configuration
	fields.
2007-12-11 15:50:13 +00:00
Joel Sherrill
a3ca595f1a 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c, include/bsp.h, startup/bspstart.c: Eliminate copies of
	the Configuration Table. Use the RTEMS provided accessor macros to
	obtain configuration fields.
2007-12-11 15:50:04 +00:00
Joel Sherrill
12bd47efc0 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c, include/bsp.h, startup/bspstart.c: Eliminate copies
	of the Configuration Table. Use the RTEMS provided accessor macros to
	obtain configuration fields.
2007-12-11 15:49:53 +00:00
Joel Sherrill
cba8eabd23 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/m68kpretaskinghook.c: Eliminate copies of the Configuration
	Table. Use the RTEMS provided accessor macros to obtain configuration
	fields.
2007-12-11 15:49:39 +00:00
Joel Sherrill
040b74f020 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* README, clock/ckinit.c, include/bsp.h, startup/bspstart.c: Eliminate
	copies of the Configuration Table. Use the RTEMS provided accessor
	macros to obtain configuration fields.
2007-12-11 15:49:10 +00:00
Joel Sherrill
94beb19881 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* irq/irq.c: Revert accidentally committed test code.
2007-12-11 15:47:35 +00:00
Joel Sherrill
4b39acf19a 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspstart.c, shared/startup/pretaskinghook.c: Eliminate
	copies of the Configuration Table. Use the RTEMS provided accessor
	macros to obtain configuration fields.
2007-12-11 15:46:56 +00:00
Joel Sherrill
d11d1d2aa8 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* README, include/bsp.h, startup/bspstart.c: Eliminate copies of the
	Configuration Table. Use the RTEMS provided accessor macros to obtain
	configuration fields.
2007-12-11 15:46:53 +00:00
Joel Sherrill
f6821c3efb 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_specs, include/bsp.h, startup/bspstart.c: Eliminate copies of the
	Configuration Table. Use the RTEMS provided accessor macros to obtain
	configuration fields.
2007-12-11 15:46:47 +00:00
Joel Sherrill
ed5ba1c9e2 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c, startup/bspstart.c.nocache:
	Eliminate copies of the Configuration Table. Use the RTEMS provided
	accessor macros to obtain configuration fields.
2007-12-11 15:46:39 +00:00
Joel Sherrill
5023c87431 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_specs, clock/clock.c, include/bsp.h, irq/irq.c,
	startup/bspclean.c, startup/bspstart.c: Eliminate copies of the
	Configuration Table. Use the RTEMS provided accessor macros to obtain
	configuration fields.
2007-12-11 15:46:33 +00:00
Joel Sherrill
7f6bb8cdb1 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c: Eliminate copies of the Configuration Table. Use
	the RTEMS provided accessor macros to obtain configuration fields.
2007-12-11 15:46:21 +00:00
Joel Sherrill
2d2586780c 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c, include/bsp.h: Eliminate copies of the Configuration
	Table. Use the RTEMS provided accessor macros to obtain configuration
	fields.
2007-12-11 15:46:18 +00:00
Joel Sherrill
200748bfa0 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c, include/bsp.h, startup/bspstart.c,
	startup/rtems-ctor.cc: Eliminate copies of the Configuration Table.
	Use the RTEMS provided accessor macros to obtain configuration
	fields.
2007-12-11 15:46:10 +00:00
Joel Sherrill
35f1d89dbe 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* at91rm9200/clock/clock.c, lpc22xx/clock/clockdrv.c,
	mc9328mxl/clock/clockdrv.c, s3c2400/clock/clockdrv.c: Eliminate
	copies of the Configuration Table. Use the RTEMS provided accessor
	macros to obtain configuration fields.
2007-12-11 15:46:05 +00:00
Joel Sherrill
0f9ecc4ecf 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* mcf5206/clock/ckinit.c, mcf5272/clock/ckinit.c: Eliminate copies of
	the Configuration Table. Use the RTEMS provided accessor macros to
	obtain configuration fields.
2007-12-11 15:45:54 +00:00
Joel Sherrill
36a8a2d57a 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Change 4.8 to 4.9.
2007-12-11 15:44:01 +00:00
Joel Sherrill
c62cad974c 2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am: Fix typo.
2007-12-11 15:06:40 +00:00
Till Straumann
c9f79e6da6 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, start/preload.S: moved preload.S
	to ../shared/start.
2007-12-11 07:49:00 +00:00
Till Straumann
8566824c03 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c:
	renamed ASM_BOOKE_PIT_VECTOR to ASM_BOOKE_DEC_VECTOR
	to be closer to 'official' nomenclature.
2007-12-11 07:37:00 +00:00
Till Straumann
2898f8a98f 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S, shared/vectors/vectors.h:
	renamed ASM_BOOKE_PIT_VECTOR to ASM_BOOKE_DEC_VECTOR
	to be closer to 'official' nomenclature.
2007-12-11 07:35:40 +00:00
Till Straumann
855012618c 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/e500_raw_exc_init.c: map DEC
	exception to ASM_BOOKE_DEC_VECTOR instead of ASM_DEC_VECTOR.

	Fixed wrong mapping of ASM_BOOKE_FIT_VECTOR
	(was ASM_BOOKE_PIT_VECTOR).
2007-12-11 07:34:10 +00:00
Till Straumann
d436f8c83d 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/vectors_init.c: beautification.
2007-12-11 07:32:10 +00:00
Till Straumann
4dd7d3d268 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c, new_exceptions/raw_exception.h,
	new_exceptions/bspsupport/irq.c: renamed ASM_BOOKE_PIT_VECTOR
	to ASM_BOOKE_DEC_VECTOR to be closer to 'official'
	nomenclature.
2007-12-11 07:30:52 +00:00
Till Straumann
ccd92869b8 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* shared/openpic/openpic.c: fixed wrong register
	address in openpic_gettimer().
2007-12-11 06:37:19 +00:00
Till Straumann
b8982b581b 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_test.c: fixed
	wrong type in argument (signed vs. unsigned)
	compiler warning.
2007-12-11 06:35:54 +00:00
Till Straumann
a50260e8b0 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* shared/motorola/vpd.c, shared/motorola/vpd.h:
	added code (originally developed for 'beatnik')
	to read MotLoad VPD data from i2c eeprom.
2007-12-11 06:20:53 +00:00
Till Straumann
3aff05fbd3 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* shared/vectors/README.deprecated, shared/irq/README.deprecated:
	added READMEs stating that certain files should not be
	copy/paste/modified when creating new BSPs. New BSPs
	are encouraged to use the new library under
	libcpu/powerpc/new-exceptions/bspsupport.
2007-12-11 05:38:44 +00:00
Till Straumann
83d44561a5 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: use shared exception/interrupt support
	from libcpu/powerpc/new-exceptions/bspsupport rather
	than ../shared/vectors , ../shared/irq

2007-12-10	Till Straumann <strauman@slac.stanford.edu>

	* shared/vectors/vectors_entry.S, motorola_powerpc/bsp_specs,
	shared/start/vectors_entry.S: moved vectors_entry.S to
	'start' subdir and made a start file rather than
	element of vectors.rel (it should always be linked but
	won't if it is the sole member of vectors.rel).
2007-12-11 05:33:15 +00:00
Till Straumann
02e6826b75 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* shared/vectors/vectors_entry.S, motorola_powerpc/bsp_specs,
	shared/start/vectors_entry.S: moved vectors_entry.S to
	'start' subdir and made a start file rather than
	element of vectors.rel (it should always be linked but
	won't if it is the sole member of vectors.rel).
2007-12-11 05:31:02 +00:00
Till Straumann
e1c30baf32 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: build new-exceptions/bspsupport for
	non-mpc5xx, new-exception CPUs.
2007-12-11 05:26:28 +00:00
Till Straumann
1e55619882 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, irq/irq_init.c: use vector/interrupt
	support from libcpu/powerpc/new-exceptions/bspsupport.
2007-12-11 05:22:57 +00:00
Till Straumann
bbb50590b2 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/nested_irq_test.c: adjusted
	wrong irq name/number calculation.
2007-12-11 05:21:12 +00:00
Till Straumann
f328b69076 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_hdl.c: make sure
	RI is set in the exception frame and panic if it isn't
	(state info might have been lost). This only affects
	classic PPC.
2007-12-11 05:19:55 +00:00
Till Straumann
59a4066e01 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/README,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h
	new-exceptions/bspsupport/vectors_init.c:
	added crude test to make sure MMU maps memory as
	write-back enabled.
2007-12-11 05:18:06 +00:00
Ralf Corsepius
7c86d66b78 2007-12-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* base.h: Remove Lines, Verbose, EXTERN.
	* menu2.c: Add Lines, Verbose. Remove EXTERN.
2007-12-11 04:12:34 +00:00
Ralf Corsepius
f49c75e3bb 2007-12-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* base.h: Remove BlankAsWarnings.
2007-12-11 04:06:54 +00:00
Ralf Corsepius
29b6b8b7a5 2007-12-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* base.h: Remove NumberOf*.
2007-12-11 04:05:02 +00:00
Joel Sherrill
4e5299ffc4 2007-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
	libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
	into multiple files and add initial stages of command configuration.
	This seems to work but the monitor commands need to be integrated
	this way and the ability to configure user commands needs to be
	tested.
	* libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
	libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
	libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
	libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
	libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
	libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
	libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
	libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
	libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
	libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
	libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
	libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
	libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
	libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
	libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
	libmisc/shell/str2int.c: New files.
2007-12-10 23:14:35 +00:00
Joel Sherrill
de434b0234 2007-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Fix Doxygen.
2007-12-10 23:13:28 +00:00
Joel Sherrill
c28004fdf8 2007-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/config.h: Fix idle thread prototype.
2007-12-10 17:51:58 +00:00
Till Straumann
bf5742a630 2007-12-09 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_test.c,
	new-exceptions/bspsupport/vectors_init.c,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/README,
	new-exceptions/bspsupport/irq_supp.h:
	Added README and some comments; now use TRAP exception
	in ppc_exc_test.c so that it works on PSIM.
2007-12-10 07:06:53 +00:00
Till Straumann
9b4c770e88 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: merged shared/vme/vme_universe.c and
	shared/vme/vme_universe_dma.c into one file.
	Added support for Tsi148 driver (DMA).
2007-12-10 01:54:38 +00:00
Till Straumann
2398f74c22 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: fixed wrong initialization
	routine when using Tsi148 driver.
2007-12-09 07:17:16 +00:00
Till Straumann
863b0ceff3 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: must set DMA ops pointer
	during init.
2007-12-09 06:51:50 +00:00
Till Straumann
8388ea7629 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: merged shared/vme/vme_universe.c and
	shared/vme/vme_universe_dma.c into one file.
	Added support for Tsi148 driver (DMA).
2007-12-09 06:44:51 +00:00
Till Straumann
79262a320a 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: merged shared/vme/vme_universe.c and
	shared/vme/vme_universe_dma.c into one file.
2007-12-09 06:42:14 +00:00
Till Straumann
54fdd8b0ff 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: had erroneously deleted
	#define __INSIDE_RTEMS_BSP__
2007-12-09 06:17:54 +00:00
Till Straumann
ae93b29af7 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* vme/VMEConfig.h: added error status to
	BSP_VME_UNIVERSE_INSTALL_IRQ_MGR(err) macro.
2007-12-09 05:54:19 +00:00
Till Straumann
b83b70ae60 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/VMEConfig.h, shared/vme/vme_universe.c:
	added support for Tsi148 bridge; BSP can define which
	bridge driver to use from VMEConfig.h.
	Added 'err' macro parameter to BSP_VME_INSTALL_IRQ_MGR(err)
	macro so that an error status can be passed back.
2007-12-09 05:51:10 +00:00