summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added CPU_ISR_PASSES_FRAME_POINTER so some ports could pass just theJoel Sherrill1998-06-031-0/+7
| | | | | vector number to user ISR's and other ports could pass both the vector number and a pointer to the ISF.
* Corrected macros for assembly language program sections.Joel Sherrill1998-06-032-4/+4
|
* Corrected interrupt stack allocation.Joel Sherrill1998-05-271-3/+7
|
* Added tcdrain(), cfgetospeed(0, cfsetospeed(), cfgetispeed(), andJoel Sherrill1998-05-222-0/+56
| | | | cfsetispeed().
* Added tcdrain(), cfgetospeed(), cfsetospeed(), cfgetispeed(), and cfsetispeed().Joel Sherrill1998-05-221-1/+5
|
* Patch to add return status to rtems_termios_enqueue_raw_characters fromJoel Sherrill1998-05-202-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.
* Added tcdrain() from Eric NorumJoel Sherrill1998-05-201-0/+1
|
* Addition of tcdrain() from Eric Norum.Joel Sherrill1998-05-191-0/+12
|
* Removed prototype of rtems_libio_config() per Chris Johns' eagle eye.Joel Sherrill1998-05-191-1/+0
|
* Include memory for Ada task stacks.Joel Sherrill1998-05-181-2/+2
|
* Patch from Eric Norum to switch to termios callback structure, addJoel Sherrill1998-05-042-38/+41
| | | | | support for device driver support on tcsetattr(), and hardware flow control callbacks.
* Added default value for CONFIGURE_MAXIMUM_POSIX_THREADS since it isJoel Sherrill1998-05-041-0/+1
| | | | | used to calculate the amount of memory used by tasks whether the POSIX API is enabled or disabled.
* Removed redundant "* 1024" which exploded the size of the workspace.Joel Sherrill1998-04-301-2/+2
|
* Cosmetic fix from Eric Norum:Joel Sherrill1998-04-271-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.
* Fixed CVS IdJoel Sherrill1998-04-271-1/+1
|
* Added numerous entries to make the memory calculation more accurate:Joel Sherrill1998-04-271-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
* Moved POSIX_signals_Siginfo_node structure definition to headers/psignal.hJoel Sherrill1998-04-271-5/+1
| | | | so confdefs.h could see it.
* Changed __POSIX_SIGNALS_h to __RTEMS_POSIX_SIGNALS_h to avoid conflict withJoel Sherrill1998-04-271-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.
* rtems_libio_number_iops is now defined in confdefs.h so the maximumJoel Sherrill1998-04-181-1/+1
| | | | file descriptors is user configurable.
* Changed to account for libio's maximum_semaphores as well as itsJoel Sherrill1998-04-181-1/+5
| | | | | | memory requirements. Also added variable to tell libio how many file descriptors to allocate.
* Fixed so this would compile without warning.Joel Sherrill1998-04-151-0/+2
|
* Added bh, ch, dh, bl, cl, and dl register macros.Joel Sherrill1998-04-152-0/+14
|
* Numerous changes which in total greatly reduced the amount of sourceJoel Sherrill1998-04-152-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.
* Stack check now initialized as part of initial extension set.Joel Sherrill1998-04-153-0/+65
|
* Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill1998-04-151-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.
* Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill1998-04-155-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.
* Account for interrupt stack spaceJoel Sherrill1998-04-141-1/+12
|
* Ralf Corsepius suggested a way to get rid of UNIX compiler files and use ↵Joel Sherrill1998-04-141-1/+0
| | | | gcc-target-default.cfg
* Added stack checker extensionJoel Sherrill1998-04-141-2/+14
|
* Now accounts for region used by RTEMS malloc and extension usedJoel Sherrill1998-04-141-4/+16
| | | | by newlib.
* Increased stack space of the monitor task.Joel Sherrill1998-04-061-1/+1
|
* More stuff removed as a result of using newlib's isatty() implementation.Joel Sherrill1998-04-061-11/+0
| | | | These were noticed by Eric Norum.
* Removed isatty() since we are now using newlib's implementation asJoel Sherrill1998-04-031-1/+0
| | | | a result of enabling the newlib POSIX directory.
* Made these have real constants.Joel Sherrill1998-04-031-6/+6
|
* Added "sigemptyset()" call to insure that the memcmp() would work.Joel Sherrill1998-03-311-0/+4
| | | | | It appears that the new glibc does not clear all the bits of the signal set with a sigprocmask.
* Changed int to unsigned32 to match cpu.h.Joel Sherrill1998-03-271-1/+1
|
* Should have included <rtems.h> before checking for ifdef RTEMS_UNIX.Joel Sherrill1998-03-271-2/+2
| | | | Bug report from Olivier Hainque <hainque@inf.enst.fr> on SPARC Solaris 2.6.
* m68k software interrupt stack support from Chris Johns and Eric Norum.Joel Sherrill1998-03-251-4/+0
|
* Added _XOPEN_SOURCE definition to allow use of UNIX IPC.Joel Sherrill1998-03-241-0/+1
|
* Real definition for the beginning of the data section per Eric Norum'sJoel Sherrill1998-03-242-4/+4
| | | | suggestion.
* Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros forJoel Sherrill1998-03-241-4/+4
| | | | the CPU family name constants.
* SH port submitted from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill1998-03-203-0/+506
|
* Modified to make it possible for an ISR to return a mutex which didJoel Sherrill1998-02-201-2/+20
| | | | not use priority ceiling or priority inheritance protocols.
* Added misisng line continuation.Joel Sherrill1998-02-201-1/+1
|
* Accounted for fixed system overhead.Joel Sherrill1998-02-191-2/+10
|
* Ralf Corsepius noted that there was a dead path in _Thread_Initialize.Joel Sherrill1998-02-181-6/+2
|
* updated copyright to 1998Joel Sherrill1998-02-17246-247/+247
|
* Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1998-02-171-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've gone through and cleaned up the TFTP driver so that it fits into the libio system. Here's the comment from the new driver: /* * Usage: * * To open `/bootfiles/image' on `hostname' for reading: * fd = open ("/TFTP/hostname/bootfiles/image", O_RDONLY); * * The `hostname' can be a symbolic name or four * dot-separated decimal values. * * To open a file on the host which supplied the BOOTP * information just leave the `hostname' part empty: * fd = open ("/TFTP//bootfiles/image", O_RDONLY); * */ You can `fopen' TFTP files the same way: fp = fopen (fullname, "r"); nread = fread (cbuf, sizeof cbuf[0], sizeof cbuf, fp); The diff's are included below. I've also modified the TFTP demo program and the bootstrap PROM example. They should be on my ftp site `soon'. The one thing I don't like is the way I had to do an end-run on the libio routines to get errno passed back from my driver to the application (since there are some errno codes that don't map to RTEMS status codes). My approach was to set errno in the driver and have the driver routine return an RTEMS status code that I `know' isn't in the errno_assoc[] in libio.c. Perhaps there should be an RTEMS_TRANPARENT_ERRNO status code (or something similar) which driver routines could return to indicate that the driver routine has set errno and that the libio routines shouldn't attempt to map the returned status code to errno. Actually, I think the entire I/O system needs looking at -- as you've already mentioned. The hacks I've dropped in to syscalls.c to make fstat work, for example, are *not* shining examples of good code......
* Patch from Ralf Corsepius to reduce the amount of memory consumed byJoel Sherrill1998-02-041-2/+6
| | | | the workspace by default.
* Ralf Corsepius noticed that generally was spelled incorrectly.Joel Sherrill1998-02-041-1/+1
|