summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
1998-08-20Patches from Eric NorumJoel Sherrill2-3/+19
1998-08-20Added CVS IdsJoel Sherrill64-0/+201
1998-08-20Fixed many warnings.Joel Sherrill34-82/+160
1998-08-20FreeBSD stack compiles for the first time (except libc/strsep.c).Joel Sherrill9-0/+298
1998-08-19Base filesJoel Sherrill212-0/+59532
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-28Closed window thanks to patch from Eric Norum.Joel Sherrill1-5/+3
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-17Initialized tty->refcount to 0. When (for whatever reason) malloc()Joel Sherrill1-0/+3
returned a buffer which was not zero-filled, the reference count was not correct. When the application exitted, the "lastClose" handler was not being called to flush the output. This problem had manifested itself on a variety of platforms. The function rtems_termios_dequeue_characters() incorrectly incremented the buffer pointers when it was invoked and there were no characters in the ring buffer. This problem had also manifested itself on a variety of platforms. The symptom was a strange repeating of the data in the transmitter buffer when the transmitter serial device was supposed to go idle.
1998-07-17Patch from Dario Alcocer <alcocer@connectnet.com>. His comments:Joel Sherrill1-0/+2
Haven't had a chance to do an extensive shake-out of 980710, but it builds just fine on FreeBSD 2.2.5 (after termios is fixed using the attached patch), and the tests run fine. FYI: FreeBSD doesn't support System V IPC out of the box, but one only needs to add three options to the kernel build configuration file, recompile the kernel, and you're ready.
1998-07-06New file to satisfy readdir() family.Joel Sherrill1-0/+14
1998-07-01Fixed typo.Joel Sherrill1-1/+1
1998-06-18All task delete API level services were incorrectly assuming that theJoel Sherrill2-2/+15
task to be deleted was created via the same API (i.e. were of the object class created by this API). For example, a POSIX thread calling the rtems_task_delete(SELF) directive would incorrectly update the RTEMS object local pointer table. Jennifer discovered this when moving tests implemented in C using the Classic RTEMS API into a tree of Ada tests. The Ada tests were implicitly using POSIX services. This lead to some unexpected behavior.
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 Sherrill2-2/+21
1998-06-18Corrected so it returns the correct date. Previously was getting the numberJoel Sherrill1-11/+28
of seconds since 1988 from RTEMS and not adding in the 1970-1988 correction factor. Plus removed checks for data/time set since POSIX does not permit this call to fail. GNAT 3.12 depends on this.
1998-06-18Added a public interface to the chain handler.Joel Sherrill1-0/+362
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-05-27Corrected interrupt stack allocation.Joel Sherrill1-3/+7
1998-05-22Added tcdrain(), cfgetospeed(0, cfsetospeed(), cfgetispeed(), andJoel Sherrill2-0/+56
cfsetispeed().
1998-05-22Added tcdrain(), cfgetospeed(), cfsetospeed(), cfgetispeed(), and cfsetispeed().Joel Sherrill1-1/+5
1998-05-20Patch to add return status to rtems_termios_enqueue_raw_characters fromJoel Sherrill2-2/+4
Eric Norum per request from Geoffroy Montel: > The rtems_termios_enqueue_raw_characters function type is void. > The problem is that I can't return an error message if the input > buffer is full. > Could we add a return value? Sure, but what would you do with the overflow indication? POSIX says, ``when the input limit is reached, the saved characters are thrown away without notice''. Anyhow, the change is so small I've done it and enclosed the patch.
1998-05-20Added tcdrain() from Eric NorumJoel Sherrill1-0/+1
1998-05-19Addition of tcdrain() from Eric Norum.Joel Sherrill1-0/+12
1998-05-19Removed prototype of rtems_libio_config() per Chris Johns' eagle eye.Joel Sherrill1-1/+0
1998-05-18Include memory for Ada task stacks.Joel Sherrill1-2/+2
1998-05-04Patch from Eric Norum to switch to termios callback structure, addJoel Sherrill2-38/+41
support for device driver support on tcsetattr(), and hardware flow control callbacks.
1998-05-04Added default value for CONFIGURE_MAXIMUM_POSIX_THREADS since it isJoel Sherrill1-0/+1
used to calculate the amount of memory used by tasks whether the POSIX API is enabled or disabled.
1998-04-30Removed redundant "* 1024" which exploded the size of the workspace.Joel Sherrill1-2/+2
1998-04-27Cosmetic fix from Eric Norum:Joel Sherrill1-1/+1
This makes the headings line up above the columns a little better. Now that it's so easy to include/exclude the stack check code I find myself adding it to all my `debug' targets.
1998-04-27Fixed CVS IdJoel Sherrill1-1/+1
1998-04-27Added numerous entries to make the memory calculation more accurate:Joel Sherrill1-1/+67
+ POSIX threads + Ada tasks + POSIX threads API support + POSIX condition variables + POSIX keys (still do not account for data fields) + POSIX mutexes + POSIX queued signals + added macro for extra memory for task stacks + default value for CONFIGURE_MAXIMUM_FAKE_ADA_TASKS + extra memory for Ada task stacks
1998-04-27Moved POSIX_signals_Siginfo_node structure definition to headers/psignal.hJoel Sherrill1-5/+1
so confdefs.h could see it.
1998-04-27Changed __POSIX_SIGNALS_h to __RTEMS_POSIX_SIGNALS_h to avoid conflict withJoel Sherrill1-2/+7
the system signals.h file. Moved POSIX_signals_Siginfo_node type definition to this file to allow confdefs.h to know the size per queued signal.
1998-04-18rtems_libio_number_iops is now defined in confdefs.h so the maximumJoel Sherrill1-1/+1
file descriptors is user configurable.
1998-04-18Changed to account for libio's maximum_semaphores as well as itsJoel Sherrill1-1/+5
memory requirements. Also added variable to tell libio how many file descriptors to allocate.
1998-04-15Fixed so this would compile without warning.Joel Sherrill1-0/+2
1998-04-15Added bh, ch, dh, bl, cl, and dl register macros.Joel Sherrill2-0/+14
1998-04-15Numerous changes which in total greatly reduced the amount of sourceJoel Sherrill2-19/+9
code in each BSP's bspstart.c. These changes were: + confdefs.h now knows libio's semaphore requirements + shared/main.c now copies Configuration to BSP_Configuration + shared/main.c fills in the Cpu_table with default values This removed the need for rtems_libio_config() and the constant BSP_LIBIO_MAX_FDS in every BSP. Plus now the maximum number of open files can now be set on the gcc command line.
1998-04-15Stack check now initialized as part of initial extension set.Joel Sherrill3-0/+65
1998-04-15Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill1-12/+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-15Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill5-16/+44
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-14Account for interrupt stack spaceJoel Sherrill1-1/+12
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-04-14Added stack checker extensionJoel Sherrill1-2/+14
1998-04-14Now accounts for region used by RTEMS malloc and extension usedJoel Sherrill1-4/+16
by newlib.