summaryrefslogtreecommitdiffstats
path: root/c (unfollow)
Commit message (Collapse)AuthorFilesLines
1998-10-28Patch from Ian Lance Taylor <ian@airs.com>:Joel Sherrill1-8/+60
The RTEMS i386 stub in c/src/lib/libbsp/i386/shared/comm/i386-stub.c doesn't take advantage of some of the newer gdb remote features which permits shorter and fewer packets. Here is a patch which uses the 'T' response to report the registers which gdb generally needs, and implements the 'P' request to set only a single register. The general effect is to avoid sending all the register contents back and forth between gdb and the stub every time the stub stops. This also implements the 'D' request which handles the gdb detach command, so you can cleanly quit out of the debugger and leave the target board running.
1998-10-28Patch from Ian Lance Taylor <ian@airs.com>.Joel Sherrill1-11/+19
I just happened across the sync_io support in c/src/exec/score/cpu/unix/cpu.c (is this documented anywhere?). That looked more useful than the signal driven I/O I was using before, so I tried it. I ran across a few bugs in the way it uses select. Select changes its fd_set arguments, so you can't use global variables for them. You have to copy them into local variables first. If select returns -1 with errno set to EINTR, then it has not changed any of the fd_sets. You can't start looking at them. When clearing a descriptor, the code has the usual select off by one error when setting sync_io_nfds. I don't see how this code could ever have worked correctly. I have appended a patch for the problems I found.
1998-10-28Merged Vista SCORE603e, Radstone PPCn_60x, and DY-4 DMV177 BSPs alongJoel Sherrill12-10/+24
with libchip.
1998-10-28Removed per Eric NorumJoel Sherrill1-62/+0
1998-10-27changed version to 4.0.0Joel Sherrill2-2/+2
1998-10-27Spacing.Joel Sherrill1-1/+0
1998-10-26Merged base line score603e BSPJoel Sherrill1-28/+28
1998-10-26changed version to 4.0.0-beta4bJoel Sherrill2-2/+2
1998-10-26Patches done in conjunction with Juan Zamorano FloresJoel Sherrill7-14/+31
<jzamora@avellano.datsi.fi.upm.es>. He debugged enough to let me know what was wrong and I supplied the code. :)
1998-10-26Updated for mvme136.Joel Sherrill1-1/+1
1998-10-26Updated the date.Joel Sherrill1-2/+1
1998-10-22Typos spotted by Ian Lance Taylor <ian@airs.com>.Joel Sherrill1-2/+2
1998-10-22Added missing .rodata and *(.gnu.linkonce.r*) section.Joel Sherrill1-0/+4
1998-10-22Patch from Ian Lance Taylor <ian@airs.com>:Joel Sherrill1-0/+1
I noticed that in the 4.0.0-beta4a tar file, the file c/src/lib/libbsp/i386/pc386/startup/linkcmds was changed so that it no longer handles the .gnu.linkonce.r* sections. The appended patch was applied to the file. I'm not sure why. I think this patch should probably be backed out, although it's not critical for the release.
1998-10-22Patch from Eric Norum.Joel Sherrill1-4/+6
1998-10-22Changed all of these to stubs.Joel Sherrill14-806/+68
1998-10-15changed version to 4.0.0-beta4aJoel Sherrill2-2/+2
1998-10-15Updated for the i386ex and deprecated BSPs.Joel Sherrill1-5/+8
1998-10-15Added bare bsp, mini-glue layer for POSIX port, and bare bsp information.Joel Sherrill1-0/+14
1998-10-15Added pre_install_src as a dependency to debug and profile per Ralf Corsepius'Joel Sherrill1-2/+2
recommendation.
1998-10-15Patch from Thomas Doerfler <td@imd.m.isar.de> to include theJoel Sherrill1-1/+2
ppc403 interrupt control libcpu component.
1998-10-15Uncommented the conditional stuff for "good gas 16 bit code".Joel Sherrill1-2/+2
1998-10-14Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill22-60/+1817
1. Rtems contains some perl scripts that use hard-coded paths to /usr/bin/perl or /usr/local/bin/perl I have already fixed these problems by adding some checks to configure.in. While doing this, I also cleaned up some more autoconf related problems for generating shell scripts. This patch might seem a bit scary to you, but I am quite confident it won't break something (I've been testing it for almost a week now, however it might introduce typos for a limited number configurations I don't have access to - But it shouldn't be a problem for you to test them :-). I expect to get this finished tonight, hence you will very likely have the patch when you get up tomorrow. Changes: * Check for PERL and disable all PERL scripts if perl wasn't found. * Generate all KSHELL-scripts with autoconf instead of make-script * Automatic dependency handling for autoconf generated KSHELL or PERL scripts (make/rtems.cfg) Notes: * this patch contains new files and deletes some other files. * The patch is relative to rtems-4.0.0-beta4 with my previous rtems-rc-981014-1.diff patch applied. Testing: I tested it with sh-rtems and posix under linux. Now all targets which are touched by this patch and which are not used while building for sh-rtems and posix still need to be tested. AFAIS, only the sparc/erc32 BSP should be affected by this criterion. And if you like to, you should also consider testing it on a Cygwin32 and a Solaris host for one arbitrary BSP.
1998-10-14Updated.Joel Sherrill1-3/+3
1998-10-13Added rest of opendir family and made it compile.Joel Sherrill3-4/+35
1998-10-13New files.Joel Sherrill10-0/+656
1998-10-13Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct minorJoel Sherrill3-6/+6
cosmetic things.
1998-10-13Modified to avoid building certain files under UNIX.Joel Sherrill1-3/+11
1998-10-12Typo which prevented baud rate changes from Thomas Doerfler <td@imd.m.isar.de>.Joel Sherrill1-1/+1
1998-10-12changed version to 4.0.0-beta4Joel Sherrill2-2/+2
1998-10-12New files.Joel Sherrill4-0/+328
1998-10-12Removed fork(), execv(), and wait() since they are now stubbed in theJoel Sherrill1-21/+0
POSIX API.
1998-10-12Added opendir and readdir.Joel Sherrill1-1/+1
1998-10-12Added helas403 and changed column spacing.Joel Sherrill1-36/+40
1998-10-12Added header files per request from Chris Johns to avoid problemsJoel Sherrill3-0/+12
in include file order.
1998-10-07NEXT_GAS should have been NEW_GAS. Spotted by Emmanuel Raguet ↵Joel Sherrill3-4/+4
<raguet@crf.canon.fr>.
1998-10-06changed version to 981006Joel Sherrill2-2/+2
1998-10-06Removed files pc386uart.h and pcibio.h from Makefile since they areJoel Sherrill1-1/+0
now installed from the shared directory.
1998-10-06Corrected assembly language to use constants instead of addresses.Joel Sherrill1-2/+2
Thanks to Rod Barman for this one.
1998-10-06Added missing field (idle_task_stack_size) to CPU Table.Joel Sherrill1-0/+1
1998-10-06Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add networkingJoel Sherrill1-0/+10
information to this file to be more like the gen68360.
1998-10-05Large patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> whichJoel Sherrill31-376/+3515
moves pieces of the pc386 bsp up to a shared level for all i386 BSPs and modifies the i386ex BSP to use those shared pieces. Serial remote debugging is included for both targets. Erik's notes: There are several workarounds in it: 1) #define NEXT_GAS is hardcoded in pc386/start/start.s 2) #define NEXT_GAS is hardcoded in i386ex/start/start.s 3) #define NEW_GAS is hardcoded in pc386/start16.s 4) #undef __assert and redeclare _assert hardcoded in console.c for both pc386 and i386ex due to my egcs1.1b ~ newlib problem. Should have modified t-rtems.cfg ( no time ) I've tested pc386 with both video and serial consoles and GDB remote. All work fine, except that GDB acts weird. ( re: other posting) I hope this will work for you. It took quite some time to locate the autoconf error. The remainder was just grunt work. Unfortunately, I think I've unwound the removal of the IBMPCInitVideo stuff. Sorry. I REALLY can't spend more time... I've been at this conversion to 4.0 locally and updating the release since Sept. 8th, and have yet to compile my network driver.... This is as much as I can do right now. I look forward to the next patch to really test i368ex. I did make sure that the sample tests worked for pc386.
1998-10-05New file based on information from Eric Norum <eric@skatter.usask.ca>.Joel Sherrill1-0/+42
1998-10-05Commented out line which ran psim tests twice.Joel Sherrill1-1/+1
1998-10-05Update from Thomas Doerfler <td@imd.m.isar.de>.Joel Sherrill1-0/+58
1998-10-05Fixed use of incorrect macro for minimum stack size.Joel Sherrill1-1/+1
1998-10-01Patch from Ian Lance Taylor <ian@airs.com>:Joel Sherrill2-10/+16
The reentrant versions of the malloc functions in c/src/lib/libc/malloc.c do not match the definitions in newlib. These will be used if you use newlib routines such as fdopen. I believe this patch to malloc.c is needed to provide the correct versions.
1998-10-01changed version to 981001Joel Sherrill2-2/+2
1998-10-01Patch from Thomas Doerfler <td@imd.m.isar.de> to improve 403 support.Joel Sherrill4-1/+42
- c/src/exec/score/cpu/powerpc/ppc.h: some small changes (added ppc403 characteristics like a exception vector prefix register, some special register definitions). I am quite sure, they are compatible with the existing sources, although I did not check - c/src/exec/score/cpu/powerpc/cpu.c: There is one severe limitation in the exception entries: Due to the current code arrangement, the "branch absolute" to the ISR handler may only jump to the first 128MByte or the last 128MByte of the 4GByte address range. When the ppc403 is running out of ROM, the ROM functions are located in the last 128MByte (0xFFF00000 and up). These addresses were not handled correctly (sign reduced) in "install_raw_handler". The change I added should work on existing ppc BSPs aswell...
1998-10-01Updated to reflect Thomas Doerfler (td@imd.m.isar.de) submitting theJoel Sherrill1-0/+4
helas403 BSP.