Commit Graph

8489 Commits

Author SHA1 Message Date
Till Straumann
464ba4d040 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c, new-exceptions/raw_exception.h:
	Added typedef for exception classes (classic, critical, ...
	synchronous / asynchronous). ppc_vector_is_valid() now returns
	the appropriate class.
2007-12-05 09:29:03 +00:00
Till Straumann
698c33623e 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S, shared/vectors/vectors.S,
	shared/vectors/vectors.h, shared/vectors/vectors_init.c:
	Converted exception vector names to new ones
	(qualified by <cpu_type> if non-std ppc exceptions).
2007-12-05 08:45:36 +00:00
Till Straumann
b9ce916c29 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* irq/ipic.c, irq/irq_init.c:
	Converted exception vector names to new ones
	(qualified by <cpu_type> if non-std ppc exceptions).
2007-12-05 08:41:51 +00:00
Till Straumann
586c15a5f8 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c, irq_asm.S:
	Converted exception vector names to new ones
	(qualified by <cpu_type> if non-std ppc exceptions).
2007-12-05 08:41:04 +00:00
Till Straumann
0fb0eb034c 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c: made all <cpu>_vector_is_valid()
	subroutines that are called from ppc_vector_is_valid() 'static'.
2007-12-05 08:35:55 +00:00
Till Straumann
7df69c3716 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c, new-exceptions/raw_exception.h:
	Qualified all exception vector symbols that are only defined
	#ifdef <cpu_flavor> with <cpu_flavor> in the symbol name.
	If the special flavor __ppc_generic is effective the ALL
	vector symbols are available and ppc_vector_is_valid() works
	for all supported CPUs (run-time check).
	This is work towards a #ifdef <cpu_flavor> free libcpu and
	exception framework.
2007-12-05 08:33:11 +00:00
Till Straumann
1051054f84 2007-12-04 Till Straumann <strauman@slac.stanford.edu>
* export BSP_commandline_string variable.
2007-12-05 06:39:17 +00:00
Till Straumann
1be7c55f75 2007-12-04 Till Straumann <strauman@slac.stanford.edu>
* shared/flash/flash.c: added lazy init of driver
	from BSP_flashWriteFile().
2007-12-05 06:34:10 +00:00
Till Straumann
7e53d09569 2007-12-04 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c: removed unnecessary code (alredy
	done by shared/irq/irq.c).
2007-12-05 06:03:57 +00:00
Joel Sherrill
99f9b868c7 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Move interrupt_stack_size field from CPU Table to
	Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:22:58 +00:00
Joel Sherrill
c93b6ec4e0 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Move interrupt_stack_size field from CPU Table to
	Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:22:50 +00:00
Joel Sherrill
d34d8692b6 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
	from CPU Table to Configuration Table. Eliminate CPU Table from all
	ports. Delete references to CPU Table in all forms.
2007-12-04 22:22:26 +00:00
Joel Sherrill
7321ff0df2 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspstart.c: Move interrupt_stack_size field from CPU
	Table to Configuration Table. Eliminate CPU Table from all ports.
	Delete references to CPU Table in all forms.
2007-12-04 22:22:10 +00:00
Joel Sherrill
cafa2c5d05 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Move interrupt_stack_size field from CPU Table to
	Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:22:03 +00:00
Joel Sherrill
99856a3360 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, include/bsp.h: Move interrupt_stack_size field from CPU
	Table to Configuration Table. Eliminate CPU Table from all ports.
	Delete references to CPU Table in all forms.
2007-12-04 22:21:53 +00:00
Joel Sherrill
56ed8f0fa9 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Move
	interrupt_stack_size field from CPU Table to Configuration Table.
	Eliminate CPU Table from all ports. Delete references to CPU Table in
	all forms.
2007-12-04 22:21:51 +00:00
Joel Sherrill
afce764d4c 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, include/bsp.h, startup/bspstart.c: Move
	interrupt_stack_size field from CPU Table to Configuration Table.
	Eliminate CPU Table from all ports. Delete references to CPU Table in
	all forms.
2007-12-04 22:21:41 +00:00
Joel Sherrill
2692a2044c 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, include/bsp.h, startup/bspstart.c: Move
	interrupt_stack_size field from CPU Table to Configuration Table.
	Eliminate CPU Table from all ports. Delete references to CPU Table in
	all forms.
2007-12-04 22:21:28 +00:00
Joel Sherrill
077e302091 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c: Move interrupt_stack_size field from CPU Table to
	Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:20:57 +00:00
Joel Sherrill
7f3c6cee09 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* amba/amba.c, clock/ckinit.c, console/console.c, include/bsp.h,
	startup/bspstart.c, timer/timer.c: Move interrupt_stack_size field
	from CPU Table to Configuration Table. Eliminate CPU Table from all
	ports. Delete references to CPU Table in all forms.
2007-12-04 22:20:55 +00:00
Joel Sherrill
2804a3e71c 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Move interrupt_stack_size field from
	CPU Table to Configuration Table. Eliminate CPU Table from all ports.
	Delete references to CPU Table in all forms.
2007-12-04 22:20:43 +00:00
Joel Sherrill
c8e63e9797 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/cpu.c: Move interrupt_stack_size field
	from CPU Table to Configuration Table. Eliminate CPU Table from all
	ports. Delete references to CPU Table in all forms.
2007-12-04 22:19:55 +00:00
Joel Sherrill
4216c573e3 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/console-generic/console-generic.c, mpc8260/timer/timer.c,
	new-exceptions/cpu.c, old-exceptions/cpu.c: Move interrupt_stack_size
	field from CPU Table to Configuration Table. Eliminate CPU Table from
	all ports. Delete references to CPU Table in all forms.
2007-12-04 22:19:37 +00:00
Joel Sherrill
5ca28f6ae6 2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb: Add missing semicolon.
2007-12-04 22:16:17 +00:00
Joel Sherrill
e872f07bc8 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Add bsppredriverhook.c.
	* irq/irq.h: Attempt to correct definition of
	BSP_CPM_IRQ_LOWEST_OFFSET.
2007-12-04 21:03:34 +00:00
Thomas Doerfler
7edabafe3c added missing mpc83xx/spi driver 2007-12-04 20:37:06 +00:00
Thomas Doerfler
d4d603604c added missing file 2007-12-04 20:36:31 +00:00
Joel Sherrill
e034b46e4c 2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/clock.c: Fix typo.
2007-12-04 17:39:12 +00:00
Joel Sherrill
d3b840b869 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/irq/irq.c: Spacing.
2007-12-03 22:39:46 +00:00
Joel Sherrill
2ae35c2b23 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, irq/no_pic.c: Spacing.
2007-12-03 22:37:19 +00:00
Joel Sherrill
b75378abe7 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.c: Spacing.
2007-12-03 22:36:08 +00:00
Joel Sherrill
12eebb497a 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsppredriverhook.c: New file.
2007-12-03 22:27:19 +00:00
Joel Sherrill
8b5d31fa97 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/console-generic/console-generic.c: Moved most of the remaining
	CPU Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:26:53 +00:00
Joel Sherrill
611fc9f904 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Moved most of the remaining CPU Table fields to the
	Configuration Table. This included pretasking_hook, predriver_hook,
	postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:26:42 +00:00
Joel Sherrill
558bc253bc 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
	Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:26:33 +00:00
Joel Sherrill
9265969713 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c: Moved most of the remaining CPU
	Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:26:05 +00:00
Joel Sherrill
faf168fe82 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Moved most of the remaining CPU Table fields to
	the Configuration Table. This included pretasking_hook,
	predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:26:03 +00:00
Joel Sherrill
e13e90cabc 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, startup/bspstart.c: Moved most of the remaining
	CPU Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:25:10 +00:00
Joel Sherrill
fee125b364 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspstart.c: Moved most of the remaining CPU Table
	fields to the Configuration Table. This included pretasking_hook,
	predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:24:55 +00:00
Joel Sherrill
b5e7018613 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, include/bsp.h, startup/bspstart.c: Moved most of the
	remaining CPU Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:24:44 +00:00
Joel Sherrill
8e1b35fb0d 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Moved most of the remaining CPU Table fields to the
	Configuration Table. This included pretasking_hook, predriver_hook,
	postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:24:40 +00:00
Joel Sherrill
bb341ca161 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Moved most of the
	remaining CPU Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:24:38 +00:00
Joel Sherrill
7486c65fdb 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c: Moved most of the remaining CPU Table fields to
	the Configuration Table. This included pretasking_hook,
	predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:24:11 +00:00
Joel Sherrill
03bfdbb39c 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* amba/amba.c, startup/bspstart.c: Moved most of the remaining CPU
	Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:24:07 +00:00
Joel Sherrill
2f1d801fd3 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Moved most of the remaining CPU Table fields to the
	Configuration Table. This included pretasking_hook, predriver_hook,
	postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:24:05 +00:00
Joel Sherrill
bfc9b02386 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/include/cpuIdent.h: Correct conditionals and includes.
2007-12-03 15:45:20 +00:00
Joel Sherrill
1b1aca1fdb 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/irq/irq.c, shared/irq/irq_supp.h: Correct conditionals and
	includes.
2007-12-03 15:44:59 +00:00
Chris Johns
7ace3828e5 2007-12-03 Chris Johns <chrisj@rtems.org>
* console/console.c: Set the baud rate for stdin to 19200 when
	opening the console. This is the default rate for the dbug
	monitor.
	* gdb-init: New.
2007-12-03 02:16:25 +00:00
Till Straumann
d62e807de8 2007-12-02 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeUniverse.c, vmeUniverse/vmeTsi148.c:
	silenced compiler warnings caused by type changes
	in byteorder.h (volatile unsigned * -> volatile uint32_t *)
2007-12-02 23:35:56 +00:00
Till Straumann
c10dc130f9 2007-12-02 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/i8259.c, shared/irq/irq.h, shared/irq/irq_supp.h,
	shared/irq/openpic_i8259_irq.c: BSP_disable_irq_at_pic(),
	openpic_disable_irq(), BSP_irq_disable_at_i8259s() now return
	0/1 if irq was disabled/enabled prior to disabling.
	irq_supp.h now exports a inline helper routine for scanning
	a list of shared handlers; to be used by PIC drivers.
2007-12-02 21:49:07 +00:00