summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2000-12-12 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill2000-12-1326-14/+806
| | | | | | | | | | | | | * src/imfs/linearfile.c, src/imfs/imfs_load_tar.c: New files. * src/imfs/Makefile.am, src/imfs/imfs.h, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c, src/imfs/imfs_eval.c, src/imfs/imfs_handlers_memfile.c, src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_stat.c, src/imfs/miniimfs_init.c: Added "tarfs". This is not really a tar filesystem. It is a way to load a tar image into the IMFS but actually leave bulky file contents in the original tar image. It essentially adds the linear file type and associated support and a loader routine.
* 2000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-1320-3/+396
| | | | | | | | | | | | | | | | | | * shared/.cvsignore, shared/Makefile.am, shared/cache/.cvsignore, shared/cache/Makefile.am, shared/cache/cache.c, shared/cache/cache_.h, shared/interrupts/.cvsignore, shared/interrupts/Makefile.am, shared/interrupts/installisrentries.c, shared/interrupts/isr_entries.S, shared/interrupts/maxvectors.c, tx39/.cvsignore, tx39/Makefile.am, tx39/include/.cvsignore, tx39/include/Makefile.am, tx39/include/tx3904.h: New file. Moved some pieces of interrupt processing from score/cpu to libcpu/mips since many interrupt servicing characteristics are CPU model dependent. This patch addresses the number of interrupt sources and where the ISR prologues are located. The only way to currently install the ISR prologues requires that the prologues be installed into RAM.
* 2000-12-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-112-0/+20
| | | | | * startup/bspclean.c: New file to explicitly invoke _sys_exit(). * README: Updated.
* 2000-12-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-088-33/+64
| | | | | | | | | | * libc/linkaddr.c: Initialized variable to remove warning. * modem/ppp.c, modem/ppp_tty.c: Made numerous variable declarations conditional on PPP_COMPRESS and PPP_FILTER. Commented out variables that were not used because the code using them was commented out. Removed totally unused variables. * modem/pppcompress.c: Added parentheses to avoid warnings. * pppd/pppmain.c: Removed numerous warnings.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-062-0/+6
| | | | | * shared/src/cache_aligned_malloc.c: Added include of <stdlib.h> to eliminate warnings.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-062-0/+5
| | | | * displayCpu.c: Added include of <rtems.h> to eliminate warnings.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-065-4/+8
| | | | | | * libc/mallocfreespace.c: Name of routine is rtems_region_get_information() NOT region_get_information(). * libc/unmount.c: Removed unused variable.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-062-7/+4
| | | | * console/console.c: Removed console_reserve_resources().