Thomas Doerfler
4b23c94504
various changes to gen83xx BSP and others
2008-08-26 11:55:31 +00:00
Joel Sherrill
a78df7ba0c
Index: ChangeLog
...
===================================================================
RCS file: /usr1/CVS/rtems/c/src/lib/libcpu/powerpc/ChangeLog,v
retrieving revision 1.309
diff -u -r1.309 ChangeLog
--- ChangeLog 20 Aug 2008 17:29:18 -0000 1.309
+++ ChangeLog 22 Aug 2008 13:35:03 -0000
@@ -1,3 +1,8 @@
+2008-08-22 Sebastian Huber <sebastian.huber@embedded-brains.de >
+
+ * shared/include/powerpc-utility.h: Fixed parameter evaluation in
+ special purpose register macros.
+
2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de >
* mpc55xx/fec/fec.c: Added copyright information.
2008-08-22 13:35:08 +00:00
Joel Sherrill
1dab7883a9
2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* mpc55xx/fec/fec.c: Added copyright information.
* mpc55xx/dspi/dspi.c, mpc55xx/edma/edma.c, mpc55xx/esci/esci.c:
Fixed nexted extern declarations. Fixed integer conversion warnings.
* shared/include/cpuIdent.c: Added missing initializers.
2008-08-20 17:29:19 +00:00
Ralf Corsepius
752b895175
2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* at91rm9200/irq/bsp_irq_init.c, lpc22xx/irq/bsp_irq_init.c,
mc9328mxl/irq/bsp_irq_init.c, s3c24xx/irq/bsp_irq_init.c:
Add missing prototypes.
2008-08-20 05:52:46 +00:00
Ralf Corsepius
1233af37f7
Add missing prototypes.
2008-08-20 05:52:39 +00:00
Ralf Corsepius
cc981e11bc
Add missing prototypes.
2008-08-20 05:47:08 +00:00
Ralf Corsepius
288fbd42e3
2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* mpc8260/clock/clock.c, mpc8260/console-generic/console-generic.c:
Add missing prototypes.
2008-08-20 05:46:58 +00:00
Ralf Corsepius
5e8285916c
2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c,
ppc403/timer/timer.c, shared/src/cache.c: Add missing prototypes.
2008-08-20 04:03:08 +00:00
Ralf Corsepius
c8bcff5741
Add missing prototypes.
2008-08-20 04:02:57 +00:00
Joel Sherrill
6bdeeb3111
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* m68040/fpsp/rtems_fpsp.c: Move extern outside of braces.
2008-08-19 17:42:03 +00:00
Ralf Corsepius
1925dad2cb
Add missing prototypes.
2008-08-19 14:47:33 +00:00
Ralf Corsepius
8d7fe6221f
2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* sh7032/timer/timer.c, sh7045/timer/timer.c, sh7750/timer/timer.c:
Add missing prototypes.
2008-08-19 14:47:08 +00:00
Joel Sherrill
b679966dc9
2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* mpc6xx/mmu/pte121.c, mpc6xx/mmu/pte121.h, mpc6xx/timer/timer.c,
new-exceptions/e500_raw_exc_init.c,
new-exceptions/bspsupport/ppc_exc_bspsupp.h,
new-exceptions/bspsupport/vectors_init.c: Fix warnings.
2008-08-18 21:17:06 +00:00
Ralf Corsepius
2c77cbff30
Add missing prototypes.
2008-08-18 13:31:59 +00:00
Ralf Corsepius
146b5bea0b
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* serial/twi.c: Remove unused var.
2008-08-18 13:30:24 +00:00
Ralf Corsepius
553621b926
Remove unused var.
2008-08-18 13:30:19 +00:00
Ralf Corsepius
35a968c50b
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* clock/tod.h: Add missing prototypes.
2008-08-18 13:29:14 +00:00
Ralf Corsepius
5c5628ecfb
New.
2008-08-18 13:28:02 +00:00
Ralf Corsepius
1b502424df
Add missing prototypes.
2008-08-16 05:46:28 +00:00
Ralf Corsepius
41ba6c4ef3
2008-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cache.c, displayCpu.c, page.c: Add missing prototypes.
2008-08-16 05:44:09 +00:00
Joel Sherrill
30abd24b7e
2008-08-15 Allan Hessenflow <allanh@kallisti.com>
...
* ChangeLog, Makefile.am, README, configure.ac, preinstall.am,
cache/cache.c, cache/cache_.h, clock/clock.c, clock/rtc.c,
clock/tod.h, include/bf533.h, include/bf537.h, include/cecRegs.h,
include/coreTimerRegs.h, include/dmaRegs.h, include/ebiuRegs.h,
include/ethernetRegs.h, include/gpioRegs.h, include/memoryRegs.h,
include/mmuRegs.h, include/ppiRegs.h, include/rtcRegs.h,
include/sicRegs.h, include/spiRegs.h, include/sportRegs.h,
include/timerRegs.h, include/twiRegs.h, include/uartRegs.h,
include/wdogRegs.h, interrupt/interrupt.c, interrupt/interrupt.h,
mmu/mmu.c, mmu/mmu.h, network/ethernet.c, network/ethernet.h,
serial/spi.c, serial/spi.h, serial/sport.c, serial/sport.h,
serial/twi.c, serial/twi.h, serial/uart.c, serial/uart.h,
timer/timer.c: New files.
2008-08-15 20:18:41 +00:00
Joel Sherrill
90c9d2b45f
2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* shared/misc/m68kidle.c: Correct prototype of Idle threads.
2008-07-31 15:00:11 +00:00
Ralf Corsepius
73c0717887
2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* Makefile.am: Remove doxygen comments.
2008-07-27 07:10:46 +00:00
Ralf Corsepius
079c3edba8
Remove doxygen comments.
2008-07-27 07:10:37 +00:00
Till Straumann
b7d1f290d7
2008-07-22 Till Straumann <strauman@slac.stanford.edu>
...
* ppc403/clock/clock.c: Added (conditionally compiled)
code so that a BSP can choose to hook the timer exception
directly rather than going through the interrupt dispatcher.
2008-07-23 06:50:00 +00:00
Till Straumann
13512ec229
2008-07-21 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/raw_exception,h,
new-exceptions/raw_exception.c: Added more vectors for PPC405:
watchdog, fpu-unavail, apu-unavail, itlbmiss, dtlbmiss, debug.
2008-07-21 20:38:06 +00:00
Thomas Doerfler
d3c321367c
Changed special purpose register inline functions to macros.
...
fixed some minors in mpc83xx support
added file for mpc55xx watchdog support
2008-07-18 15:56:48 +00:00
Joel Sherrill
eb98e4c627
typos.
2008-07-18 14:03:47 +00:00
Thomas Doerfler
59be902499
mpc8249eamds support for Gigabit Ethernet works again
...
initialize PHY registers late enough, so that phy access is possible
2008-07-18 11:24:39 +00:00
Thomas Doerfler
677cf05fe1
bugfixes for mpc8349eamds BSP
2008-07-17 14:39:17 +00:00
Thomas Doerfler
ecb869f738
Fixed typo in access macros for device control registers (DCR)
2008-07-17 11:29:32 +00:00
Till Straumann
84a25d82ec
2008-07-16 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/bspsupport/vectors_init.c: added
features to C_exception_handler() (the default global
handler):
- try to catch recursion
- print info about context where the exception occurred
(ISR or task with task ID).
- suspend offending task rather than spinning forever.
2008-07-16 23:13:24 +00:00
Till Straumann
03542996dd
2008-07-16 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/bspsupport/vectors_init.c: must not
align start of stack downwards (we don't 'own' memory
below start). Instead, use original boundaries but
align the stack pointer as required.
Added test to verify that R13 was loaded with _SDA_BASE_
during early initialization (low-level assembly code
relies on it).
2008-07-16 23:10:55 +00:00
Till Straumann
6ce3f7b7e2
2008-07-16 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/cpu.c: propagate R2 to all task contexts
even if the ABI is SVR4. Cannot hurt...
2008-07-16 22:04:06 +00:00
Till Straumann
d60239f6c8
2008-07-16 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/cpu.c: use ppc_interrupt_get_disable_mask()
to determine which bits to set/clear from _CPU_Context_Initialize().
2008-07-16 21:57:55 +00:00
Till Straumann
5166513cf5
2008-07-16 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: Added
a test to TEST_LOCK_crit so that a context switch is
always prevented if MSR_CE is not set in the interrupt mask.
(Support mode where the user wants to leave MSR_CE always enabled
but abstains from calling OS primitives from the exception
handler.)
2008-07-16 21:44:14 +00:00
Till Straumann
7d453cf211
2008-07-16 Till Straumann <strauman@slac.stanford.edu>
...
* shared/include/powerpc-utility.h: Added
GET_INTERRUPT_MASK macro.
2008-07-16 21:38:05 +00:00
Joel Sherrill
9c325fb254
2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* mpc6xx/clock/c_clock.c: Add fast idle.
2008-07-16 20:22:20 +00:00
Thomas Doerfler
574fb67510
updated gen83xx BSP
...
updated haleakala BSP
added MPC55xx BSP
2008-07-14 16:15:28 +00:00
Thomas Doerfler
3c6fe2e7f9
added haleakala BSP contributed by Michael Hamel
2008-07-14 08:46:06 +00:00
Ralf Corsepius
fcd4a7c8fa
Cleanup.
2008-07-14 06:02:09 +00:00
Thomas Doerfler
25a92bc1ed
adapted powerpc exception code
2008-07-11 10:02:12 +00:00
Thomas Doerfler
1898d72d9c
added mcf548x BSP support
2008-07-11 09:59:48 +00:00
Till Straumann
dfe42ba59c
2008-07-10 Till Straumann <strauman@slac.stanford.edu>
...
* mpc6xx/mmu/pte121.c: use general "memory" clobber
rather than memory input operand in inline assembly
("m" doesn't do what the manual says; see discussion
on gcc mailing list around 2008/3/30)
2008-07-10 22:03:27 +00:00
Till Straumann
e1df032b95
2008-07-10 Till Straumann <strauman@slac.stanford.edu>
...
* ChangeLog, mpc8xx/clock/clock.c, ppc403/clock/clock.c,
ppc403/irq/ictrl.h, rtems/powerpc/powerpc.h:
Removed all macro definitions which depended on
the compiler defining a PPC CPU-model dependent
symbol from files in cpukit.
Macros which were not used by cpukit have been
moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
2008-07-10 21:51:55 +00:00
Till Straumann
d71e95a5aa
*** empty log message ***
2008-07-10 21:39:44 +00:00
Till Straumann
8bac4851a6
2008-07-10 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/bspsupport/ppc_exc_asm_macros.S,
new-exceptions/bspsupport/ppc_exc_bspsupp.h,
new-exceptions/bspsupport/ppc_exc_hdl.c,
new-exceptions/bspsupport/vectors_init.c:
fixed and enabled stack-switching algorithm which figures out
if we already run on the ISR stack rather than relying on the
_ISR_Nest_level.
Added 'ppc_exc_crit_always_enabled' variable which defines
the semantics of critical interrupts. Added a test to
TEST_LOCK_crit so that calling ppc_exc_wrapup() (and
possibly the dispatcher) is always skipped if the BSP/user
wants to leave critical interrupts always enabled (at the
expense of having no OS support).
changed TEST_LOCK_mchk so that asynchronous machine-check
handlers never call ppc_exc_wrapup() (and the dispatcher).
We don't want to disable MSR_ME ever (to avoid checkstops)
and hence asynchronous MEs must not use OS services anyways.
added and commented new variables 'ppc_exc_intr_stack_size'
'ppc_exc_crit_always_enabled'.
2008-07-10 21:31:06 +00:00
Till Straumann
38f5e616fc
2008-07-10 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/bspsupport/ppc_exc.S: must disable
interrupts prior to restoring SRRs (thanks to Sebastian Huber)
2008-07-10 21:29:27 +00:00
Till Straumann
055173d46a
2008-07-10 Till Straumann <strauman@slac.stanford.edu>
...
* new-exceptions/bspsupport/README: added more information
2008-07-10 21:28:38 +00:00
Thomas Doerfler
3128276784
changed names of internal macros
2008-07-10 06:43:45 +00:00