Commit Graph

4182 Commits

Author SHA1 Message Date
Joel Sherrill
77989a586e Make sure debug variant output goes into a different log file. 2000-05-24 17:01:02 +00:00
Joel Sherrill
9cad6a0214 Now can bring up an idle initialization task. 2000-05-24 16:57:07 +00:00
Joel Sherrill
1296960168 Added screen contents. 2000-05-24 16:52:34 +00:00
cvs2git
978b21bd73 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-24 16:51:23 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file.':
    c/src/tests/libtests/malloctest/malloctest.scn
    scripts/config.guess
    scripts/config.sub
2000-05-24 16:51:24 +00:00
Joel Sherrill
d7bf62566d Increased task stack configured. 2000-05-24 16:50:26 +00:00
Joel Sherrill
95df6137e9 Added malloctest back in to set of tests to run. 2000-05-24 16:49:16 +00:00
Joel Sherrill
bef66a669f Fixed bug so debug variant of MP tests could be run. 2000-05-24 16:44:13 +00:00
Joel Sherrill
9b3cdfe85f Updated. 2000-05-24 15:56:20 +00:00
Joel Sherrill
70f1f1d971 Initial DEC 21143 support from Stephan Wilms <Stephan.Wilms@CWA.de>.
Comments follow:

 This support is (for now) only available for the __i386 target, because
 that's the only testing platform I have. It should to my best knowledge
 work in the same way for the "__PPC" target, but someone should test
 this first before it's put into the code. Thanks go to Andrew Klossner
 who provided the vital information about the Intel 21143 chip.

 (FWIW: my network card is a Kingston KNE100TX with 21143PD chip)
2000-05-24 15:55:00 +00:00
Joel Sherrill
2c8485b663 Eliminated printing from switch extension. 2000-05-24 15:37:32 +00:00
Joel Sherrill
2fbdbd4f14 Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABLE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined


bsp.h now defines so BSP specific requirements are accounted for:
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 14:36:52 +00:00
Joel Sherrill
1a9006a68a Added a return to the bottom. 2000-05-24 14:23:34 +00:00
Joel Sherrill
8fe36e1c4d Removed some warnings. 2000-05-24 14:21:27 +00:00
Joel Sherrill
625f1a61a1 Remove NO_CPU reference. 2000-05-23 21:31:44 +00:00
Joel Sherrill
7c1a82facd Patch from Jennifer Averett <jennifer.averett@oarcorp.com> to make
this C++ safe.
2000-05-23 15:41:04 +00:00
Joel Sherrill
1b6969373d Added routines addr2ascii.c and ascii2addr.c even though they
are not reentrant.  Eric Norum <eric@cls.usask.ca> at
request of John Cotton <john.cotton@nrc.ca>.
2000-05-23 15:15:19 +00:00
Joel Sherrill
58271f676d Added code to determine RPM CPU type for the host OS. This is
needed to determine that on x86-linux, RPM builds "i386" RPMs
while on Sparc/Solaris, it builds "sparc" RPMs.  Since the
buildall script installs the binutils RPM to build the gccnewlib
RPM, it needs to know this.
2000-05-21 15:23:02 +00:00
Joel Sherrill
f9c0574793 This is an update of all Classic API Message Manager tests to
eliminate code which assumes that 4 * sizeof(unsigned32) == 16)
and that a 16 byte message can be assumed to be 4 unsigned32's.
These assumptions are invalid on target processors that are
not byte-addressable.
2000-05-19 19:13:09 +00:00
Joel Sherrill
9f2e6c6c7d Changed versions. 2000-05-19 19:07:04 +00:00
Joel Sherrill
e22e30858e Use minimum stack size. 2000-05-19 19:06:24 +00:00
Joel Sherrill
6174e27e89 Changed to use minimum stack size. 2000-05-19 19:04:45 +00:00
Joel Sherrill
ef0126bba2 Changed screen to have indeterminate addresses. 2000-05-19 19:04:28 +00:00
Joel Sherrill
9064ad45e1 Made note that Version, CPU, and BSP will vary. 2000-05-19 19:03:41 +00:00
Joel Sherrill
fb4541be87 Removed duplicated call to unmount filesystem. 2000-05-19 19:02:30 +00:00
Joel Sherrill
459d051bcf Corrected direction of comparison in sizeof context overlay. 2000-05-19 19:01:39 +00:00
Joel Sherrill
d88b46fe00 Removed HWAPI reference. 2000-05-17 13:59:36 +00:00
Joel Sherrill
00b772a3a1 Applied patch to wrong place in code. 2000-05-17 13:46:40 +00:00
Joel Sherrill
580c7a94f9 Adding code to test for maximum filesize and skip some tests. 2000-05-16 19:23:16 +00:00
Joel Sherrill
0632b75420 Initialize the variable. 2000-05-16 19:19:47 +00:00
Joel Sherrill
2936e9721f Use sizeof(unsigned32) not 4. 2000-05-16 19:19:18 +00:00
Joel Sherrill
a93350a415 Use CPU_ALIGNMENT not 4. 2000-05-16 19:18:03 +00:00
Joel Sherrill
f48cad9cec Constant of 4 for size is bad. 2000-05-16 19:16:39 +00:00
Joel Sherrill
250edf6f78 Modified to avoid copying too much data. 2000-05-16 19:15:25 +00:00
Joel Sherrill
8531dceb87 Updated to have better comments that can be searched and replaced. 2000-05-16 19:13:46 +00:00
Joel Sherrill
72988cd968 Changed RTEMS_MAXIMUM_NAME_LENGTH to ITRON_MAXIMUM_NAME_LENGTH. 2000-05-16 19:11:33 +00:00
Joel Sherrill
aaf44d495a Do not prototype fileno() if is is a macro. This was tripped on Solaris. 2000-05-16 19:07:19 +00:00
Joel Sherrill
055b7d5fe1 Corrected order of arguments to strncpy(). 2000-05-16 19:06:41 +00:00
Joel Sherrill
078280e025 Use CPU_HEAP_ALIGNMENT not CPU_ALIGNMENT. 2000-05-16 19:05:49 +00:00
Joel Sherrill
ba4b9ffe55 Changed <= to < to prevent overindexing array of file control blocks
(rtems_libio_iops).
2000-05-16 19:04:21 +00:00
Joel Sherrill
51e4268d73 Do not look for C++ compiler if C++ is disabled. 2000-05-16 18:58:58 +00:00
Joel Sherrill
017cb2be68 Do not dereference NULL per bug report from Victor V. Vengerov <vvv@oktet.ru>. 2000-05-16 18:58:18 +00:00
Joel Sherrill
01e0e43f7f Update from Eric Norum to fix dereference of zero and correct
test behavior.  Based on report from Victor V. Vengerov <vvv@oktet.ru>.
2000-05-16 18:44:03 +00:00
Joel Sherrill
405990a70c Added code to check for NULL pointer per bug report from
Victor V. Vengerov <vvv@oktet.ru>.
2000-05-16 18:43:00 +00:00
Joel Sherrill
b6206ccbad Modified to enable thread safe libraries. 2000-05-16 18:39:39 +00:00
Joel Sherrill
a4cb8f0d28 Patch from Eric Norum <eric@cls.usask.ca> to fix bug from
Alexey S. Fadeyev <alexey@vocord.com>.  Discussion follows:

    "Alexey S. Fadeyev" wrote:
    > So if I run this application it tell me :
    > > connect_task: Connection established
    > > accept somthing
    >
    > But if I try to connect to invalid port (3001 for example) it also tell me
    > that connection
    > established but bind_task did't accept it. So how I can find out in
    > connect_task does my connection realy
    > exist ? What type of socket is here? Blocking or non-blocking? I try used
    > select but it did't help - it
    > always tell me from connect_task that connection is valid.
    >

    Yep -- there was a problem alright.  The connect() routine wasn't
    returning an error indication when it should have.  Note that this
    problem was not limited to the loopback driver -- a refused connection
    from any server would return `success'.
2000-05-11 20:37:59 +00:00
Joel Sherrill
6c30cc6f4d changed version to 4.5.0-beta3 2000-05-10 14:48:45 +00:00
Joel Sherrill
3673fbd84f Updated. 2000-05-10 13:35:18 +00:00
Joel Sherrill
405543d683 Corrected to flag that this test is not implemented. 2000-05-10 13:34:15 +00:00
Joel Sherrill
a2a0c9eabd Updated to indicate that it has been tested and that the ulClock
parameter now supports overrides.
2000-05-08 21:50:20 +00:00
Joel Sherrill
b12d10b4e0 RTEMS specific thread support for G++. This implementation
includes RTEMS wrappers invoked by gcc.  The beauty of this
is that it puts the implementation in our hands. :)

It uses a mutex ( semaphore ), and task variables simulating
the "keys" for each task.

Thanks to Rosimildo da Silva <rdasilva@connectel.com> for
submitting this.
2000-05-08 21:21:29 +00:00