| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
consistently return void * and take a uintptr_t argument.
|
|
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
passing address of _Thread_Dispatch to _CPU_Initialize. Clean up
comments.
|
| |
|
|
|
|
|
| |
* rtems/score/types.h: Do not define boolean, single_precision,
double_precision unless RTEMS_DEPRECATED_TYPES is given.
|
| |
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
|
|
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting
parameter to indicate that the port uses the Simple Vectored
Interrupt model or the Programmable Interrupt Controller Model. The
PIC model is implemented primarily in the BSP and it is responsible
for all memory allocation.
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Use a constant for CPU_STACK_MINIMUM_SIZE so it
can be used in cpp expressions. Using sizeof() requires actually
compiling the file.
|
|
|
|
| |
* rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
|
|
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
Table to Configuration Table. Eliminate CPU Table from all ports.
Delete references to CPU Table in all forms.
|
|
|
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
the Configuration Table. This included pretasking_hook,
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
extra_mpci_receive_server_stack, stack_allocate_hook, and
stack_free_hook. As a side-effect of this effort some multiprocessing
code was made conditional and some style clean up occurred.
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
MIPS CPU Table and define another mechanism for drivers to obtain
this information.
|
|
|
|
|
| |
* score/cpu/mips/rtems/score/cpu.h: Use uintptr_t instead of
uint32_t.
|
|
|
|
| |
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
|
|
|
|
| |
Eliminate evil casts.
|
|
|
|
| |
* rtems/score/types.h: Remove unsigned64, signed64.
|
| |
|
|
|
|
|
| |
* rtems/score/cpu.h: Setup CPU_*_ENDIAN from GCC's__MIPS{EL|EB}__.
(Partial merger of submission by Bruce Robinson <brucer@pmccorp.com>).
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Part of a large patch to improve Doxygen output.
As a side-effect, grammar and spelling errors were corrected, spacing
errors were address, and some variable names were improved.
|
|
|
|
| |
* rtems/score/cpu.h: Eliminate use of unsigned32.
|
|
|
|
| |
* rtems/score/types.h: Eliminate unsigned16, unsigned32.
|
|
|
|
|
| |
* rtems/mips/idtcpu.h, rtems/mips/iregdef.h, rtems/score/mips.h:
Header guards cleanup.
|
| |
|
|
|
|
|
| |
* rtems/score/types.h: Remove signed8, signed16, signed32,
unsigned8, unsigned16, unsigned32.
|
|
|
|
| |
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
|
|
|
|
| |
* rtems/score/types.h: #include <rtems/stdint.h>.
|
|
|
|
| |
* rtems/score/cpu.h: Remove warnings.
|
|
|
|
|
| |
* cpu_asm.S: Collected PR 601 changes for commit to cvshead
for rtems-4.7
|
| |
|
|
|
|
|
| |
* rtems/score/types.h: Use __rtems_score_types_h as preprocessor
guard.
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Add doxygen preamble.
* rtems/score/mips.h: Add doxygen preamble.
* rtems/score/types.h: Add doxygen preamble.
|
|
|
|
| |
* rtems/score/cpu.h: i960 obsoleted and all references removed.
|
|
|
|
|
|
|
| |
PR 598/bsps
* cpu_asm.S, rtems/score/cpu.h: Add save of floating point
status/control register on context switches. Missing this register
was causing intermittent floating point errors.
|
|
|
|
|
|
|
|
| |
* Makefile.am: Install iregdefs.h and idtcpu.h to
$(includedir)/rtems/mips.
* cpu_asm.S: Include <rtems/mips/iregdef.h> instead of <iregdef.h>.
* rtems/score/mips.h, cpu_asm.S: Include <rtems/mips/idtcpu.h>
instead of <idtcpu.h>.
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h: Convert to using c99 fixed size types.
|
| |
|
|
|
|
| |
* rtems/score/mips.h: Removed junk revision line.
|
|
|
|
|
| |
* rtems/score/cpu.h: Obsoleting HP PA-RISC port and removing all
references.
|
|
|
|
|
| |
* cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/mips.h,
rtems/score/types.h: URL for license changed.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* rtems/score/cpu.h: IDLE task should not be FP. This was a mistake
in the previous patch that has now been confirmed.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
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/mips.h: Added constants for MIPS exception numbers.
All exceptions should be given low numbers and thus can be installed
and processed in a uniform manner. Variances between various MIPS
ISA levels were not accounted for.
|