summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-043-2/+7
| | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-043-22/+9
| | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-044-15/+17
| | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-044-19/+7
| | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-042-8/+6
| | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-047-40/+60
| | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-043-10/+10
| | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-043-8/+7
| | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-045-17/+15
| | | | | | | * 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 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-042-1/+5
| | | | * rtems.adb: Add missing semicolon.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-043-2/+9
| | | | | | * Makefile.am: Add bsppredriverhook.c. * irq/irq.h: Attempt to correct definition of BSP_CPM_IRQ_LOWEST_OFFSET.
* added missing mpc83xx/spi driverThomas Doerfler2007-12-043-0/+843
|
* added missing fileThomas Doerfler2007-12-042-0/+278
|
* 2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-042-2/+6
| | | | * clock/clock.c: Fix typo.
* 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-032-218/+219
| | | | * shared/irq/irq.c: Spacing.
* 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-033-17/+25
| | | | * Makefile.am, irq/no_pic.c: Spacing.
* 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-032-495/+370
| | | | * irq/irq.c: Spacing.
* 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-032-0/+20
| | | | * bsppredriverhook.c: New file.
* 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-032-1/+12
| | | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-032-8/+9
| | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-03117-216/+475
| | | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-033-6/+18
| | | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-0320-66/+95
| | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-033-21/+10
| | | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-032-2/+9
| | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-0312-64/+122
| | | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-032-0/+13
| | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-033-6/+10
| | | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-032-9/+9
| | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-033-20/+19
| | | | | | | | | | * 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 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-034-8/+36
| | | | | | | | | * 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 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-032-9/+17
| | | | * shared/include/cpuIdent.h: Correct conditionals and includes.
* 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-033-22/+46
| | | | | * shared/irq/irq.c, shared/irq/irq_supp.h: Correct conditionals and includes.
* 2007-12-03 Chris Johns <chrisj@rtems.org>Chris Johns2007-12-033-0/+50
| | | | | | | * 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-02 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-023-14/+18
| | | | | | * vmeUniverse/vmeUniverse.c, vmeUniverse/vmeTsi148.c: silenced compiler warnings caused by type changes in byteorder.h (volatile unsigned * -> volatile uint32_t *)
* 2007-12-02 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-025-33/+60
| | | | | | | | | * 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 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-022-8/+16
| | | | | * irq/no_pic.c: use new inline routine exported by shared/irq/irq_supp.h for scanning the handler list.
* 2007-12-02 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-022-3/+4
| | | | * irq/irq_init.c: removed irrelevant comment.
* 2007-12-02 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-022-1/+13
| | | | | | | * irq/irq_init.c: added new args to openpic_init(). This BSP probably needs them (8245 has an EPIC). I would be surprised if the PCI interrupts with the old code actually worked...
* 2007-12-02 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-024-48/+84
| | | | | | | | | * shared/openpic/openpic.c shared/openpic/openpic.h, shared/irq/irq_init.c: added more parameters to openpic_init() so that more details of the configuration can be overridden/set from the BSP. Moved setup of the EPIC-specific EOI delay from BSP code into openpic_init() using the new 'epic_freq' parameter.
* 2007-12-02 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-023-32/+82
| | | | | | | | | | | | | | * shared/openpic/openpic.c, shared/openpic/openpic.h: - eliminated conditional compilation (#ifdef mpc8240) The difference in register-layout between the EPIC and the std. openPIC is handled by an offset parameter which can be set at run-time (initialization) with a new routine 'openpic_set_src_offset()'. - allow BSP to define symbol BSP_OPEN_PIC_BIG_ENDIAN which builds the driver for big-endian register access (mpc8540). - openpic_disable_irq() now returns the old state so that it can be restored later.
* 2007-12-01 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-012-22/+43
| | | | | | | | | | | | | * shared/irq/openpic_i8259_irq.c: - conditionally define 'irq_mask_or_tbl' only if BSP_PCI_ISA_BRIDGE_IRQ is defined. - use _ISR_Get_level() / _ISR_Set_level() for re-enabling interrupts rather than messing with MSR directly; these macros: o implement compiler memory barrier o will handle multiple levels (e500 'critical' interrupts) if they are ever supported. - decrementer irqs are also shareable - added list traversal.
* 2007-12-01 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-012-0/+23
| | | | | | | | | | * shared/irq/irq_supp.h: Make sure BSP_SHARED_HANDLER_SUPPORT is set. The shared irq manager supports shared interrupts (but requires also that the PIC-driver supports them by traversing the list of shared handlers). Declare C_dispatch_irq_handler() which must be defined (like the other routines declared in this header) by the PIC-driver.
* 2007-12-01 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-012-0/+9
| | | | | * shared/clock/p_clock.c: (run-time) check for e500-cpu and install different ISR for that type of CPU.
* 2007-12-01 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-012-1/+8
| | | | | | | * shared/pci/detect_raven_bridge.c: use ifdef mvme2100 rather than ifdef mpc824x so that we don't depend on compile-time CPU flavor. Eventually, this should become a run-time check.
* 2007-12-01 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-012-2/+7
| | | | | * shared/vectors/vectors.h: Give the BSP_Exception_frame struct a name.
* 2007-12-01 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-012-0/+9
| | | | | | | * shared/vme/vmeconfig.c: Include <libcpu/bat.h> only if the BSP-specific configuration header (VMEConfig.h) defines BSP_VME_BAT_IDX so that this file can be used on CPUs w/o bats (e500).
* 2007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-0110-11/+20
| | | | * startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
* 2007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-0110-11/+21
| | | | * startup/bspstart.c: removed bsp_exceptions_in_RAM
* 2007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-014-1/+36
| | | | | | | * new-exceptions/raw_exception.c, new-exceptions/raw_exception.h, old-exception/cpu.c: define bsp_exceptions_in_RAM variable. This is probably only used by the simulator (were else can you install something to ROM ??).