| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* cpu.c: Include declaration of variable i in ifdef USE_SPRG to
eliminate warning.
|
|
|
|
| |
* configure.ac: Remove duplicate mpc6xx/timer/Makefile from CONFIG_FILES.
|
|
|
|
| |
* configure.ac: Remove duplicate timer/Makefile from CONFIG_FILES.
|
|
|
|
|
| |
* mpc8260/exceptions/raw_exception.c: #include <string.h>.
#include <bspIo.h>.
|
|
|
|
|
|
|
|
| |
* configure.ac, shared/misc/Makefile.am: PR217 required that the
idle task be moved to libcpu so it could be more acutely aware of
the CPU model. This file was modified to pick up the idle task
from there.
* shared/misc/m68kidle.c: New file.
|
|
|
|
|
| |
* mpc6xx/wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
| |
* Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
|
|
|
|
|
| |
* m68040/fpsp/Makefile.am: Use .$(OBJEXT) instead of .o.
* mcf5206/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mcf5206/console/Makefile.am: Use .$(OBJEXT) instead of .o.
* mcf5206/mbus/Makefile.am: Use .$(OBJEXT) instead of .o.
* mcf5206/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/cache/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/misc/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
|
|
| |
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* milli/Makefile.am: Use .$(OBJEXT) instead of .o.
* semaphore/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
| |
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc505/ictrl/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc505/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc505/vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/mmu/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/console-generic/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/cpm/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/mmu/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/console-generic/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/cpm/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/mmu/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/console/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/ictrl/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/tty_drv/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/include/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/src/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
|
|
|
|
|
|
| |
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mongoosev/duart/Makefile.am: Use .$(OBJEXT) instead of .o.
* mongoosev/vectorisrs/Makefile.am: Use .$(OBJEXT) instead of .o.
* r46xx/vectorisrs/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/cache/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/interrupts/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* tx39/vectorisrs/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
|
| |
* i960ca/Makefile.am: Use .$(OBJEXT) instead of .o.
* i960ka/Makefile.am: Use .$(OBJEXT) instead of .o.
* i960rp/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
| |
* Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
|
|
| |
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* sci/Makefile.am: Use .$(OBJEXT) instead of .o.
* score/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
|
|
|
| |
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* delay/Makefile.am: Use .$(OBJEXT) instead of .o.
* sci/Makefile.am: Use .$(OBJEXT) instead of .o.
* score/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
|
| |
* cache/Makefile.am: Use .$(OBJEXT) instead of .o.
* reg_win/Makefile.am: Use .$(OBJEXT) instead of .o.
* syscall/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
| |
* shared/interrupts/isr_entries.S: Corrected typo in mips1
END_FRAME directive that lead to linker errors.
|
|
|
|
|
| |
* configure.ac: Be more specific about looking at CPU32 and CPU32+
CPU model names so we can turn on the best compile of memcpy.c.
|
|
|
|
|
| |
* configure.ac: Replace mcpu32 by mcpu32p conditional.
* share/misc/Makefile.am: Fix AM_CPPFLAGS bug.
|
|
|
|
|
|
|
|
|
|
| |
* Per PR260 eliminate use of make-target-options. This impacted
RTEMS allowing a distinction between the CPU32 and CPU32+ in the
SuperCore and required that the m68k optimized memcpy be moved
to libcpu.
* shared/misc/memcpy.c: Moved from score/cpu/m68k.
* configure.ac, shared/Makefile.am: Modified to reflect new directory.
* shared/misc/.cvsignore, shared/misc/Makefile.am: New file.
|
|
|
|
|
|
|
| |
* cpuModel.S: Include <rtems/score/registers.h> instead of
<libcpu/registers.h>.
* registers.h: Removed.
* Makefile.am: Remove registers.h.
|
|
|
|
| |
* mpc6xx/mmu/pte121.c: Include <string.h> for gcc-3.1.
|
|
|
|
|
|
| |
* mpc6xx/mmu/bat.c: Per PR241, fix a tiny bug introduced by the
fix for an earlier patch (PR213) which added support for setting
BAT0 to setdbat().
|
|
|
|
| |
* Makefile.am: Fix oversights in previous patch.
|
|
|
|
|
|
| |
* rtems.S: Remove.
* Makefile.am: Reflect having removed rtems.S. Use AM_CPPFLAGS
instead of INCLUDES (Latest automake standard).
|
|
|
|
|
| |
* mpc6xx/exceptions/raw_exception.c, pc6xx/mmu/pte121.c: Modified
slightly to reflect recent PowerPC re-organization and avoid warnings.
|
|
|
|
|
| |
* mpc6xx/mmu/pte121.c, mpc6xx/mmu/pte121.h: New files. Missed in
merge of PR213.
|
|
|
|
| |
* shared/include/cpuIdent.c: Account for duplicate numbers.
|
|
|
|
|
|
| |
* rtems/powerpc/debugmod.h: New file (extracted from
score/ppc.h).
* Makefile.am: Relect changes above.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpu.c: Per PR211 fix
saving/restoring floating point context. The fpsave and fprestore
routines are only used in a executing context which _is_ fp and hence
has the FPU enabled. The current behavior required the FPU always to
be on which is very dangerous if lazy context switching is used.
[Joel Note: Some ports explicitly enabled the FPU in the FP save and
restore routines to avoid this.]
The patch also makes sure (on powerpc only) that the FPU is disabled
for integer tasks. Note that this is crucial if deferred fp context
switching is used. Otherwise, fp context corruption may go undetected!
Also note that even tasks which merely push/pop FP registers to/from
the stack without modifying them still MUST be FP tasks - otherwise
(if lazy FP context switching is used), FP register corruption (of
other, FP, tasks may occur)!
Furthermore, (on PPC) by default, lazy FP context save/restore
is _disabled_.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shared/include/io.h: Per PR215 address the following issues:
- _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET
are no longer defined by libcpu (powerpc/shared/include/io.h)
but by the BSP (who is the only one to know the values)
- the affected BSP (shared/motorola) headers have been fixed
in a separate "libbsp/powerpc/shared" patch.
- the DEC 21140 driver (libchip/network/dec21140.c) has been
fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET.
and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE
is to be defined by the BSP who is using this driver.
- the DEC driver also has been fixed to use the newer
rtems_bsp_delay_in_bus_cycles() instead of the obsolete
delay_in_bus_cycles().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add
the following:
- support for the MPC74000 (AKA G4); there is no
AltiVec support yet, however.
- the cache flushing assembly code uses hardware-flush on the G4.
Also, a couple of hardcoded numerical values were replaced
by more readable symbolic constants.
- extended interrupt-disabled code section so enclose the entire
cache flush/invalidate procedure (as recommended by the book).
This is not (latency) critical as it is only used by
init code but prevents possible corruption.
- Trivial page table support as been added.
(1:1 effective-virtual-physical address mapping which is only
useful only on CPUs which feature hardware TLB replacement,
e.g. >604. This allows for write-protecting memory regions,
e.g. text/ro-data which makes catching corruptors a lot easier.
It also frees one DBAT/IBAT and gives more flexibility
for setting up address maps :-)
- setdbat() allows changing BAT0 also (since the BSP may use
a page table, BAT0 could be available...).
- asm_setdbatX() violated the SVR ABI by using
r20 as a scratch register; changed for r0
- according to the book, a context synchronizing instruction is
necessary prior to and after changing a DBAT -> isync added
|
|
|
|
|
| |
* include/i960CA.h, include/i960RP.h: Correct inline assembly
forward reference labels.
|
|
|
|
|
|
| |
* rtems/powerpc/cache.h: New file (extracted from
old-exceptions/cpu.h)
* Makefile.am: Relect changes above.
|
|
|
|
| |
* cpu.c: Include <rtems/powerpc/cache.h>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shared/include/cpu.h: Removed.
* shared/include/Makefile.am: Reflect changes above.
* shared/include/spr.h: Include rtems/powerpc/registers.h instead of
libcpu/cpu.h.
* mpc6xx/clock/c_clock.c: Reflect changes to <rtems/score/cpu.h>.
* mpc6xx/exceptions/asm_utils.S: Ditto.
* mpc6xx/exceptions/raw_exception.c: Ditto.
* mpc6xx/mmu/mmuAsm.S: Ditto.
* mpc6xx/timer/timer.c: Ditto.
* mpc8260/exceptions/asm_utils.S: Ditto.
* mpc8260/exceptions/raw_exception.c: Ditto.
* mpc8xx/exceptions/asm_utils.S: Ditto.
* mpc8xx/exceptions/raw_exception.c: Ditto.
* ppc403/vectors/vectors.S: Include <asm.h> instead of "asm.h".
|
|
|
|
|
| |
* rtems/score/cpu.h: Removed.
* Makefile.am: Reflect changes above.
|
|
|
|
| |
* shared/include/cpu.h: Added ifndef ASM.
|
|
|
|
| |
* ChangeLog: Corrected paths on past few commits.
|
|
|
|
| |
* shared/include/cpu.h: Don't include cpuIdent.h.
|
|
|
|
| |
* exceptions/raw_exception.c: Include <libcpu/cpuIdent.h>.
|
|
|
|
| |
* exceptions/raw_exception.c: Include <libcpu/cpuIdent.h>.
|
|
|
|
|
|
|
| |
* shared/include/cpuIdent.h: New.
* shared/include/cpuIdent.c: Reflect having added cpuIdent.h.
* shared/include/cpu.h: Ditto.
* shared/include/Makefile.am: Add cpuIndent.h. Fix EXTRA_DIST.
|
|
|
|
|
|
|
|
|
| |
* tbr/Makefile.am: Remove.
* tbr/.cvsignore: Remove.
* tbr/tbr.c: Remove.
* tbr/tbr.h: Remove.
* configure.ac: Remove tbr subdir.
* Makefile.am: Remove tbr subdir.
|
|
|
|
|
|
|
| |
* cache.c: Include <rtems/score/registers.h> instead of
<libcpu/registers.h>.
* cpu.h: Ditto. Remove parts moved to score/cpu/i386.
* registers.h: Add BIG-FAT warning.
|
|
|
|
| |
* console-generic/console-generic.c: Remove unused variable "res".
|
|
|
|
| |
* score/cpu_asm.c: Adapt inline asm to gcc-3.0.4.
|
|
|
|
|
|
|
|
|
| |
* Closed PR57. The hack is OK as it allows a BSP to override
or not at its discretion.
* mpc8xx/timer/timer.c: Removed #warning declaring providing a
default definition for the macros
rtems_cpu_configuration_get_timer_least_valid and
rtems_cpu_configuration_get_timer_average_overhead.
|
|
|
|
|
| |
* shared/include/byteorder.h: Use unsigned instead of __unsigned
(GCC-3.0.x compatibility).
|