summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2001-01-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-082-1/+10
| | | | | * src/rtemsInterrupt.cc: Allocated interrupt_table since since cannot be determined without CPU model information.
* 2001-01-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-089-2/+127
| | | | | | | | | * Added r46xx directory. * Makefile.am, configure.in: Modified to reflect addition of r46xx. * shared/interrupts/installisrentries.c: Fixed typo. * r46xx/.cvsignore, r46xx/Makefile.am, r46xx/vectorisrs/.cvsignore, r46xx/vectorisrs/Makefile.am, r46xx/vectorisrs/vectorisrs.c: New files.
* 2001-01-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-01-052-4/+9
| | | | | * Makefile.am: Remove subshell from *.a processing in librtemsall.a rule.
* 2001-01-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-054-2/+17
| | | | | * scitab/Makefile.am, startup/bspstart.c, configure.in: Removed rest of make-target-options and moved them to BSP configure options.
* 2001-01-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-056-5/+17
| | | | | | * include/bsp.h: Changed <sh/null.h> to <rtems/devnull.h> to reflect the movement of this component to libmisc. * wrapup/Makefile.am: /dev/null driver is no longer in libcpu/sh.
* 2001-01-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-051-0/+1
| | | | | * console/vt.c: Added include of <rtems.h> so _CPU_ISR_disable would be visible.
* 2001-01-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-0526-709/+24
| | | | | | | | | * /dev/null moved to libmisc. * Makefile.am, configure.in: Removed null directory. * include/Makefile.am: Removed null.h. * include/null.h, null/.cvsignore, null/Makefile.am, null/close.c, null/cntrl.c, null/init.c, null/open.c, null/read.c, null/write.c: Removed.
* 2001-01-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-058-2/+303
| | | | | | | | * devnull: New addition. Moved from libcpu/sh. * devnull/devnull.c, devnull/devnull.h, devnull/.cvsignore, devnull/Makefile.am: New files. * Makefile.am, configure.in, wrapup/Makefile.am: Modified to reflect addition of above.
* 2001-01-03 Emmanuel Raguet <raguet@crf.canon.fr>Joel Sherrill2001-01-032-17/+19
| | | | | | * bootloader/Makefile.am: Modified to install bootloader so make-exe rule can avoid writing to install point or assuming BSP build tree is available.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-032-1/+5
| | | | * clockdrv_shell.c: Fixed syntax error in fast idle support.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-036-535/+121
| | | | | | | | * clock/clock.c: Use shared clock driver shell. * console/console.c: Removed. Now use shared polling shell. * console/console-io.c: New file. * console/Makefile.am: Correct to use shared polling shell. * startup/bspstart.c: Remove all fast idle references.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-032-2/+4
| | | | * console/console-io.c: Removed unused variable initialized.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-031-3/+10
| | | | * console/console-io.c: Added console_initialize_hardware().
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-038-22/+99
| | | | | | | * 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.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-033-1/+28
| | | | | | * clockdrv_shell.c: Added fast idle mode which is enabled by defining CLOCK_DRIVER_USE_FAST_IDLE. * console-polled.c: Added console_initialize_hardware() hook.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-031-1/+1
| | | | * ChangeLog: Removed bad entry.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-038-5/+58
| | | | * console/console-io.c: Added console_initialize_hardware().
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-034-15/+22
| | | | | | * clock/Makefile.am: Fixed reference to ckinit.c. * clock/clockdrv.c: Enabled fast idle. * console/console-io.c: Added console_initialize_hardware().
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-033-2/+9
| | | | | * start/start.S: Added space for vectors on CPU32 configuration. * startup/bspstart.c: Fixed typo.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-037-2/+67
| | | | | | | * clock: New directory with stub clock driver. * clock/.cvsignore, clock/Makefile.am, clock/clockdrv.c: New files. * Makefile.am, configure.in, wrapup/Makefile.am: Modified to reflect above.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-0314-6/+99
| | | | * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-0312-7/+61
| | | | | | * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). * cpu_asm.S: Modify to properly dereference _ISR_Vector_table now that it is dynamically allocated.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-033-7/+20
| | | | | * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). * cpu_asm.S: Eliminated warning for duplicate definition of EXTERN.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-033-3/+13
| | | | | | | * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). * cpu_asm.S: Modify to properly dereference _ISR_Vector_table now that it is dynamically allocated.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-031-4/+0
| | | | * ChangeLog: Removed duplicate entry.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-031-0/+4
| | | | * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-036-0/+28
| | | | * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-032-0/+10
| | | | * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
* 2001-01-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-025-54/+118
| | | | | * CHANGELOG: Removed. * README: Merged CHANGELOG contents as initial changes.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-192-1/+8
| | | | | | * startup/linkcmds: Set _VBR to 0 to indicate that the vectors are in RAM not ROM. Thanks to Juan Zamorano <jzamora@fi.upm.es> for debugging this.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-192-1/+18
| | | | | | * tx39/vectorisrs/vectorisrs.c: Modified to have default exception vector handler. This should be in a separate file so the BSP can easily override it.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-192-18/+7
| | | | * timer/timer.c: Removed incorrect comments about ERC32.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-195-0/+118
| | | | | | * timer: New subdirectory. * timer/.cvsignore, timer/Makefile.am, timer/timer.c: New files. * tools/ChangeLog: New file.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-1913-20/+351
| | | | | | | | | | | | | | | * Makefile.am: Added tools subdirectory and removed commented out line. * configure.in: Added tools subdirectory. * tools: New subdirectory. * tools/.cvsignore, tools/Makefile.am, tools/configure.in, tools/runtest: New files -- based on powerpc/psim. * clock/clockdrv.c: Guessed new value for clock tick. Need to add fast idle support. * include/bsp.h: tm27 support initiated. * start/start.S: Fixed frame/endframe problems on _sys_exit. * startup/bspstart.c: Increased Workspace size to 4 MBYTES! * linkcmds: Increased Workspace size to 4 MBYTES! * Most tests appear to run correctly!
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-192-1/+4
| | | | * Makefile.am: Removed unneeded blank line.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-192-4/+9
| | | | | * src/isr.c: Allocate the _ISR_Vector_table all the time not just when we are allocating an interrupt stack.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-192-1/+9
| | | | | | * cpu_asm.S (_ISR_Handler): Return to the address in the EPC register. Previous code resulting in the interrupted immediately returning to the caller of the routine it was inside.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-192-11/+5
| | | | | * cpu.c (_CPU_Initialize): Do not initialize _ISR_Vector_table() here because it has not been allocated yet.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-192-1/+8
| | | | | | * cpu.c: Do not read or write raw interrupt vector table if we are on a CPU that does not have a %vbr register and the BSP is configured as having the table in ROM.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-192-4/+12
| | | | | * src/pthreadgetschedparam.c: Do not set output parameters if the pointers are NULL.
* 2000-12-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-142-3/+4
| | | | * network/network.c: Removed unused variable warnings.
* 2000-12-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-142-0/+5
| | | | * TESTED: Added comment on 68en302 now that there is a network driver.
* 2000-12-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-149-5/+1594
| | | | | | | | * Makefile.am, configure.in, include/Makefile.am, wrapup/Makefile.am: Updated to reflect addition of network driver by Franck Julien <FranckJ@cxr.fr>. * include/m302_int.h, network/.cvsignore, network/Makefile.am, network/network.c: New file.
* 2000-12-14 Eric Norum <eric.norum@usask.ca>Joel Sherrill2000-12-144-996/+1178
| | | | * lib/tftpDriver.c: Added write capability.
* 2000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-133-0/+84
| | | | | | | | | | | | * configure.in: Added new directories. * shared/interrupts/Makefile.am: Added AM_CPPFLAGS to define TX39 when compiling for a TX3904. * shared/interrupts/maxvectors.c: Corrected conditional logic. * tx39/Makefile.am: Added vectorisrs. * tx39/vectorisrs/Makefile.am, tx39/vectorisrs/vectorisrs.c, * tx39/vectorisrs/.cvsignore: New files. This decodes the interrupt pending information on the TX3904 and vectors an interrupt.
* 2000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-137-4/+46
| | | | | | | | | | | | * README: Updated. We are now vectoring a clock tick ISR handler. But RTEMS is not returning from the ISR properly. * clock/clockdrv.c: Now causes interrupts but has not been calibrated. * include/bsp.h: Use <libcpu/tx3904.h> * startup/Makefile.am: Add setvec.c from shared. * startup/bspstart.c: Initialize the status register (SR) so no interrupts are masked but global interrupts (SR_IEC) are off. Added call to install the ISR prologue code. * wrapup/Makefile.am: Pick up more pieces from libcpu.
* 2000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-133-1/+11
| | | | | | * include/rtems/score/isr.h, src/isr.c: Allocate it from the workspace rather than explicitly declaring it. This allows the size to be a non-constant from the perspective of score/cpu.
* 2000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-134-82/+16
| | | | | | | | * cpu.c: Removed duplicate declaration for _ISR_Vector_table. * cpu_asm.S: Removed assembly language to vector ISR handler on MIPS ISA I. Now call mips_vector_isr_handlers() in libcpu or BSP. * rtems/score/cpu.h (CPU_INTERRUPT_NUMBER_OF_VECTORS): No longer a constant -- get the real value from libcpu.
* 2000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-135-3/+22
| | | | | | | | | | | | * configure.in: Added new directories. * shared/interrupts/Makefile.am: Added AM_CPPFLAGS to define TX39 when compiling for a TX3904. * shared/interrupts/maxvectors.c: Corrected conditional logic. * tx39/Makefile.am: Added vectorisrs. * tx39/vectorisrs/Makefile.am, tx39/vectorisrs/vectorisrs.c, * tx39/vectorisrs/.cvsignore: New files. This decodes the interrupt pending information on the TX3904 and vectors an interrupt.
* 2000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-1312-713/+281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cpu_asm.h: Removed. * Makefile.am: Remove cpu_asm.h. * rtems/score/mips64orion.h: Renamed mips.h. * rtems/score/mips.h: New file, formerly mips64orion.h. Header rewritten. (mips_get_sr, mips_set_sr, mips_enable_in_interrupt_mask, mips_disable_in_interrupt_mask): New macros. * rtems/score/Makefile.am: Reflect renaming mips64orion.h. * asm.h: Include <mips.h> not <mips64orion.h>. Now includes the few defines that were in <cpu_asm.h>. * cpu.c (_CPU_ISR_Get_level): Added MIPS ISA I version of this routine. MIPS ISA 3 is still in assembly for now. (_CPU_Thread_Idle_body): Rewrote in C. * cpu_asm.S: Rewrote file header. (FRAME,ENDFRAME) now in asm.h. (_CPU_ISR_Get_level): Removed ISA I version and rewrote in C. (_CPU_ISR_Set_level): Removed ISA I version and rewrote in C. (_CPU_Context_switch): MIPS ISA I now manages preserves SR_IEC and leaves other bits in SR alone on task switch. (mips_enable_interrupts,mips_disable_interrupts, mips_enable_global_interrupts,mips_disable_global_interrupts, disable_int, enable_int): Removed. (mips_get_sr): Rewritten as C macro. (_CPU_Thread_Idle_body): Rewritten in C. (init_exc_vecs): Rewritten in C as mips_install_isr_entries() and placed in libcpu. (exc_tlb_code, exc_xtlb_code, exc_cache_code, exc_norm_code): Moved to libcpu/mips/shared/interrupts. (general): Cleaned up comment blocks and #if 0 areas. * idtcpu.h: Made ifdef report an error. * iregdef.h: Removed warning. * rtems/score/cpu.h (CPU_INTERRUPT_NUMBER_OF_VECTORS): Now a variable number defined by libcpu. (_CPU_ISR_Disable, _CPU_ISR_Enable): Rewritten to use new routines to access SR. (_CPU_ISR_Set_level): Rewritten as macro for ISA I. (_CPU_Context_Initialize): Honor ISR level in task initialization. (_CPU_Fatal_halt): Use new _CPU_ISR_Disable() macro.