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
Till Straumann
eb8420f7f2
2007-12-06 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/raw_exception.c, new-exceptions/raw_exception.h:
Removed all #ifdef <cpu_flavor>. All exception vectors are now
always defined.
Changed implementation of <cpu>_vector_is_valid() from 'case'
statements to table lookup.
Replaced 'ASM_VECTORS_CRITICAL' by a variable
'bsp_raw_vector_is_405_critical' which is set at run-time.
Removed PPC_MSR_EXC_BITS. The exception handling code
(libbsp/shared/vectors/vectors.S and ../irq/irq_asm.S) now
has a run-time check for these bits.
Both files are now free of #if <cpu_flavor> constructs.
2007-12-06 19:42:47 +00:00
Ralf Corsepius
b2db28d959
2007-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* chain.c: Reflect removal of isr.h.
* isr.h: Remove.
* Makefile.am: Remove isr.h.
2007-12-06 17:50:24 +00:00
Joel Sherrill
c2b3e1718f
2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
installed. It is the initialization interface for both GoAhead and
Simple HTTPD.
2007-12-06 15:19:08 +00:00
Joel Sherrill
6eaa3f5a13
2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* shared/include/grcan_spwrtc.h: Removed.
2007-12-06 14:21:28 +00:00
Till Straumann
694c00cb4e
2007-12-05 Till Straumann <strauman@slac.stanford.edu>
...
* Makefile.am, configure.ac, preinstall.am,
new-exceptions/e500_raw_exc_init.c: Started adding
support for e500 CPU. Most stuff is borrowed from mpc6xx.
2007-12-06 00:21:07 +00:00
Till Straumann
a52ab9e1fb
2007-12-05 Till Straumann <strauman@slac.stanford.edu>
...
* rtems/powerpc/powerpc.h: added a #ifdef __ppc_generic
branch. The goal is eventually to make this the starting
point for cleanup (remove as many branches as possible;
replace by run-time tests if necessary).
2007-12-06 00:07:21 +00:00
Joel Sherrill
af99a74305
2007-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* include/bsp.h: Correct BSP specific Idle thread support.
2007-12-05 22:26:05 +00:00
Joel Sherrill
9a56628e7b
2007-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* tmoverhd/testtask.c: Spacing and remove call to obsolete
rtems_initialize_executive().
2007-12-05 22:24:53 +00:00
Joel Sherrill
9e602b0ad9
2007-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* irq/irq_init.c: Spacing.
2007-12-05 22:24:05 +00:00
Joel Sherrill
7302f4c51f
2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* new-exceptions/raw_exception.c: Conditionalize call to
e500_setup_raw_exceptions() since that is not even in the tree yet.
2007-12-05 21:50:47 +00:00
Joel Sherrill
736503e97c
2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* new-exceptions/raw_exception.c: Conditionalize some BOOKE vectors.
2007-12-05 21:29:41 +00:00
Till Straumann
bc1077489c
2007-12-05 Till Straumann <strauman@slac.stanford.edu>
...
* shared/irq/irq_supp.h: removed stray '*/'. Removed
inclusion of <stdlib.h> which is unnecessary and broke
if_dc in an obscure way (due to malloc/free redefinition
in the networking code).
2007-12-05 19:49:37 +00:00
Joel Sherrill
9166e1ddac
2007-12-05 Daniel Hellstrom <daniel@gaisler.com>
...
* shared/include/ambapp.h: Sync head and 4.8 branch.
2007-12-05 15:47:16 +00:00
Joel Sherrill
9124a69ee2
2007-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sapi/include/rtems/config.h: Correct previous commit.
2007-12-05 15:04:26 +00:00
Joel Sherrill
1fd33fb41b
2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* sapi/include/rtems/config.h: Commit temporary fix so
interrupt_stack_size is accessible before RTEMS is initialized.
2007-12-05 14:30:54 +00:00
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