| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* cpu_asm.S: Fixed a sneaky return from int w/ ints disabled bug.
* rtems/score/cpu.h: Fixed register numbering in comments and made
interrupt enable/disable more robust.
|
|
|
|
| |
* rtems/score/m68k.h: m68k_swap_u32 fix typo.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpu_asm.S: Added support for the debug exception vector, cleaned
up the exception processing & exception return stuff. Re-added
EPC in the task context structure so the gdb stub will know where
a thread is executing. Should've left it there in the first place...
* idtcpu.h: Added support for the debug exception vector.
* cpu.c: Added ___exceptionTaskStack to hold a pointer to the
stack frame in an interrupt so context switch code can get the
userspace EPC when scheduling.
* rtems/score/cpu.h: Re-added EPC to the task context.
|
|
|
|
|
|
| |
* rtems/score/m68k.h [M68K_COLDFIRE_ARCH] (CPU_swap_u16, CPU_swap_u32):
Generic implementation of endian swap primitives added for Coldfire
family.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpu_asm.S: Fixed exception return address, modified FP context
switch so FPU is properly enabled and also doesn't screw up the
exception FP handling.
* idtcpu.h: Added C0_TAR, the MIPS target address register used for
returning from exceptions.
* iregdef.h: Added R_TAR to the stack frame so the target address
can be saved on a per-exception basis. The new entry is past the
end of the frame gdb cares about, so doesn't affect gdb or cpu.h
stuff.
* rtems/score/cpu.h: added an #ifdef so cpu_asm.S can include it
to obtain FPU defines without systax errors generated by the C
defintions.
* cpu.c: Improved interrupt level saves & restores.
|
|
|
|
| |
* rtems/score/cpu.h: Fix conditional to match current GCC.
|
|
|
|
| |
* configure.ac: Fix the test to determine cpu context size.
|
|
|
|
|
| |
* iregdef.h, rtems/score/cpu.h: Reordered register in the
exception stack frame to better match gdb's expectations.
|
|
|
|
|
|
|
|
|
| |
* cpu_asm.S: Enhanced to save/restore more registers on
exceptions.
* rtems/score/cpu.h (CPU_Interrupt_frame): Enhanced to list every
register individually and document when it is saved.
* idtcpu.h: Added constants for the coprocessor 1 registers
revision and status.
|
|
|
|
| |
* .cvsignore: Added stamp-h.in.
|
|
|
|
| |
* rtems/Makefile.am, rtems/score/Makefile.am: Removed again.
|
|
|
|
|
| |
* rtems/score/cpu.h: IDLE task should not be FP. This was a mistake
in the previous patch that has now been confirmed.
|
|
|
|
|
| |
* configure.ac: Removed references to rtems/Makefile and
rtems/score/Makefile.
|
|
|
|
|
|
|
|
|
| |
* cpu.c: Enhancements and fixes for modifying the SR when changing
the interrupt level.
* cpu_asm.S: Fixed handling of FP enable bit so it is properly
managed on a per-task basis, improved handling of interrupt levels,
and made deferred FP contexts work on the MIPS.
* rtems/score/cpu.h: Modified to support above changes.
|
|
|
|
| |
* Makefile.am: Reflect 2002-01-23 changes.
|
|
|
|
| |
* Makefile.am: Reflect 2002-01-23 changes.
|
|
|
|
|
|
|
| |
* rtems/Makefile.am: Removed.
* rtems/score/Makefile.am: Removed.
* configure.ac: Reflect changes above.
* Makefile.am: Reflect changes above.
|
|
|
|
| |
* Makefile.am: Corrected so .h files from rtems/score/ are installed.
|
|
|
|
| |
* Makefile.am: Corrected so .h files from rtems/score/ are installed.
|
|
|
|
|
|
|
| |
* rtems/Makefile.am: Removed.
* rtems/score/Makefile.am: Removed.
* configure.ac: Reflect changes above.
* Makefile.am: Reflect changes above.
|
|
|
|
|
|
|
| |
* rtems/Makefile.am: Removed.
* rtems/score/Makefile.am: Removed.
* configure.ac: Reflect changes above.
* Makefile.am: Reflect changes above.
|
|
|
|
|
|
|
| |
* rtems/Makefile.am: Removed.
* rtems/score/Makefile.am: Removed.
* configure.ac: Reflect changes above.
* Makefile.am: Reflect changes above.
|
|
|
|
| |
* Makefile.am: Reflect changes from 2002-01-23.
|
|
|
|
| |
* include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL.
|
|
|
|
|
|
|
| |
* rtems/Makefile.am: Removed.
* rtems/score/Makefile.am: Removed.
* configure.ac: Reflect changes above.
AC_CONFIG_SRCDIR(asm.h).
|
|
|
|
|
|
| |
* rtems/Makefile.am: Removed.
* rtems/score/Makefile.am: Removed.
* configure.ac: Reflect changes above.
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Merge in rtems/Makefile.am and
rtems/score/Makefile.am. Remove gensize. Require automake-1.5.
* rtems/Makefile.am: Removed.
* rtems/score/Makefile.am: Removed.
* rtems/score/.cvsignore: Add unixsize.h*. Add stamp-h*.
* configure.ac: Add AM_CONFIG_HEADER(rtems/score/unixsize.h).
* rtems/score/cpu.h: Replace CPU_CONTEXT_SIZE_IN_BYTES with
SIZEOF_CPU_CONTEXT.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rtems/Makefile.am: New.
* rtems/.cvsignore: New.
* rtems/score/Makefile.am: New.
* rtems/score/.cvsignore: New.
* rtems/score/ppc.h: Relocated from shared/.
* rtems/score/ppctypes.h: Relocated from shared/.
* asm.h: Relocated from shared/.
* shared/Makefile.am: Removed.
* shared/asm.h: Removed.
* shared/ppc.h: Removed.
* shared/ppctypes.h: Removed.
* shared/.cvsignore: Removed.
* Makefile.am: Reflect changes above.
* configure.ac: Reflect changes above.
|
|
|
|
|
| |
* include/rtems/system.h: Fix typo in yesterday's change:
RTEMS_MULTILIBS.
|
|
|
|
|
|
|
| |
* include/rtems/system.h: Only include cpuopts.h when building a
multilib configuration. Some ports still need targopts.h but this
small modification lets those ports work non-multilib while
fixing being fixed for multilib.
|
|
|
|
|
| |
* asm.h: Remove #include <rtems/score/targopts.h>.
Add #include <rtems/score/cpuopts.h>.
|
|
|
|
|
|
| |
* asm.h: Remove #include <rtems/score/targopts.h>.
Add #include <rtems/score/cpuopts.h>.
* configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP).
|
|
|
|
| |
* rtems/score/cpu.h: #include <rtems/bspIo.h>.
|
|
|
|
| |
* configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP.
|
|
|
|
| |
* cpu.c: Include rtems/bspIo.h instead of bspIo.h.
|
|
|
|
|
|
| |
* include/rtems/seterr.h: Add do {..} while (0) in defines.
Rename set_errno_and_return_minus_one into
rtems_set_errno_and_return_minus_one.
|
|
|
|
| |
* configure.ac: Use RTEMS_ENV_RTEMSCPU.
|
|
|
|
|
|
| |
* inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
add casts to Objects_Id in _Objects_Build_ids to avoid implicit
typecasts from enum to int16 on bit16 targets (here: h8300).
|
|
|
|
| |
* src/Makefile.am: Add multilib support.
|
|
|
|
| |
* Makefile.am: Add multilib support.
|
|
|
|
|
| |
* asm.h: include cpuopts.h instead of targopts.h
* rtems/score/arm.h: Use __arm__.
|
|
|
|
|
|
|
|
|
| |
This was tracked as PR91.
* include/rtems/score/isr.h, inline/rtems/score/isr.inl,
macros/rtems/score/isr.inl: Modified to allow any port to provide
its own implementation of the macro _ISR_Is_in_progress. If the
port overrides this macro, it must provide a non-inlined function
implementation.
|
|
|
|
|
|
|
| |
This was tracked as PR91.
* rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which
is used to specify if the port uses the standard macro for this (FALSE).
A TRUE setting indicates the port provides its own implementation.
|
|
|
|
|
|
|
|
|
|
| |
This was tracked as PR91.
* rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which
is used to specify if the port uses the standard macro for this (FALSE).
A TRUE setting indicates the port provides its own implementation.
* rtems/score/c_isr.inl: Deleted and contents merged into cpu.c.
* cpu.c: Received contents of c_isr.inl.
* Makefile.am: Deleted reference to c_isr.inl.
|
|
|
|
|
|
|
|
|
|
|
| |
* support/new_exception_processing/configure.ac,
support/new_exception_processing/rtems/score/c_isr.inl,
support/new_exception_processing/rtems/score/cpu.h,
support/old_exception_processing/configure.ac,
support/old_exception_processing/rtems/score/c_isr.inl,
support/old_exception_processing/rtems/score/cpu.h,
support/old_exception_processing/rtems/score/ppc_offs.h: New files
missed in previous commit.
|
|
|
|
|
|
|
|
| |
* src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
invoke the global constructors via __main. Reported as tested by
Alexandra Kossovsky <sasha@oktet.ru> and Victor V. Vengerov
<vvv@oktet.ru> in conjunction with a new set of tool RPMs
(gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84.
|
|
|
|
|
| |
* shared/ppc.h: The mpc8260 uses the new exception processing model
and thus does not need to define PPC_USE_SPRG.
|
|
|
|
| |
* shared/ppc.h: mpc8260 has double FPU not single FPU.
|
|
|
|
|
|
|
|
|
| |
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.
* shared/asm.h, shared/ppc.h: Added PPC405 support.
|
|
|
|
|
|
|
|
|
| |
Reported by Todor.Todorov@barco.com and tracked as PR36.
* include/rtems/score/object.h: Added prototype for
_Objects_Get_by_index().
* src/objectget.c, src/objectgetisr.c: Corrected procedure for
getting index from Id so it is correct and optimal for both single
and multiprocessor configurations.
|