summaryrefslogtreecommitdiffstats
path: root/cpukit/score (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-02-24Corrected name of constant so this would compile.Joel Sherrill1-1/+1
1999-02-19Moved back up in tree.Joel Sherrill8-0/+4202
1999-02-19Moved asm.h back up in tree.Joel Sherrill14-0/+1728
1999-02-19Moved to proper rtems/scoreJoel Sherrill27-6045/+289
1999-02-18Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill34-0/+13100
> 4) rtems-rc-19990202-0.diff /reorg-score-cpu.sh > > reorg-score-cpu.sh reorganizes the cpu/<cpu>/* subdirectories in a > similar manner than previous reorg scripts did. rtems-rc-19990202-0.diff > contains the diffs after reorg-score-cpu.sh has been run on a > rtems-19981215 snapshot + my patches up to rtems-rc-19990131-2.diff. > > This patch is rather nasty and may break something. However, I've tested > it for about 10 different target/bsp pairs and believe to have shaken > out most bugs. I wonder about the following .h files that were not moved: a29k/asm.h a29k/cpu_asm.h i386/asm.h i960/asm.h m68k/asm.h m68k/m68302.h m68k/m68360.h m68k/qsm.h m68k/sim.h mips64orion/asm.h mips64orion/cpu_asm.h mips64orion/mips64orion.h no_cpu/asm.h no_cpu/cpu_asm.h powerpc/asm.h powerpc/mpc860.h sh/asm.h sparc/asm.h sparc/erc32.h
1999-02-18Yet another part of automake VI from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill7-2466/+0
> 4) rtems-rc-19990202-0.diff /reorg-score-cpu.sh > > reorg-score-cpu.sh reorganizes the cpu/<cpu>/* subdirectories in a > similar manner than previous reorg scripts did. rtems-rc-19990202-0.diff > contains the diffs after reorg-score-cpu.sh has been run on a > rtems-19981215 snapshot + my patches up to rtems-rc-19990131-2.diff. > > This patch is rather nasty and may break something. However, I've tested > it for about 10 different target/bsp pairs and believe to have shaken > out most bugs. I wonder about the following .h files that were not moved: a29k/asm.h a29k/cpu_asm.h i386/asm.h i960/asm.h m68k/asm.h m68k/m68302.h m68k/m68360.h m68k/qsm.h m68k/sim.h mips64orion/asm.h mips64orion/cpu_asm.h mips64orion/mips64orion.h no_cpu/asm.h no_cpu/cpu_asm.h powerpc/asm.h powerpc/mpc860.h sh/asm.h sparc/asm.h sparc/erc32.h
1999-02-18Patch from Emmanuel Raguet <raguet@crf.canon.fr>:Joel Sherrill1-1/+9
You will find enclosed a patch which contains, for Intel PC386 target : - an Ethernet driver for DEC21140 device based boards. - a simple cache management with paging mechanism.
1999-01-20Patch from Eric Norum <eric@skatter.usask.ca> to make m68360.h usableJoel Sherrill2-714/+732
outside RTEMS. Comment: I found a couple of places other than RTEMS where I'd like to use the declarations supplied in m68360.h. To make this easier to do, I've redone the declarations in m68360.h to use standard C types.
1999-01-19Patch from Jiri Gaisler <jgais@ce.chalmers.se>:Joel Sherrill1-0/+2
getting the spurious trap handling to work required a couple more fixes - I have attached a patch against rtems-4.0.0 with the necessary changes. I also added functionality so that the address of the trapped instruction is reported and in case of a data access error, the data address is also reported.
1998-12-15Switched to use of ASM compilation conditional.Joel Sherrill1-2/+2
1998-12-15Changed reference from no_cpu to mips64orion.Joel Sherrill3-3/+3
1998-12-14Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to rename allJoel Sherrill7-0/+2964
.s files to .S in conformance with GNU conventions. This is a minor step along the way to supporting automake.
1998-12-03Corrected spacing.Joel Sherrill1-1/+1
1998-11-23Added --disable-multiprocessing flag and modified a lot of files to makeJoel Sherrill9-4/+57
it work.
1998-11-19Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill2-0/+15
1) Socket timeout field changed from `short' to `long'. This makes longer timeouts possible. With a 1 kHz system clock the old system allowed timeouts only up to a little over 30 seconds! This change is a slightly cleaned-up version of the patch proposed by Ian Lance Taylor. 2) Major changes to BOOTP/DHCP reply handling. Now supports much of RFC2132. These changes were done at the request of, and with the assistance of, Erik Ivanenko. If you're making changes, you might want to change the network supplement Essentially just do a global search and replace of BOOTP with BOOTP/DHCP.
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-09-23IDLE task stack size now specified as a field in the CPU Table for allJoel Sherrill2-10/+7
ports.
1998-08-31Patch from Eric Valette <valette@crf.canon.fr>:Joel Sherrill1-6/+17
Eric> NB : there is still a bug on PC386 serial line : exit does not Eric> flush the remaining output queue. As this is not a bug in the Eric> driver itself but somewhere in PC386 initialization/termios Eric> relationship it will be part of another patch. Eric> NB2 : As Emmanuel excerced the exception hanlder code, while Eric> porting the SMC driver to the new BSD stack, we found a bug Eric> in the exception handler : it shall not delete the current Eric> thread in case we are running at interrupt level. This will Eric> be part of another patch... So here is the patch. This patch fixes the two problems mentionned above + it use vpath mechanism intead of copying the irq related files in the right directory. This avoid to compile them each time and is more homogenous with other Makefiles.
1998-08-21Patch from Eric Valette <valette@crf.canon.fr>:Joel Sherrill1-0/+90
Here is a patch that enables to catch exception and get message before crashing RTEMS :) It should be generic to any Intel port although enabled only for pc386 BSP... [Joel] I fixed the bug I introduced in irq_asm.s...
1998-08-21Spacing changesJoel Sherrill1-1/+0
1998-08-19Patch from Eric Valette <valette@crf.canon.fr>:Joel Sherrill1-1/+8
- Use the "hlt" instruction for the Idle thread, - Optimise interrupt PATH leadding to thread wakeup, - Preparation for Intel exception management that should come before the end of the week...
1998-08-05Automatic CPU type detection code from Eric Valette <valette@crf.canon.fr>.Joel Sherrill2-0/+2
Enabled on the pc386.
1998-08-01Merged patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to add ColdFireJoel Sherrill2-2/+18
specific register macros and correct code in rtems.s.
1998-07-23Patch from Eric VALETTE <valette@crf.canon.fr>:Joel Sherrill1-99/+0
Here is a enhanced version of my previous patch. This patch enables to potentially share the new interrupt management code for all Intel targets (pc386, go32 and force386) bsp. Note : this patch is complete only for pc386. It still needs to be completed for go32 and force386. I carrefully checked that anything needed is in for force386 (only some function name changes for IDT manipulation and GDT segment manipulation). But anyway I will not be able to test any of theses targets...
1998-07-01Fixed typo.Joel Sherrill1-1/+1
1998-06-18Modified _Objects_Is_class_valid() to correctly report that 0 wasJoel Sherrill2-2/+2
not a valid object class. This was discovered while looking for a bug reported by Jennifer.
1998-06-18Added freebsd support from Dario Alcocer <alcocer@connectnet.com>.Joel Sherrill1-2/+7
1998-06-12Added optimized version of memcpy.c to this directory since RTEMS makesJoel Sherrill1-0/+87
important distinctions between CPU models which are not made by gcc. These distinctions help give us a more optimized memcpy(). This is important for message queues and KA9Q.
1998-06-03Added CPU_ISR_PASSES_FRAME_POINTER so some ports could pass just theJoel Sherrill1-0/+7
vector number to user ISR's and other ports could pass both the vector number and a pointer to the ISF.
1998-06-03Corrected macros for assembly language program sections.Joel Sherrill2-4/+4
1998-04-27Fixed CVS IdJoel Sherrill1-1/+1
1998-04-15Added bh, ch, dh, bl, cl, and dl register macros.Joel Sherrill2-0/+14
1998-04-15Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill2-9/+13
to multiple. This lets the stack check extension be installed at system initialization time and avoids the BSP having to even know about its existence.
1998-04-14Ralf Corsepius suggested a way to get rid of UNIX compiler files and use ↵Joel Sherrill1-1/+0
gcc-target-default.cfg
1998-03-31Added "sigemptyset()" call to insure that the memcmp() would work.Joel Sherrill1-0/+4
It appears that the new glibc does not clear all the bits of the signal set with a sigprocmask.
1998-03-27Changed int to unsigned32 to match cpu.h.Joel Sherrill1-1/+1
1998-03-25m68k software interrupt stack support from Chris Johns and Eric Norum.Joel Sherrill1-4/+0
1998-03-24Added _XOPEN_SOURCE definition to allow use of UNIX IPC.Joel Sherrill1-0/+1
1998-03-24Real definition for the beginning of the data section per Eric Norum'sJoel Sherrill2-4/+4
suggestion.
1998-03-24Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros forJoel Sherrill1-4/+4
the CPU family name constants.
1998-03-20SH port submitted from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill3-0/+506
1998-02-20Modified to make it possible for an ISR to return a mutex which didJoel Sherrill1-2/+20
not use priority ceiling or priority inheritance protocols.
1998-02-18Ralf Corsepius noted that there was a dead path in _Thread_Initialize.Joel Sherrill1-6/+2
1998-02-17updated copyright to 1998Joel Sherrill102-103/+103
1998-02-04Ralf Corsepius noticed that generally was spelled incorrectly.Joel Sherrill1-1/+1
1998-01-28Change to remove warning on glibc2 systems per Ralf Corsepius'sJoel Sherrill1-1/+6
suggestion.
1998-01-23Solaris port updates from Chris JohnsJoel Sherrill1-10/+0
1998-01-20Removed warning per Chris Johns' suggestion.Joel Sherrill2-2/+2
1998-01-15Error reported by Duncan Smith <dds@flavors.com>:Joel Sherrill1-1/+1
>> >>There is a 30 day error in _TOD_Days_since_last_leap_year[2..3] >> > >> >Thanks. >> >What's the condition to hit this error? >> >Every year 4n+2 and 4n+3 ? >> >(i.e. 1998, 1999, 2002, 2003, ...) >> > >> OK: 96 97 00 01 04 05 ... >> Bad: 98 99 02 03 06 07 ... There is also a problem in newlib 1.7.x reported at the same time: >> I found another, that would strike only on 2/29/2000, or other leapyears. >> Only a problem on 1 day. >> >> Joel: FYI, there is a bug in Newlib localtime.c, localtime or (_tm_time). >> Ours is modified for dst and timezones, but the bug was in original source. >> I have not looked at the latest public source (nor do I know where to find >> it).
1998-01-06Fixed spacing.Joel Sherrill1-2/+2