| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit covers at least PR2020, 2022, and 2023. This
patch adds all of the code for both BSPs, modifications
to libcpu/powerpc for the ppc440, and some updates to the
BSPs from follow up review and testing.
These BSPs should be good baselines for future development.
The configurations used by Ric are custom and have a non-standard
NIC. They also do not have a UART. Thus the current console
driver just prints to a RAM buffer.
The NIC and UART support are left for future work. When the UART
support is added, moving the existing "to RAM" console driver to
a shared location is likely desirable because boards with no debug
UART port are commonly deployed. This would let printk() go to RAM.
|
|
|
|
|
| |
Rework of the start sequence to reduce the amount assembler code and to
support configuration tables which may be provided by the application.
|
|
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_async_normal.S: Bugfix for
MPC5674F. Use it for all to be safe.
* mpc55xx/include/emios.h: Fixed eMIOS module count.
* mpc55xx/include/irq.h: Fixed CAN vector numbers.
BSP_INTERRUPT_HANDLER_TABLE_SIZE is now a BSP option.
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_prologue.c
(ppc_exc_create_branch_op): Comment out unused var "BRANCH_OP_LINK".
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_categories.c,
shared/include/cpuIdent.c, shared/include/cpuIdent.h: Support e200z7.
|
|
|
|
|
|
|
| |
* mpc6xx/clock/c_clock.c, mpc6xx/mmu/mmuAsm.S,
new-exceptions/bspsupport/ppc_exc_global_handler.c,
shared/include/cpuIdent.c, shared/src/stack.c: Update due to API
changes.
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1799/bsps
* new-exceptions/bspsupport/ppc_exc_async_normal.S: New file.
* new-exceptions/cpu.c, new-exceptions/cpu_asm.S,
new-exceptions/bspsupport/ppc_exc_asm_macros.h,
new-exceptions/bspsupport/ppc_exc_global_handler.c,
new-exceptions/bspsupport/ppc_exc_prologue.c,
new-exceptions/bspsupport/vectors.h: Added support for SPE.
* configure.ac, preinstall.am, Makefile.am: Added support for qoriq
BSPs.
|
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_alignment.c: New file.
* Makefile.am: Reflect change above.
* new-exceptions/bspsupport/vectors.h: Declare
ppc_exc_alignment_handler().
|
|
|
|
|
| |
* new-exceptions/cpu_asm.S: Use BSP_DATA_CACHE_ENABLED instead of
PPC_USE_DATA_CACHE.
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/vectors.h: Added defines PPC_EXC_GPR_TYPE,
PPC_EXC_GPR_SIZE, PPC_EXC_GPR_OFFSET, PPC_EXC_MINIMAL_FRAME_SIZE, and
PPC_EXC_FRAME_SIZE. Changed layout of BSP_Exception_frame.
|
|
|
|
| |
* new-exceptions/bspsupport/vectors.h: Add extern "C" {}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e500/mmu/mmu.c, mpc505/ictrl/ictrl.c, mpc505/timer/timer.c,
mpc5xx/ictrl/ictrl.c, mpc5xx/timer/timer.c,
mpc6xx/altivec/vec_sup.c, mpc6xx/clock/c_clock.c,
mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/pte121.c,
mpc8260/timer/timer.c, mpc8xx/timer/timer.c, new-exceptions/cpu.c,
new-exceptions/bspsupport/ppc_exc_initialize.c,
ppc403/clock/clock.c, ppc403/console/console.c,
ppc403/console/console.c.polled, ppc403/console/console405.c,
ppc403/irq/ictrl.c, ppc403/tty_drv/tty_drv.c,
rtems/powerpc/cache.h, shared/include/powerpc-utility.h, shared/src/cache.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc.S,
new-exceptions/bspsupport/ppc_exc_asm_macros.h,
new-exceptions/bspsupport/ppc_exc_naked.S,
new-exceptions/bspsupport/ppc_exc_prologue.c: Branch targets are now
global for all minimal prologues. Generate branch instruction in
minimal prologues.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc5xx/exceptions/raw_exception.c, mpc5xx/exceptions/raw_exception.h,
mpc5xx/include/console.h, mpc5xx/include/mpc5xx.h, mpc5xx/irq/irq.c,
mpc5xx/irq/irq.h, mpc5xx/irq/irq_asm.S, mpc5xx/vectors/vectors.h,
mpc5xx/vectors/vectors_init.c, mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h,
mpc6xx/mmu/mmuAsm.S, new-exceptions/bspsupport/irq.c,
new-exceptions/bspsupport/irq_supp.h,
new-exceptions/bspsupport/nested_irq_test.c,
new-exceptions/bspsupport/ppc_exc_address.c,
new-exceptions/bspsupport/ppc_exc_categories.c,
new-exceptions/bspsupport/ppc_exc_global_handler.c,
new-exceptions/bspsupport/ppc_exc_hdl.c,
new-exceptions/bspsupport/ppc_exc_initialize.c,
new-exceptions/bspsupport/ppc_exc_prologue.c,
new-exceptions/bspsupport/ppc_exc_test.c,
new-exceptions/bspsupport/vectors.h, shared/include/byteorder.h,
shared/include/cpuIdent.c, shared/include/cpuIdent.h,
shared/include/io.h, shared/include/mmu.h, shared/include/page.h,
shared/include/pgtable.h, shared/include/spr.h: Fix typo where
license said found in found in.
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_categories.c: Fixed e500
categories.
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_categories.c: Fixed e200 machine
check category.
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_address.c,
new-exceptions/bspsupport/ppc_exc_initialize.c: Fixed IVOR handling for
e200z0 and e200z1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shared/include/cpuIdent.c, shared/include/cpuIdent.h: Added support
for e500v2. Removed IVPR/IVOR/HWIVOR features since they are included
in Book E.
* new-exceptions/bspsupport/vectors.h,
new-exceptions/bspsupport/ppc_exc.S,
new-exceptions/bspsupport/ppc_exc_address.c,
new-exceptions/bspsupport/ppc_exc_categories.c,
new-exceptions/bspsupport/ppc_exc_initialize.c,
new-exceptions/bspsupport/ppc_exc_prologue.c: Added support for
e500v2. Added exception vector defines for Book E types. Removed
e200 exception vector defines. Added e500 exception vector defines.
Unified IVOR calculation for e200 and e500 (e200z1 has hard wired
IVOR values).
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc.S: Comment.
* new-exceptions/bspsupport/ppc_exc_address.c: Fixed address
calculation for e200z1 core.
|
|
|
|
|
|
|
| |
PR 1599/cpukit
* new-exceptions/bspsupport/ppc_exc_hdl.c: Rename
_Context_Switch_necessary to _Thread_Dispatch_necessary to more
properly reflect the intent.
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: Added include of
bspopts to resolve compilation problem.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1573/cpukit
* mpc5xx/irq/irq.c, mpc5xx/irq/irq_asm.S,
new-exceptions/bspsupport/ppc_exc.S,
new-exceptions/bspsupport/ppc_exc_asm_macros.h,
new-exceptions/bspsupport/ppc_exc_hdl.c: Add a per cpu data structure
which contains the information required by RTEMS for each CPU core.
This encapsulates information such as thread executing, heir, idle
and dispatch needed.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* new-exceptions/cpu.c, new-exceptions/cpu_asm.S,
new-exceptions/bspsupport/ppc_exc_asm_macros.h,
new-exceptions/bspsupport/ppc_exc_initialize.c,
new-exceptions/bspsupport/vectors.h:
Added AltiVec support (save/restore volatile vregs
across exceptions).
|
| |
|
|
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_categories.c:
PSIM *must*not* hook SYS vector which is used e.g.,
for firmware I/O.
Added entries for AltiVec on PSIM.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* new-exceptions/bspsupport/vectors_init.c: Remove duplicate
defines DEAR_BOOKE, DEAR_405.
|
|
|
|
|
|
|
|
| |
* mpc6xx/mmu/bat.c, new-exceptions/e500_raw_exc_init.c,
new-exceptions/raw_exception.h, new-exceptions/bspsupport/irq_supp.h,
shared/include/cpuIdent.c: Removed warnings. Split
bsp_irq_dispatch_list to allow non-standard/non-existant pics to call
with interrupts off.
|
|
|
|
| |
* new-exceptions/cpu.c: Correct prototype of _CPU_Initialize.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* new-exceptions/raw_exception,h,
new-exceptions/raw_exception.c: Added more vectors for PPC405:
watchdog, fpu-unavail, apu-unavail, itlbmiss, dtlbmiss, debug.
|
|
|
|
|
| |
fixed some minors in mpc83xx support
added file for mpc55xx watchdog support
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
| |
* new-exceptions/cpu.c: propagate R2 to all task contexts
even if the ABI is SVR4. Cannot hurt...
|
|
|
|
|
| |
* new-exceptions/cpu.c: use ppc_interrupt_get_disable_mask()
to determine which bits to set/clear from _CPU_Context_Initialize().
|
|
|
|
|
|
|
|
|
| |
* 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.)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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'.
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc.S: must disable
interrupts prior to restoring SRRs (thanks to Sebastian Huber)
|
|
|
|
| |
* new-exceptions/bspsupport/README: added more information
|
|
|
|
|
|
| |
* new-exceptions/bspsupport/ppc_exc_bspsupp.h: added
comment about the semantics of the return value of
ppc_exc_handler_t.
|