| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* 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().
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
* rtems/powerpc/cache.h: New file (extracted from
old-exceptions/cpu.h)
* Makefile.am: Relect changes above.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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".
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* mpc505/ictrl/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc505/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc505/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc505/vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
* Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/exceptions/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/mmu/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/console-generic/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/cpm/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/exceptions/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/mmu/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/console-generic/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/cpm/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/exceptions/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/mmu/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/console/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/ictrl/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/tty_drv/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/src/Makefile.am: Remove AUTOMAKE_OPTIONS.
* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
|
|
|
|
|
|
|
| |
* mpc6xx/clock/c_clock.c: Include rtems/bspIo.h instead of bspIo.h.
* mpc6xx/mmu/bat.h: Include rtems/bspIo.h instead of bspIo.h.
* mpc8260/console-generic/console-generic.c: Include rtems/bspIo.h instead of bspIo.h.
* mpc8260/cpm/brg.c: Include rtems/bspIo.h instead of bspIo.h.
* mpc8xx/console-generic/console-generic.c: Include rtems/bspIo.h instead of bspIo.h.
* shared/include/cpuIdent.c: Include rtems/bspIo.h instead of bspIo.h.
|
|
|
|
|
| |
* ppc403/vectors/vectors.S: Include <bsp.h>.
* shared/include/cpu.h: Remove stray empty lines.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* new_exception_processing/Makefile.in,
new_exception_processing/.cvsignore,
new_exception_processing/Makefile.am,
new_exception_processing/c_isr.inl,
new_exception_processing/cpu.c, new_exception_processing/cpu.h,
new_exception_processing/cpu_asm.S,
old_exception_processing/Makefile.in,
old_exception_processing/.cvsignore,
old_exception_processing/Makefile.am, old_exception_processing/README,
old_exception_processing/TODO, old_exception_processing/c_isr.inl,
old_exception_processing/cpu.c, old_exception_processing/cpu.h,
old_exception_processing/cpu_asm.S, old_exception_processing/irq_stub.S,
old_exception_processing/ppc_offs.h,
old_exception_processing/ppccache.c, old_exception_processing/rtems.S:
Deleted since now under libbsp.
|
|
|
|
|
|
| |
* configure.ac: Remove old_exception_processing,
new_exception_processing.
* Makefile.am: Ditto.
|
|
|
|
|
| |
* configure.ac: Remove mpc750 from new_exception_processing,
Remove mpc604 from new_exception_processing.
|
|
|
|
| |
* configure.ac: Remove ppc603e from old_exception_processing.
|
|
|
|
| |
* configure.ac: Remove mpc8xx from new_exception_processing.
|
|
|
|
| |
* configure.ac: Remove mpc8620 from new_exception_processing.
|
|
|
|
| |
* ChangeLog: Corrected spacing.
|
|
|
|
|
|
|
| |
* new_exception_processing/cpu_asm.S: Support double or single
precision context switches. Note that doing a single precision
context save/restore on a double precision PowerPC machine does not
only result in rounding errors but also screws up the FPSCR register!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* ppc403/console/console405.c ppc403/tty_drv/.cvsignore,
ppc403/tty_drv/Makefile.am, ppc403/tty_drv/tty_drv.c,
ppc403/tty_drv/tty_drv.h: New files.
* Makefile.am, README, configure.ac, old_exception_processing/cpu.c,
old_exception_processing/cpu.h, ppc403/Makefile.am,
ppc403/clock/clock.c, ppc403/console/Makefile.am,
ppc403/console/console.c, ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h,
ppc403/timer/timer.c: Modified.
|
|
|
|
|
|
| |
* configure.ac: Delete the commented out line that said that
the mpc8260 used the old exception processing model. This line
also appears to have caused ppc603e to miss this test.
|
|
|
|
|
|
|
|
| |
* mpc8xx/timer/timer.c: Added hack for two macros that are not defined
with the new exception processing model:
rtems_cpu_configuration_get_timer_least_valid()
rtems_cpu_configuration_get_timer_average_overhead()
This is captured as PR57.
|
|
|
|
|
|
|
| |
* mpc8260/clock/.cvsignore, mpc8260/console-generic/.cvsignore,
mpc8260/cpm/.cvsignore, mpc8260/exceptions/.cvsignore,
mpc8260/include/.cvsignore, mpc8260/mmu/.cvsignore,
mpc8260/timer/.cvsignore, mpc8260/.cvsignore: New files.
|
|
|
|
|
| |
* mpc8260/exceptions/Makefile.am, mpc8260/include/Makefile.am,
mpc8xx/exceptions/Makefile.am: Updated to autoconf 2.52.
|
|
|
|
| |
* mpc8260/include/mpc8260.h: "or" is a keyword in C++.
|
|
|
|
|
|
| |
* Makefile.am, README, configure.ac, new_exception_processing/cpu.h,
shared/include/cpu.h, shared/include/cpuIdent.c, shared/src/cache.c:
Added mpc8260 support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added mpc8260 directory.
* Modified Makefile.am and configure.in to build the contents
* mpc8260/Makefile.am, mpc8260/README, mpc8260/clock/Makefile.am,
mpc8260/clock/clock.c, mpc8260/console-generic/Makefile.am,
mpc8260/console-generic/console-generic.c, mpc8260/cpm/.cvsignore,
mpc8260/cpm/Makefile.am, mpc8260/cpm/brg.c, mpc8260/cpm/cp.c,
mpc8260/cpm/dpram.c, mpc8260/exceptions/.cvsignore,
mpc8260/exceptions/Makefile.am, mpc8260/exceptions/asm_utils.S,
mpc8260/exceptions/raw_exception.c, mpc8260/exceptions/raw_exception.h,
mpc8260/include/Makefile.am, mpc8260/include/console.h,
mpc8260/include/cpm.h, mpc8260/include/mmu.h,
mpc8260/include/mpc8260.h, mpc8260/mmu/Makefile.am, mpc8260/mmu/mmu.c,
mpc8260/timer/Makefile.am, mpc8260/timer/timer.c: New files.
|
|
|
|
|
|
|
|
|
| |
* mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h, mpc8xx/clock/clock.c,
mpc8xx/timer/timer.c, new_exception_processing/cpu.c,
new_exception_processing/cpu.h, new_exception_processing/cpu_asm.S,
old_exception_processing/cpu.c, old_exception_processing/cpu.h,
old_exception_processing/cpu_asm.S, old_exception_processing/rtems.S:
Fixed typo.
|
|
|
|
|
|
| |
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
* configure.ac: New file, generated from configure.in by autoupdate.
|
|
|
|
|
|
|
| |
* old_exception_processing/cpu.h: Renamed delay() to rtems_bsp_delay().
Renamed delay_in_bus_cycles() to rtems_bsp_delay_in_bus_cycles().
* shared/include/cpu.h: Renamed delay() to rtems_bsp_delay().
Renamed delay_in_bus_cycles() to rtems_bsp_delay_in_bus_cycles().
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* new_exception_processing/Makefile.am: Use 'PREINSTALL_FILES ='.
* old_exception_processing/Makefile.am: Use 'PREINSTALL_FILES ='.
* mpc6xx/mmu/Makefile.am: Use 'PREINSTALL_FILES ='.
* mpc6xx/clock/Makefile.am: Use 'PREINSTALL_FILES ='.
* mpc6xx/exceptions/Makefile.am: Use 'PREINSTALL_FILES ='.
* mpc8xx/include/Makefile.am: Use 'PREINSTALL_FILES ='.
* mpc8xx/exceptions/Makefile.am: Use 'PREINSTALL_FILES ='.
* shared/include/Makefile.am: Use 'PREINSTALL_FILES ='.
* shared/src/Makefile.am: Use 'PREINSTALL_FILES ='.
* shared/src/Makefile.am: Use 'CLEANFILES ='.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc8xx/console-generic/console-generic.c:
The printk/printf did not work when loaded by EPPCBUG. They did
work when loaded with the BDM debugger. I suspected EPPBUG
made some nasty things like patching Communication processor
microcode... Anyway, the attached patch:
1) Enables to have printk nearly immediately after boot,
2) Make printf work automagically (I do not know why except I make a
different initialization for printk that should be overwritten by
console init later ?)
I let the default to be using EPPCBUG embedded firmware to boot and
using this printk early enabler code (LOADED_BY_EPPCBUG and
EARLY_CONSOLE) are on.
|
|
|
|
|
|
| |
* mpc6xx/timer/timer.c: Added include of bsp.h and removed
external declaration of BSP_Convert_decrementer() to
correct unresolved reference to this routine.
|
|
|
|
|
|
| |
* mpc8xx/console-generic/console-generic.c: Bug found by Yacine
<elkolli@crf.canon.fr> where the initialization or irq data structure
was incomplete in case a SMC channel was used first and later a SCC one.
|
|
|
|
|
|
|
|
| |
* mpc8xx/vectors/.cvsignore, mpc8xx/vectors/Makefile.am,
mpc8xx/vectors/README, mpc8xx/vectors/align_h.S
mpc8xx/vectors/vectors.S: These files were removed in
support of switching the mpc8xx to the use the "new exception
processing model."
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc8xx/exceptions/.cvsignore, mpc8xx/exceptions/Makefile.am,
mpc8xx/exceptions/asm_utils.S, mpc8xx/exceptions/raw_exception.c,
mpc8xx/exceptions/raw_exception.h: New files.
* configure.in, mpc6xx/mmu/bat.h, mpc8xx/Makefile.am,
mpc8xx/clock/clock.c,
mpc8xx/console-generic/console-generic.c,
mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c,
new_exception_processing/cpu.h, shared/include/byteorder.h,
wrapup/Makefile.am: This is conversion of the
mpc8xx CPU to the "new exception processing model."
|
|
|
|
|
|
|
|
|
|
| |
* mpc505/ictrl/Makefile.am, mpc6xx/clock/Makefile.am,
mpc6xx/exceptions/Makefile.am, mpc6xx/mmu/Makefile.am,
mpc8xx/include/Makefile.am, new_exception_processing/Makefile.am,
old_exception_processing/Makefile.am, pc403/ictrl/Makefile.am,
shared/include/Makefile.am, shared/src/Makefile.am:
Apply *_HEADERS instead of *H_FILES.
* shared/src/.cvsignore: Add cache.h.
|
|
|
|
|
|
|
| |
* new_exception_processing/cpu.h, old_exception_processing/cpu.c:
old_exception_processing/cpu.h, Added _CPU_Initialize_vectors().
In particular, spurious vector initialization had to be moved
on old exception processing model.
|
|
|
|
| |
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|