Commit Graph

14684 Commits

Author SHA1 Message Date
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
Till Straumann
869af180c3 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* irq_supp.h: was moved from libbsp/powerpc/shared/irq to
	libcpu/powerpc/new-exceptions/bspsupport.
2007-12-09 00:17:38 +00:00
Till Straumann
7223038e1f 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: irq_supp.h was moved from shared/irq to
	libcpu/powerpc/new-exceptions/bspsupport.
2007-12-09 00:14:49 +00:00
Till Straumann
b672bca70b 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* irq_supp.h: was moved from shared/irq to
	libcpu/powerpc/new-exceptions/bspsupport.
2007-12-09 00:14:06 +00:00
Till Straumann
f73c6285c1 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/ppc_exc_hdl.c:
	fixed some mismatching signed/unsigned types.
2007-12-09 00:00:08 +00:00
Till Straumann
94e1931c5b 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/, new-exceptions/bspsupport/ppc_exc.S,
	new-exceptions/bspsupport/ppc_exc_test.c,
	new-exceptions/bspsupport/vectors.h,
	new-exceptions/bspsupport/vectors_init.c,
	new-exceptions/bspsupport/irq.c,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/ppc_exc_hdl.c,
	new-exceptions/bspsupport/ppc_exc_asm_macros.h,
	new-exceptions/bspsupport/nested_irq_test.c:
	New files. Added 'middleware' code for helping BSPs implement
	exception and interrupt handling and implementing the 'new'
	RTEMS IRQ API (which I personally dislike).
2007-12-08 23:43:24 +00:00
Till Straumann
4be2812f5b 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/e500_raw_exc_init.c, new-exceptions/raw_exception.c,
	shared/include/cpuIdent.c, shared/include/cpuIdent.h:
	Added different kinds of 'bookE' to the ppc_cpu_is_bookE feature
	check; unfortunately...
2007-12-08 22:46:59 +00:00
Till Straumann
a9e62c242f 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* ep1a/irq/irq.c, gen5200/irq/irq.c, gen83xx/irq/irq_init.c,
	mbx8xx/irq/irq.c, mpc8260ads/irq/irq.c, mvme5500/irq/irq.c,
	psim/irq/no_pic.c, score603e/irq/irq.c, shared/irq/irq_supp.h,
	shared/irq/openpic_i8259_irq.c, virtex/irq/irq_init.c:
	let C_dispatch_irq_handler() return zero to indicate to
	low-level exception handling code that the exception
	was handled (not used yet).
2007-12-08 17:26:19 +00:00
Till Straumann
98ff623e62 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
*shared/irq/irq_supp.h: removed cpp test for
	BSP_SHARED_HANDLER_SUPPORT; BSPs using irq_supp.h
	*must* implement shared handlers.
2007-12-08 17:23:55 +00:00
Till Straumann
aeca15c87b 2007-12-03 Till Straumann <strauman@slac.stanford.edu>
* rtems/powerpc/registers.h: added definitions for MSR_CE,
	MSR_DE (bookE).
2007-12-07 21:24:33 +00:00
Till Straumann
7b2cb2234f 2007-12-07 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: must not add e500_raw_exc_init.c to
	xyz_SOURCES for mpc5xx
2007-12-07 18:42:40 +00:00
Joel Sherrill
d875597c46 2007-12-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Separate the concept of configuring the
	interrupt stack size from actually reserving memory for it in the
	RTEMS Workspace.
2007-12-07 17:52:28 +00:00
Till Straumann
2a90ae7522 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* shared/openpic/openpic.c, shared/openpic/openpic.h:
	added routines to set timer period and interupt mask
	and to read current count.
2007-12-07 09:10:55 +00:00
Ralf Corsepius
8272b10998 Remove unused functions. 2007-12-07 02:58:44 +00:00
Ralf Corsepius
edb55fd7d9 2007-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* address.h, address.inl, chain.c, chain.h, system.h:
	Eliminate unsigned8, unsigned16, unsigned32.
	Use size_t, ptrdiff_t, intptr_t for 64bit compliance.
2007-12-07 02:43:06 +00:00
Ralf Corsepius
4616790a31 Eliminate unsigned8, unsigned16, unsigned32. Use size_t, ptrdiff_t, intptr_t for 64bit compliance. 2007-12-07 02:42:58 +00:00
Till Straumann
545ae5ba03 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* virtex/irq/irq_init.c: use new ASM_xxx_VECTOR names.
2007-12-07 01:15:50 +00:00
Joel Sherrill
e7344db98f 2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/old-exceptions/cpu.h: Remove extra ifndef.
2007-12-06 23:23:05 +00:00
Joel Sherrill
1ee415b3ee 2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* irq/irq_init.c: Add missing vectDesc variable.
2007-12-06 22:04:27 +00:00
Joel Sherrill
68fc9e820f 2007-12-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/mpc5200.h: Expand tabs.
2007-12-06 22:00:34 +00:00
Till Straumann
f6a6970668 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* shared/vectors/vectors_init.c: replaced
	switch ( current_ppc_cpu ) { } check by feature check.
2007-12-06 21:10:25 +00:00
Till Straumann
76a5a3ccaf 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* shared/include/cpuIdent.h, shared/include/cpuIdent.c:
	added feature check for 603 'TLBMISS exception GPRS shadowing'.
2007-12-06 21:03:46 +00:00
Till Straumann
6456706db3 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S, shared/vectors/vectors.S:
	Replaced use of hardcoded PPC_EXC_MSR_BITS by a
	run-time method to determine these bits (use settings
	effective before exception occurred).
	Replaced use of hardcoded ASM_VECTORS_CRITICAL by
	'bsp_raw_vector_is_405_critical' variable.
2007-12-06 19:45:27 +00:00