Commit Graph

2932 Commits

Author SHA1 Message Date
Joel Sherrill
cb202941d9 Added tool hints. 1999-05-14 15:19:39 +00:00
Joel Sherrill
2bd93831c5 New file. 1999-05-14 15:15:57 +00:00
Joel Sherrill
a0b94685cd Removed check for initialized ID at request of Rosimildo DaSilva
<rdasilva@connecttel.com> who encountered random failures in his
port of omniORB2.
1999-05-14 14:43:53 +00:00
Joel Sherrill
123d4b7dc1 Removed -fomit-frame-pointer from all i386 BSPs since it breaks C++
exceptions and makes debug stack traces impossible.
1999-05-14 14:34:39 +00:00
Joel Sherrill
4c5080ed09 Fix based on bug report from Jay Kulpinski <jskulpin@eng01.gdds.com>
that the per task reentrancy structure was not being processed properly
during exit().

joel@oarcorp.com wrote:
>
>
> This is always an ugly place to poke around. :(
>
> The code in newlib/libc/stdlib/exit.c walks the atexit chain for the
> reentrancy structure for JUST the current task.  The code in libc_wrapup()
> does it for both the current task and the global reentrancy structure
> (which tends to be where driver atexit()'s were registered.
>
> So I think the _wrapup_reent(0) in libc_wrapup() should be commented out.
>
> If you concur, then I will make the change and improve the comment on this
> line of code to explain things:
>
>     libc_wrapup(); /* Why? XXX */
>
> --joel

That does the job.  cdtest.exe works correctly now.
1999-05-11 16:30:51 +00:00
Joel Sherrill
ddd22e5d0d Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to correct 32 bit
jmp relative offset from .reset section.
1999-05-11 15:15:03 +00:00
Joel Sherrill
5a909149ca Made all calls to _Thread_Yield_processor consistent in how they are
wrapped by calls to _Thread_Enable_dispatch and _Thread_Disable_dispatch.
1999-05-07 17:09:20 +00:00
Joel Sherrill
16775a5535 Patch from Jiri Gaisler <jgais@ws.estec.esa.nl> to allow stacksize
of POSIX Init thread to be user configured.
1999-05-07 16:36:29 +00:00
Joel Sherrill
0700136005 Added rules to handle alternate suffixes for C++ files. 1999-05-07 16:31:08 +00:00
Joel Sherrill
acb644a66f Error reporting fixed by Jennifer. 1999-05-07 16:30:44 +00:00
Joel Sherrill
c34aaae7e6 Bug fix from Gunter Magin <magin@@skil.camelot.de>:
in libcpu/powerpc/mpc860/clock/clock.c:InstallClock() the reload value for
    the PIT is defined as:

      pit_value = (BSP_Configuration.microseconds_per_tick *
                 Cpu_table.clicks_per_usec) - 1 ;

    What exactly is a tick, and what is a click?

    My confusion stems from the fact, that Jay defines clicks_per_usec to 1
    which is correct for his configuration, where a 4MHz clock is predivided
    by 4 and then fed to the PIT. So I assume a "click" is just the period of
    the PIT input frequency.

    However, our HW config seems to have 32.768 kHz crystal input for PIT.
    Mandatory division by 4 means 8.196kHz (122usec) at the PIT.

    I think, the above assignment should read:

      pit_value = (BSP_Configuration.microseconds_per_tick /
                 Cpu_table.clicks_per_usec) - 1;

    where I can define Cpu_table.clicks_per_usec in bspstart.c to 122
    (clicks_per_usec). That would lead to a PIT reload value of
    10000/122 - 1 = 81 to reach a 10ms "tick" period.
1999-05-07 16:29:54 +00:00
Joel Sherrill
b06279dfc0 Bug fix from Gunter Magin <magin@skil.camelot.de>:
in libcpu/powerpc/mpc860/clock/clock.c:InstallClock() the reload value for
    the PIT is defined as:

      pit_value = (BSP_Configuration.microseconds_per_tick *
                 Cpu_table.clicks_per_usec) - 1 ;

    What exactly is a tick, and what is a click?

    My confusion stems from the fact, that Jay defines clicks_per_usec to 1
    which is correct for his configuration, where a 4MHz clock is predivided
    by 4 and then fed to the PIT. So I assume a "click" is just the period of
    the PIT input frequency.

    However, our HW config seems to have 32.768 kHz crystal input for PIT.
    Mandatory division by 4 means 8.196kHz (122usec) at the PIT.

    I think, the above assignment should read:

      pit_value = (BSP_Configuration.microseconds_per_tick /
                 Cpu_table.clicks_per_usec) - 1;

    where I can define Cpu_table.clicks_per_usec in bspstart.c to 122
    (clicks_per_usec). That would lead to a PIT reload value of
    10000/122 - 1 = 81 to reach a 10ms "tick" period.
1999-05-07 16:28:43 +00:00
Joel Sherrill
f779efcba8 Added paragraph for Tony Ambardar (tonya@ece.ubc.ca) submitting
a BSP for the TS-1325 embedded PC from Technologic Systems
(http://www.t-systems.com) and patches to enable software
floating-point emulation for x86 targets.
1999-04-29 19:08:04 +00:00
Joel Sherrill
8846bbd0ec Patch from Emmanuel Raguet <raguet@crf.canon.fr>:
I have made test with the Dec21140 driver and it appears that all
    works fine even if the cache is enabled for the memory space in
    which the incoming and outcoming Ethernet frames are stored.

    I have had #ifdef to "comment" the code. If you want to disable
    cache, you only have to #define the name. It could be mandatory
    for some BSPs.
1999-04-28 13:59:11 +00:00
Joel Sherrill
cfcb5a299a Patch from Eric Norum <eric@cls.usask.ca> to corrent a miscount in length
that results in an error in parsing network unit names/numbers.
1999-04-27 17:31:39 +00:00
Joel Sherrill
9ae3b06edc changed version to 19990426 1999-04-26 18:41:28 +00:00
Joel Sherrill
c7aa9d6ff8 Repairing damage and recovering changes including C++ wrappers.. 1999-04-26 18:22:08 +00:00
Joel Sherrill
3aeaca9071 changed version to 19990426 1999-04-26 18:08:24 +00:00
Joel Sherrill
c8cfdcfe53 Recovered changes since CVS file was corrupted. 1999-04-26 18:04:46 +00:00
Joel Sherrill
05bacd5a31 changed version to 19990426 1999-04-26 17:53:25 +00:00
Joel Sherrill
8b8204a1c4 changed version to 19990426 1999-04-26 17:35:57 +00:00
Joel Sherrill
20b457a175 Fixed Makefile to avoid copying the file to a new name. 1999-04-23 16:49:13 +00:00
Joel Sherrill
7a8dfad063 Changed date. 1999-04-23 16:42:01 +00:00
Joel Sherrill
44d05b2c95 Switched to full doc set. 1999-04-23 16:40:52 +00:00
Joel Sherrill
0b28bd9c0b changed version to 19990423 1999-04-23 16:37:54 +00:00
Joel Sherrill
16a384cfb1 New BSP from Tony R. Ambardar <tonya@ece.ubc.ca> from the
University of British Columbia.  The BSP is for:

    Yes, this is the "entry model" of a series of boards from Technologic
    Systems. Costs <$200 I believe. They have a WWW page at www.t-systems.com.
    I am letting them know about the availability of this BSP too.
1999-04-23 16:35:11 +00:00
Joel Sherrill
933388ae2d Added lstat(). 1999-04-22 21:13:23 +00:00
Joel Sherrill
3599c5e5d0 Added some CPU models that did not have BSPs. 1999-04-22 21:12:59 +00:00
Joel Sherrill
f0f70167f9 Regenerated. 1999-04-21 16:15:27 +00:00
Joel Sherrill
e4ca8d71cc Updated to reflect inclusion of IRQ test in ada examples. 1999-04-20 13:08:47 +00:00
Joel Sherrill
b4b8d2eb05 Added FAQ to the documentation set. 1999-04-19 22:34:30 +00:00
Joel Sherrill
92ff2667f4 Added debugging hints to the FAQ. 1999-04-19 22:34:20 +00:00
Joel Sherrill
07b8f2689e New file. 1999-04-19 22:31:11 +00:00
Joel Sherrill
a2fa66c3b6 Updated to include first set of questions. 1999-04-19 22:23:03 +00:00
Joel Sherrill
fe6bc7c205 First attempt to build. 1999-04-19 21:55:59 +00:00
Joel Sherrill
a7a33e7aa7 New file. 1999-04-19 21:54:16 +00:00
Joel Sherrill
81e72bc41f Regenerated. 1999-04-19 21:49:18 +00:00
Joel Sherrill
017f6e57e4 New file based on notes from Jiri Gaisler <jgais@ws.estec.esa.nl>. 1999-04-19 21:18:18 +00:00
Joel Sherrill
63135370d4 Added info based on i960HA support. 1999-04-19 21:04:34 +00:00
Joel Sherrill
c2463d94b3 Intel i960HA support submitted by Jimen Ching <jimen@adtech-inc.com>
based on 3.6.0.  It was very lucky that this went in as well as it
did.
1999-04-19 21:02:31 +00:00
Joel Sherrill
338502f1ad Unlimited objects information from Chris Johns (ccj@acm.org). 1999-04-19 17:40:20 +00:00
Joel Sherrill
b56206a6ca Unlimited objects patch design document. Submitted by Chris Johns
<ccj@acm.org> of Objective Design Systems.
1999-04-19 17:30:02 +00:00
Joel Sherrill
4186b3bb0c Changed ioctl() prototype to be more like Linux/POSIX than BSD to ease
porting of ACE to RTEMS.
1999-04-19 17:17:41 +00:00
Joel Sherrill
0213bcfc6a Turned on console interrupts. 1999-04-19 17:14:11 +00:00
Joel Sherrill
df3e78a86b The default action for real-time signals is supposed to be SIGACTION_TERMINATE.
Jiri Gaisler caught this and submitted a patch but a subsequent patch
backed it out accidentally.
1999-04-19 15:54:03 +00:00
Joel Sherrill
ce11bed5bd New files. 1999-04-19 15:48:16 +00:00
Joel Sherrill
c011b4730c Regenerated 1999-04-19 15:47:15 +00:00
Joel Sherrill
1059abcd94 Regenerated. 1999-04-19 15:37:36 +00:00
Joel Sherrill
7807b30e08 Direct .gcc_exc section to ram to eliminate the warning Ralf Corsepius is
seeing.
1999-04-19 15:36:21 +00:00
Joel Sherrill
ac91855d33 After discussion with Eric Norum <eric@skatter.usask.ca>,
I added __INSIDE_RTEMS_BSD_TCPIP_STACK__ that trips all the needed
macro definitions for a network driver.
1999-04-19 15:27:21 +00:00