summaryrefslogtreecommitdiffstats
path: root/cpukit/score (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-04-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill8-18/+383
* 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-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-15/+5
* include/rtems/system.h: Remove targopts.h.
2002-04-172002-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+6
* include/rtems/system.h: Add the sparc to the target supporting multlibs.
2002-04-162002-04-16 Chris Johns <ccj@acm.org>Joel Sherrill2-0/+21
* src/threadinitialize.c: Per PR181, clear the array of user extension pointers. This lets user extensions that have hooked the switch handler know if a task has been processed by the user extension before. If a user extension is created after a task is started it may not know it.
2002-04-122002-04-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* include/rtems/system.h: Add i386 to multilib-able targets.
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-112001-04-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-75/+48
* macros/rtems/score/userext.inl: Now works after merging patch for functionality requested in PR174. * inline/rtems/score/userext.inl: Added a comment explaining the order in which routines appear since it is not the obvious order.
2002-04-092002-04-08 Chris Johns <ccj@acm.org>Joel Sherrill3-1/+10
* Per PR141 and PR174, make task switch extension its own list and fix all odd problems introduced by providing macro version. * inline/rtems/score/userext.inl: Fix.
2002-04-082002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+4
* rtems.c: Adaptation to gcc-3.0.x.
2002-04-082001-04-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-3/+7
* macros/rtems/score/object.inl: Corrected arguments.
2002-04-082001-04-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-19/+70
* macros/rtems/score/userext.inl: Updated to reflect modifications to inline version from PR142. * inline/rtems/score/userext.inl: Cleanup as side-effect of above.
2002-04-082002-04-08 Chris Johns <ccj@acm.org>Joel Sherrill1-0/+8
* Per PR142, make task switch extension its own list. * include/rtems/score/userext.h: Reflect above by adding User_extensions_Switch_control and adding it to User_extenions_Control. * inline/rtems/score/userext.inl: Allocate all memory in one chunk to minimize overhead. Address processing dedicated switch chain.
2002-04-082002-04-08 Chris Johns <ccj@acm.org>Joel Sherrill1-2/+22
* Per PR142, make task switch extension its own list. * include/rtems/score/userext.h: Reflect above by adding User_extensions_Switch_control and adding it to User_extenions_Control. * inline/rtems/score/userext.inl: Allocate all memory in one chunk to minimize overhead. Address processing dedicated switch chain.
2002-04-082002-04-08 Chris Johns <ccj@acm.org>Joel Sherrill2-33/+65
* Per PR142, make task switch extension its own list. * include/rtems/score/userext.h: Reflect above by adding User_extensions_Switch_control and adding it to User_extenions_Control. * inline/rtems/score/userext.inl: Allocate all memory in one chunk to minimize overhead. Address processing dedicated switch chain.
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 Sherrill4-3/+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 Sherrill3-2/+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 Sherrill3-2/+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 Sherrill3-2/+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 Sherrill4-3/+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 Sherrill3-2/+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 Sherrill3-2/+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 Sherrill3-2/+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 Sherrill6-4/+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 Sherrill3-2/+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 Sherrill3-2/+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 Sherrill3-2/+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 Sherrill3-2/+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 Sherrill3-2/+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 Sherrill6-4/+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 Sherrill7-6/+9
* 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 Sherrill7-50/+296
* 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 Sherrill8-142/+307
* 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 Sherrill4-205/+216
* iregdef.h, rtems/score/cpu.h: Reordered register in the exception stack frame to better match gdb's expectations.
2002-02-052001-02-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-16/+230
* 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.
2002-02-052001-02-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+5
* .cvsignore: Added stamp-h.in.
2002-02-052001-02-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-0/+16
* rtems/Makefile.am, rtems/score/Makefile.am: Removed again.
2002-02-042001-02-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+6
* rtems/score/cpu.h: IDLE task should not be FP. This was a mistake in the previous patch that has now been confirmed.