summaryrefslogtreecommitdiffstats
path: root/c/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-03-082001-03-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-5/+8
* mips-stub.c: Removed warnings.
2002-03-082001-03-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-1/+6
* start/start.S, startup/bspstart.c: Removed warnings.
2002-03-082002-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill3-0/+17
* shared/interrupts/installisrentries.c: Added support for debug exception vector. * shared/interrupts/isr_entries.S: Added support for debug exception vector.
2002-03-082001-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill7-753/+1341
* mips-stub.c: Debugged & tweaked the gdb command processing, zbreak stuff, breakpoint and step code. Implemented 'T' command support and debugged remote gdb support w/ the Mongoose bsp. Added the memory segment support. * memlimits.h: Disabled all contents in favor of memory sement support. This file could probably go away. * rtems-stub-glue.c (rtems_gdb_index_to_stub_id()): New routine. rtems_gdb_stub_get_register_from_context(): Implemented MIPS version. rtems_gdb_stub_get_offsets(): Implemented MIPS version. * README: Updated.
2002-03-082002-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill3-6/+53
* startup/gdb-support.c: Added calls into the mips-support gdb stub for configuring the memory regions. Any bsp that wants to use the gdbstub will need to do something similar. * startup/Makefile.am: Added shared/gdbstub directory to include path.
2002-03-082002-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill6-49/+268
* 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-03-01 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-7/+15
* src/pthreadonce.c: Task is not preemptable while running a pthread_once init function. This is slightly less heavy handed than disabling dispatching and seems better than consuming a mutex.
2002-03-012002-03-01 Eric Norum <eric.norum@usask.ca>Joel Sherrill3-20/+24
* libc/gxx_wrappers.c: Task is not preemptable while running a pthread_once init function. This is slightly less heavy handed than disabling dispatching and seems better than consuming a mutex.
2002-03-012002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2-3/+9
* mongoosev/include/mongoose-v.h: Added cache constants. * mongoosev/vectorisrs/vectorisrs.c: More tinkering to improve performance.
2002-03-012002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill1-0/+5
* mongoosev/include/mongoose-v.h: Added cache constants. * mongoosev/vectorisrs/vectorisrs.c: More tinkering to improve performance.
2002-03-012001-03-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-2/+5
* ChangeLog: Corrected previous entry.
2002-03-012002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2-23/+55
* shared/gdbstub/README: Added text. * shared/gdbstub/mips-stub.c: Modified isr install routine to capture all exceptions.
2002-03-012002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill7-135/+444
* start/start.S: Added kseg1 test to enable cache flush code * bsp_specs: Added -qnostartfile to disable including bsp's start.o * startup/bspstart.c: Made clear_cache actually work, tweaked cpu init to only turn on whats needed. * startup/gdb-support.c: Added calls to uart 2 for gdb stub I/O and a handy init function.
2002-03-012002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill6-124/+281
* 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-03-012001-03-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-0/+10
* src/imfs/.cvsignore: Added stamp-h1.in
2002-02-282002-02-28 Mike Panetta <ahuitzot@mindspring.com>Joel Sherrill15-609/+2333
* console/sci.c, console/sci.h, console/console.c: Added new SCI driver. * start/start.c: Removed file. * start/start.S: New file, the asm portion of the updated start code. * start/configure.am: Added start.S, removed start.c * startup/start_c.c: New file, the C portion of the updated start code. Contains most of the code that was in the old start.c. * startup/configure.am: Added start_c.c to C_FILES. * include/bsp.h: Added include <rtems/bspIo.h>
2002-02-282002-02-28 Victor V. Vengerov <vvv@oktet.ru>Joel Sherrill2-0/+6
* DOS filesystem including FAT12, FAT16, and FAT32 support submitted. * Makefile.am: Modified to reflect addition.
2002-02-282002-02-28 Victor V. Vengerov <vvv@oktet.ru>Joel Sherrill2-0/+6
* DOS filesystem including FAT12, FAT16, and FAT32 support submitted. * configure.ac: Modified to reflect addition.
2002-02-282002-02-28 Victor V. Vengerov <vvv@oktet.ru>Joel Sherrill56-4/+13329
* DOS filesystem including FAT12, FAT16, and FAT32 support submitted. * src/dosfs, src/dosfs/Makefile.am, src/dosfs/stamp-h2.in, src/dosfs/config.h.in, src/dosfs/dosfs.h, src/dosfs/fat.c, src/dosfs/fat.h, src/dosfs/fat_fat_operations.c, src/dosfs/fat_fat_operations.h, src/dosfs/fat_file.c, src/dosfs/fat_file.h, src/dosfs/msdos.h, src/dosfs/msdos_create.c, src/dosfs/msdos_dir.c, src/dosfs/msdos_eval.c, src/dosfs/msdos_file.c, src/dosfs/msdos_free.c, src/dosfs/msdos_fsunmount.c, src/dosfs/msdos_handlers_dir.c, src/dosfs/msdos_handlers_file.c, src/dosfs/msdos_init.c, src/dosfs/msdos_initsupp.c, src/dosfs/msdos_misc.c, src/dosfs/msdos_mknod.c, src/dosfs/msdos_node_type.c, src/dosfs/.cvsignore: New files. * configure.ac, src/Makefile.am, wrapup/Makefile.am: Modified to reflect addition.
2002-02-282002-02-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill36-0/+7642
* Submitted by Victor V. Vengerov <vvv@oktet.ru> and merged into the RTEMS source. * ChangeLog, Makefile.am, README, configure.ac, include/Makefile.am, include/rtems/bdbuf.h, include/rtems/blkdev.h, include/rtems/diskdevs.h, include/rtems/ramdisk.h, include/rtems/.cvsignore, include/.cvsignore, src/Makefile.am, src/bdbuf.c, src/blkdev.c, src/diskdevs.c, src/ramdisk.c, src/.cvsignore, .cvsignore: New files.
2002-02-272002-02-27 Ilya Alexeev <ilya@continuum.ru>Joel Sherrill8-14/+63
* net/if_ppp.c, pppd/auth.c, pppd/chat.c, pppd/pppd.h, pppd/sys-rtems.c: Add server with pap-authorization capabilities as well as eliminate some warnings.
2002-02-272002-02-27 Eric Norum <eric.norum@usask.ca>Joel Sherrill4-2/+20
* net/radix.c: Properly handle fetching the default route when there is no route. This was a bug in the original FreeBSD code and this fix is from an updated version of their code.
2002-02-272001-02-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-45/+3115
* Significant modifications including adding thread support, the 'X' command, and reorganizing so that target CPU independent routines could be reused. * gdb_if.h: Added numerous prototypes. * mips-stub.c: Added thread support as well as 'X' command. Also noticed that the 'P' command was from the mips protocol. * rtems-stub-glue.c: New file. This file contains all generic support which should be able to be reused on another target CPU.
2002-02-272001-02-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* startup/Makefile.am: Added rtems-stub-glue.c to C_FILES.
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 Sherrill2-2/+29
* mips-stub.c (handle_exception): Prototype changed to be an RTEMS entry point. Added comments about possible need to flush cache. (mips_gdb_stub_install): New routine.
2002-02-082002-02-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* mongoosev/vectorisrs/vectorisrs.c: Fixed to use new frame format.
2002-02-082002-02-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-20/+54
* startup/Makefile.am: Now compile the gdb stub. * startup/bspstart.c: Fixed header block. * startup/gdb-support.c: New file in stub state.
2002-02-082002-02-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-153/+163
* iregdef.h, rtems/score/cpu.h: Reordered register in the exception stack frame to better match gdb's expectations.
2002-02-082002-02-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill10-1206/+112
* Makefile, stubinit.S, r46kstub.ld, ioaddr.h: Removed as unused with RTEMS. * r46kstub.c: Renamed to mips-stub.c. * mips-stub.c: New file -- was r46kstub.c. * memlimits.h: New file was limits.h. * limits.h: Removed. * r4600.h: Eliminated need for this file. * README: Updated. * gdb_if.h: Added CVS Id. * mips-stub.c: Attempt to deal with MIPS1 versus MIPS3.
2002-02-082002-02-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill11-0/+2664
* Merged r46kstub.c into RTEMS distribution without modification. I got the code from Franz Fischer <Franz.Fischer@franz-fischer.de> who had used this with an old version of RTEMS with the mips64orion port of RTEMS. After adding this to the repository, I will tailor this to work with the RTEMS exception processing model and trim no longer needed parts. * ChangeLog, gdb_if.h, ioaddr.h, limits.h, Makefile, mips_opcode.h, r4600.h, r46kstub.c, r46kstub.ld, README, stubinit.S:
2002-02-052001-02-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-15/+22
* isr_entries.S: Removed comment incorrectly indicating this file was cpu_asm.S. * vectorexceptions.c (mips_dump_exception_frame): New routine broken out from default exception handler.
2002-02-052001-02-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-16/+227
* 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 Sherrill12-35/+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.
2002-02-042001-02-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-3/+6
* configure.ac: Removed references to rtems/Makefile and rtems/score/Makefile.
2002-02-022001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill4-0/+915
* include/lr33000.h, include/lr330x0.h, include/r3000.h, start/mg5.h: New files missed in previous commit. * timer/timer.c: Use rtems/bspIo.h not just bspIo.h.
2002-02-01Fixed ChangeLog again :(Joel Sherrill1-0/+48
2002-02-01Fixed ChangeLogJoel Sherrill1-34/+107
2002-02-012002-02-01 Eric Valette <valette@crf.canon.fr>Joel Sherrill10-3420/+2644
* So many patches have been posted recently on the mailing list and because we were unable to find correct solution to compile on various linux distros (due to rpcgen incompatibilities), and because the coding style of rdbg was rather inconsistant among various pieces of code, I decided to: 1) make some cleaning regarding global coding style (using indent + manual edits), 2) incorporate/review the paches send by various people (S. Holford, T. Strauman), 3) Fix the bug due to varying rpcgen code generation in remdeb_svc.c, 4) Remove some dead code, 5) Apply a patches enabling to call enterRdbg imediately after rdbg initialization is done, NB : the paches is huge but it is mainly due to coding styke chnages. Only few lines of codes have been really changed and they do not impact rdbg functionnality (AFAIKT). * include/rdbg/servrpc.h, include/rdbg/i386/rdbg_f.h, include/rdbg/m68k/rdbg_f.h, include/rdbg/powerpc/rdbg_f.h, src/_servtgt.c, src/awk.svc, src/excep.c, src/ptrace.c, src/rdbg.c, src/remdeb.x, src/servbkpt.c, src/servcon.c, src/servrpc.c, src/servtgt.c, src/servtsp.c, src/servutil.c, src/i386/excep_f.c, src/i386/rdbg_f.c, src/i386/any/Makefile.am, src/i386/any/remdeb.h, src/i386/any/remdeb_svc.c, src/i386/any/remdeb_xdr.c, src/m68k/excep_f.c, src/m68k/rdbg_f.c, src/m68k/any/Makefile.am, src/m68k/any/remdeb.h, src/m68k/any/remdeb_svc.c, src/m68k/any/remdeb_xdr.c, src/powerpc/excep_f.c, src/powerpc/rdbg_f.c, src/powerpc/new_exception_processing/Makefile.am, src/powerpc/new_exception_processing/remdeb.h, src/powerpc/new_exception_processing/remdeb_svc.c, src/powerpc/new_exception_processing/remdeb_xdr.c: Modified.
2002-02-01Fixed ChangeLogJoel Sherrill1-0/+1
2002-02-012001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill3-2/+8
* mongoosev/vectorisrs/vectorisrs.c, shared/interrupts/vectorexceptions.c: Use rtems/bspIo.h, not just bspIo.h.
2002-02-012001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2-1/+7
* include/lr33000.h, include/lr330x0.h, include/r3000.h, start/mg5.h: New files missed in previous commit. * timer/timer.c: Use rtems/bspIo.h not just bspIo.h.
2002-02-012001-02-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-294/+274
* rtems.ads, rtems.adb: Formatting cleaned up. Task based timer directives added. This is Timer_Initiate_Server, Timer_Server_Fire_After, and Timer_Server_Fire_When.
2002-02-012001-02-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+4
* ChangeLog: New file.
2002-02-01 * So many patches have been posted recently on the mailing list andJoel Sherrill35-5885/+6155
because we were unable to find correct solution to compile on various linux distros (due to rpcgen incompatibilities), and because the coding style of rdbg was rather inconsistant among various pieces of code, I decided to: 1) make some cleaning regarding global coding style (using indent + manual edits), 2) incorporate/review the paches send by various people (S. Holford, T. Strauman), 3) Fix the bug due to varying rpcgen code generation in remdeb_svc.c, 4) Remove some dead code, 5) Apply a patches enabling to call enterRdbg imediately after rdbg initialization is done, NB : the paches is huge but it is mainly due to coding styke chnages. Only few lines of codes have been really changed and they do not impact rdbg functionnality (AFAIKT). * include/rdbg/servrpc.h, include/rdbg/i386/rdbg_f.h, include/rdbg/m68k/rdbg_f.h, include/rdbg/powerpc/rdbg_f.h, src/_servtgt.c, src/awk.svc, src/excep.c, src/ptrace.c, src/rdbg.c, src/remdeb.x, src/servbkpt.c, src/servcon.c, src/servrpc.c, src/servtgt.c, src/servtsp.c, src/servutil.c, src/i386/excep_f.c, src/i386/rdbg_f.c, src/i386/any/Makefile.am, src/i386/any/remdeb.h, src/i386/any/remdeb_svc.c, src/i386/any/remdeb_xdr.c, src/m68k/excep_f.c, src/m68k/rdbg_f.c, src/m68k/any/Makefile.am, src/m68k/any/remdeb.h, src/m68k/any/remdeb_svc.c, src/m68k/any/remdeb_xdr.c, src/powerpc/excep_f.c, src/powerpc/rdbg_f.c, src/powerpc/new_exception_processing/Makefile.am, src/powerpc/new_exception_processing/remdeb.h, src/powerpc/new_exception_processing/remdeb_svc.c, src/powerpc/new_exception_processing/remdeb_xdr.c: Modified.
2002-02-012001-02-01 Mike Siers <mikes@poliac.com>Joel Sherrill3-1/+20
* pppd/rtemspppd.c (rtems_pppd_disconnect): Modified to avoid bringing the link down too fast. NOTE: Mike reports successfully running at 56K baud on a direct link.