summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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().
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-062-0/+7
| | | | * gnatsupp/gnatsupp.c: Added prototype to eliminate warning.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-063-19/+51
| | | | | * README: Updated to reflect status. * startup/linkcmds: Added .ctor and .dtor sections to no avail.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-062-2/+4
| | | | * include/bsp.h: Removed incorrect error case.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-062-7/+4
| | | | * console/consolereserveresources.c: Removed code NOT file (YET).
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-063-3/+6
| | | | | * startup/bspstart.c: Removed call of console_reserve_resources(). * wrapup/Makefile.am: Corrected typo so BSP components are picked up.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-063-12/+11
| | | | | * comm/console.c: Added casts to eliminate warnings. * comm/console.c (console_reserve_resources): Removed.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-063-6/+10
| | | | | | | * startup/bspstart.c: Removed unused variables ramSpace and _end. Added prototype for initialize_monitor_handles(). * startup/syscalls.c: Added casts and removed unused variables to eliminate warnings.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-064-4/+14
| | | | | | * Makefile.am: Add include of bsp.am. Add clock subdirectory. * configure.in: Add clock subdirectory. * include/Makefile.am: Add coverhd.h.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-062-0/+5
| | | | * cpu.c: Added include of <rtems/rtems/cache.h> to eliminate warning.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-062-0/+21
| | | | | * rtems/score/cpu.h: When mips ISA level is 1, registers in the context should be 32 not 64 bits.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-062-1/+4
| | | | * src/regiongetinfo.c: Removed unused variable to eliminate warning.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-062-0/+7
| | | | | * src/pthreadgetcpuclockid.c: Add include of <rtems/system.h> to eliminate warning.
* 2000-12-05 Eric Valette <valette@crf.canon.fr>Joel Sherrill2000-12-059-128/+470
| | | | | | | | | | | | | * console/inch.c, console/keyboard.c, console/pc_keyb.c, console/vt.c, include/bsp.h: Correct incorrect interrupt level handling in new keyboard management code. Correct BSP_poll_char initialization routine. * start/start.S, startup/bspstart.c: Correct when the video is initialized. * timer/timer.c (Calibrate_1ms_loop): Address problem where this did not work correctly on all PC speeds. The new calibrate routine has been tested on Pentium 166, pentium II 200, pentium III 300 Mhz and does work as expected.
* 2000-12-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-051-0/+5
| | | | | * pc386/console/console.c, pc386/console/serial_mouse.c, pc386/console/vgainit.c, shared/comm/tty_drv.c: Remove warnings.
* Correct incorrect placement of last ChangeLog entry.Joel Sherrill2000-12-051-5/+0
|
* 2000-12-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-052-6/+4
| | | | * console-polled.c: Remove warnings.
* 2000-12-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-055-138/+158
| | | | | * pc386/console/console.c, pc386/console/serial_mouse.c, pc386/console/vgainit.c, shared/comm/tty_drv.c: Remove warnings.
* 2000-12-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-012-0/+8
| | | | | | * include/rtems/posix/cond.h: #if 0'ed out prototype of _POSIX_Condition_variables_Get to avoid conflict with macro implementation.
* 2000-12-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-012-8/+5
| | | | | * configure.in: Removed error check for enabling macros with either POSIX or ITRON API.
* 2000-12-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-013-15/+21
| | | | | | | | * macros/rtems/score/coresem.inl: Removed comments since convention calls for comments to be in inline versin. * macros/rtems/score/object.inl (Objects_Get_local_object): Fixed style to use _ prefix on variable names and use parentheses. * macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
* 2000-12-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-0121-11/+857
| | | | | | | | | | | | | | | * Added macro support to ITRON API. This is known to compile. * Makefile.am: Added macros directory. * configure.in: Removed error check for enabling macros. * macros/.cvsignore, macros/Makefile.am, macros/rtems/.cvsignore, macros/rtems/Makefile.am, macros/rtems/itron/.cvsignore, macros/rtems/itron/Makefile.am, macros/rtems/itron/eventflags.inl, macros/rtems/itron/fmempool.inl, macros/rtems/itron/intr.inl, macros/rtems/itron/mbox.inl, macros/rtems/itron/msgbuffer.inl, macros/rtems/itron/network.inl, macros/rtems/itron/port.inl, macros/rtems/itron/semaphore.inl, macros/rtems/itron/sysmgmt.inl, macros/rtems/itron/task.inl, macros/rtems/itron/time.inl, macros/rtems/itron/vmempool.inl: New files.