summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-07-012002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+8
* rtems/score/cpu.h: Fixed comments and renamed CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK to CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK to be consistent with other code.
2002-07-012002-07-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius34-34/+68
* configure.ac: Remove RTEMS_PROJECT_ROOT.
2002-06-272002-06-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-6/+66
* Makefile.am, cpu.c, cpu_asm.S, rtems.S: Modified to make this all compile again. It has been a while since we have had a semi-working hppa1.1-rtems cross compiler. :)
2002-06-272002-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius32-0/+80
* configure.ac: Add RTEMS_PROG_CCAS
2002-06-272002-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius34-17/+119
* configure.ac: Use AC_CONFIG_AUX_DIR(../../../..). Add AC_PROG_RANLIB.
2002-06-262002-06-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-1/+5
* configure.ac: Remove references to RTEMS_BSP.
2002-06-172002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-2/+2
* Include $(top_srcdir)/automake/*.am.
2002-06-172002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius34-85/+175
* Makefile.am: Include $(top_srcdir)/../../../automake/*.am. Use ../../../aclocal.
2002-05-282002-05-28 Chris Johns <ccj@acm.org>Joel Sherrill2-1/+6
* rtems/score/m68k.h: Per PR227, mc68060 does not require FPSP since it is now multilib'ed.
2002-05-142002-05-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-46/+4
* rtems/score/ppc.h: Remove PPC_DEBUG_MODEL.
2002-05-142001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill1-1/+8
* rtems/new-exceptions/cpu.h: 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_.
2002-05-142001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill3-0/+14
* rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add support for the MPC74000 (AKA G4); there is no AltiVec support yet, however.
2002-05-012002-04-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-42/+19
* rtems/score/ppc.h: Remove rtems_multilib. Add mpc555 (Based on comments from Sergei Organov <osv@javad.ru>). * rtems/old-exceptions/cpu.h: Remove _CPU_Data_Cache_Block_Flush. Remove _CPU_Data_Cache_Block_Invalidate.
2002-04-192002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-6/+10
* asm.h: Use cpuopts.h instead of targopts.h.
2002-04-192002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-4/+4
* rtems/score/hppa.h: Remove rtems/score/targopts.h.
2002-04-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill7-17/+382
* asm.h: Include cpuopts.h instead of targopts.h. * rtems/new-exceptions/cpu.h: Relocated from libbsp/powerpc/support/new_exception_processing/rtems/score/cpu.h * rtems/old-exceptions/cpu.h: Relocated from c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/cpu.h * rtems/powerpc/registers.h: Relocated and renamed from libcpu/powerpc/shared/include/cpu.h. * rtems/score/cpu.h: New. * Makefile.am: Reflect changes above.
2002-04-182002-04-18 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2-6/+14
* rtems/score/cpu.h (CPU_ISR_Disable and CPU_ISR_Enable): Correct them where they correctly inform the compiler about the register they are modifying.
2002-04-122002-03-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill7-4/+346
* rtems/score/idtr.h: New file, extracted from libcpu/cpu.h. * rtems/score/interrupts.h: New file, extracted from libcpu/cpu.h. * rtems/score/registers.h: New file, moved from libcpu. * Makefile.am: Reflect changes above. * cpu.c: Don't include cpuModel.h, #include <rtems.h>, #include <rtems/score/i386types.h>, #include <rtems/score/idtr.h>. * rtems/score/cpu.h: Don't include libcpu/cpu.h. #include <rtems/score/interrupts.h>, #include <rtems/score/registers.h>.
2002-04-082002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-5/+9
* rtems.c: Adaptation to gcc-3.0.x.
2002-04-032002-04-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-24/+6
* cpu.c: Remove call to sparc_init_tbr/NO_TABLE_MOVE. * rtems/score/cpu.h: Remove NO_TABLE_MOVE conditional code.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-60/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * include/rtems/score/ispsh7750.h, score/ispsh7750.c: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+2
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-73/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/unixtypes.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-58/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/sparctypes.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-68/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/shtypes.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-75/+10
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/ppctypes.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-58/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/or32types.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-58/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/or16types.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-58/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/no_cputypes.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill8-133/+18
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/mipstypes.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+7
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/m68ktypes.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-59/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/i960types.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-59/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/i386types.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-48/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/hppa1.1types.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-58/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/h8300types.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-58/+9
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/c4xtypes.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill8-115/+18
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/a29ktypes.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-03-292002-03-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-32/+10
* cpu.c: Replace NO_TABLE_MOVE-support by external function (code moved to libcpu/sparc/tbr/tbr.c). * cpu.h: Replace NO_TABLE_MOVE-support by external function (code moved to libcpu/sparc/tbr/tbr.h). * sparc.h: Add sparc_init_tbr (implemented in libcpu/sparc/tbr/tbr.c).
2002-03-282001-03-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+7
* cpu.c: Define fix_syscall_errno() to nothing so MP links.
2002-03-282002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill51-51/+153
* configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-282002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+0
* cpu/Makefile.am: Remove AUTOMAKE_OPTIONS. * src/Makefile.am: Remove AUTOMAKE_OPTIONS. * Makefile.am: Remove AUTOMAKE_OPTIONS. * include/Makefile.am: Remove AUTOMAKE_OPTIONS. * inline/Makefile.am: Remove AUTOMAKE_OPTIONS. * macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-202002-03-20 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2-0/+11
* cpu_asm.S: Now compiles on 4600 and 4650.
2002-03-152002-03-13 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill3-24/+42
* 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.
2002-03-152002-03-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* rtems/score/m68k.h: m68k_swap_u32 fix typo.
2002-03-082002-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill6-49/+268
* 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.
2002-03-062002-03-06 Victor V. Vengerov <vvv@oktet.ru>Joel Sherrill2-0/+39
* rtems/score/m68k.h [M68K_COLDFIRE_ARCH] (CPU_swap_u16, CPU_swap_u32): Generic implementation of endian swap primitives added for Coldfire family.
2002-03-012002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill6-124/+281
* 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.
2002-02-272001-02-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* rtems/score/cpu.h: Fix conditional to match current GCC.
2002-02-132002-02-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-8/+4
* configure.ac: Fix the test to determine cpu context size.
2002-02-082002-02-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-153/+163
* iregdef.h, rtems/score/cpu.h: Reordered register in the exception stack frame to better match gdb's expectations.