Joel Sherrill
7e4c3d8b1d
Modified _Objects_Is_class_valid() to correctly report that 0 was
...
not a valid object class. This was discovered while looking for
a bug reported by Jennifer.
1998-06-18 18:58:42 +00:00
Joel Sherrill
9a6994b490
Added freebsd support from Dario Alcocer <alcocer@connectnet.com>.
1998-06-18 15:22:35 +00:00
Joel Sherrill
ce691c51fd
Corrected so it returns the correct date. Previously was getting the number
...
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-18 15:14:48 +00:00
Joel Sherrill
ecc9737f40
Added a public interface to the chain handler.
1998-06-18 15:12:27 +00:00
Joel Sherrill
773890639c
Added optimized version of memcpy.c to this directory since RTEMS makes
...
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-12 21:12:12 +00:00
Joel Sherrill
937a6f3cef
Added CPU_ISR_PASSES_FRAME_POINTER so some ports could pass just the
...
vector number to user ISR's and other ports could pass both the vector
number and a pointer to the ISF.
1998-06-03 19:00:17 +00:00
Joel Sherrill
75d0b0b83a
Corrected macros for assembly language program sections.
1998-06-03 18:49:38 +00:00
Joel Sherrill
71d07b9ddf
Corrected interrupt stack allocation.
1998-05-27 19:18:02 +00:00
Joel Sherrill
119bced0fd
Added tcdrain(), cfgetospeed(0, cfsetospeed(), cfgetispeed(), and
...
cfsetispeed().
1998-05-22 14:51:11 +00:00
Joel Sherrill
e2476ed4d1
Added tcdrain(), cfgetospeed(), cfsetospeed(), cfgetispeed(), and cfsetispeed().
1998-05-22 14:49:49 +00:00
Joel Sherrill
27dccaec15
Patch to add return status to rtems_termios_enqueue_raw_characters from
...
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-20 17:09:12 +00:00
Joel Sherrill
603d706083
Added tcdrain() from Eric Norum
1998-05-20 17:00:22 +00:00
Joel Sherrill
9c3b406b4d
Addition of tcdrain() from Eric Norum.
1998-05-19 11:34:04 +00:00
Joel Sherrill
3ac8e59c93
Removed prototype of rtems_libio_config() per Chris Johns' eagle eye.
1998-05-19 10:53:12 +00:00
Joel Sherrill
bac7b61449
Include memory for Ada task stacks.
1998-05-18 16:37:00 +00:00
Joel Sherrill
161e1b3f6a
Patch from Eric Norum to switch to termios callback structure, add
...
support for device driver support on tcsetattr(), and hardware
flow control callbacks.
1998-05-04 12:41:07 +00:00
Joel Sherrill
10b3c9b3ef
Added default value for CONFIGURE_MAXIMUM_POSIX_THREADS since it is
...
used to calculate the amount of memory used by tasks whether the
POSIX API is enabled or disabled.
1998-05-04 12:35:22 +00:00
Joel Sherrill
b7be9c30d2
Removed redundant "* 1024" which exploded the size of the workspace.
1998-04-30 11:41:09 +00:00
Joel Sherrill
baa876a409
Cosmetic fix from Eric Norum:
...
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-27 15:14:30 +00:00
Joel Sherrill
72aa8cf4a8
Fixed CVS Id
1998-04-27 14:16:29 +00:00
Joel Sherrill
308aed9b39
Added numerous entries to make the memory calculation more accurate:
...
+ 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-27 13:49:42 +00:00
Joel Sherrill
20fff72b41
Moved POSIX_signals_Siginfo_node structure definition to headers/psignal.h
...
so confdefs.h could see it.
1998-04-27 13:46:45 +00:00
Joel Sherrill
9f0dfeafdb
Changed __POSIX_SIGNALS_h to __RTEMS_POSIX_SIGNALS_h to avoid conflict with
...
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-27 13:46:18 +00:00
Joel Sherrill
4955afcca5
rtems_libio_number_iops is now defined in confdefs.h so the maximum
...
file descriptors is user configurable.
1998-04-18 17:25:35 +00:00
Joel Sherrill
4390882539
Changed to account for libio's maximum_semaphores as well as its
...
memory requirements.
Also added variable to tell libio how many file descriptors to allocate.
1998-04-18 17:24:56 +00:00
Joel Sherrill
edffc05456
Fixed so this would compile without warning.
1998-04-15 22:16:43 +00:00
Joel Sherrill
8a1636d39f
Added bh, ch, dh, bl, cl, and dl register macros.
1998-04-15 22:16:22 +00:00
Joel Sherrill
bd9c3d1e76
Numerous changes which in total greatly reduced the amount of source
...
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-15 20:50:31 +00:00
Joel Sherrill
71f4beb0cd
Stack check now initialized as part of initial extension set.
1998-04-15 15:08:49 +00:00
Joel Sherrill
9b64c2d5f7
Per suggestion from Eric Norum, went from one initial extension set
...
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-15 00:10:03 +00:00
Joel Sherrill
0451b44f36
Per suggestion from Eric Norum, went from one initial extension set
...
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-15 00:02:10 +00:00
Joel Sherrill
01a49905ae
Account for interrupt stack space
1998-04-14 22:56:31 +00:00
Joel Sherrill
4381e50e1e
Ralf Corsepius suggested a way to get rid of UNIX compiler files and use gcc-target-default.cfg
1998-04-14 22:44:49 +00:00
Joel Sherrill
ab97da95b3
Added stack checker extension
1998-04-14 21:30:10 +00:00
Joel Sherrill
3b89891244
Now accounts for region used by RTEMS malloc and extension used
...
by newlib.
1998-04-14 20:54:26 +00:00
Joel Sherrill
7ff01ac4d3
Increased stack space of the monitor task.
1998-04-06 21:41:50 +00:00
Joel Sherrill
c796ea979c
More stuff removed as a result of using newlib's isatty() implementation.
...
These were noticed by Eric Norum.
1998-04-06 15:57:58 +00:00
Joel Sherrill
b82c9578f4
Removed isatty() since we are now using newlib's implementation as
...
a result of enabling the newlib POSIX directory.
1998-04-03 18:45:42 +00:00
Joel Sherrill
a456074d78
Made these have real constants.
1998-04-03 18:44:44 +00:00
Joel Sherrill
5e34bf4b95
Added "sigemptyset()" call to insure that the memcmp() would work.
...
It appears that the new glibc does not clear all the bits of the signal
set with a sigprocmask.
1998-03-31 14:19:27 +00:00
Joel Sherrill
a30359bbdd
Changed int to unsigned32 to match cpu.h.
1998-03-27 19:42:58 +00:00
Joel Sherrill
3973e40a54
Should have included <rtems.h> before checking for ifdef RTEMS_UNIX.
...
Bug report from Olivier Hainque <hainque@inf.enst.fr > on SPARC Solaris 2.6.
1998-03-27 16:34:25 +00:00
Joel Sherrill
c80add4623
m68k software interrupt stack support from Chris Johns and Eric Norum.
1998-03-25 18:46:47 +00:00
Joel Sherrill
ddf142da51
Added _XOPEN_SOURCE definition to allow use of UNIX IPC.
1998-03-24 20:53:48 +00:00
Joel Sherrill
bdac86b583
Real definition for the beginning of the data section per Eric Norum's
...
suggestion.
1998-03-24 17:13:03 +00:00
Joel Sherrill
3ec7bfc7c4
Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros for
...
the CPU family name constants.
1998-03-24 16:24:39 +00:00
Joel Sherrill
50cf94da7e
SH port submitted from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1998-03-20 17:16:31 +00:00
Joel Sherrill
9b39bab01d
Modified to make it possible for an ISR to return a mutex which did
...
not use priority ceiling or priority inheritance protocols.
1998-02-20 20:23:57 +00:00
Joel Sherrill
a66186ec6a
Added misisng line continuation.
1998-02-20 19:57:53 +00:00
Joel Sherrill
b3dcd9a271
Accounted for fixed system overhead.
1998-02-19 22:54:35 +00:00