Commit Graph

2028 Commits

Author SHA1 Message Date
Joel Sherrill
d65d22a096 Corrected descriptions of log facility set manipulation routines as
part of the review.
1998-08-27 18:53:34 +00:00
Joel Sherrill
c5568160cb Corrected log_severity_before as part of reviewing the code. 1998-08-27 18:28:17 +00:00
Wade A Smith
9c79229d33 Incorporated the "#include <dump.h>" statement in file. 1998-08-26 14:18:36 +00:00
Wade A Smith
3e6eb1dd20 Incorporated the "#include cfg.h" statement in document 1998-08-26 14:13:48 +00:00
Wade A Smith
984e5c1d18 Incorporated the "#include <admin.h>" statement in file 1998-08-26 14:11:48 +00:00
Wade A Smith
30cc2e0722 Corrected mispelled words. 1998-08-26 14:08:20 +00:00
Joel Sherrill
571a9155fe Added some background and operations subsections. 1998-08-25 22:09:13 +00:00
Joel Sherrill
a99ea16bed Fixed spelling mistakes. 1998-08-25 21:02:58 +00:00
Joel Sherrill
142f6a5125 Fixed spelling mistake. 1998-08-25 20:56:43 +00:00
Joel Sherrill
d1a859c0c2 Cleaned up formatting.
Added notes on background and operations sections.

Added NOTE to indicate the feature flag defined.
1998-08-25 20:54:47 +00:00
Joel Sherrill
d5ef5bd16f Commit for review 1998-08-25 19:49:51 +00:00
Wade A Smith
2a23c28060 Documented the log_create and log_sys_create routines 1998-08-25 15:26:19 +00:00
Joel Sherrill
fd001d6fdb Posix users manual now makes multiple info files. 1998-08-24 17:38:00 +00:00
Joel Sherrill
755923238d changed version to 980824 1998-08-24 17:32:58 +00:00
Joel Sherrill
564d2c3a6b Patch from Eric Valette <valette@crf.canon.fr> to add an extra newline. 1998-08-24 16:59:20 +00:00
Joel Sherrill
69036586b5 Patch from Eric Valette <valette@crf.canon.fr>:
Celso Labinaz <labinaz@tin.it> pointed to me thatthe console on serial
    line was not working. After spending quite a time to find the right
    cable and software, I confirm this.

    I'm going to debug this in the next days because I want to use the
    serial line for debugging. In the meantime, in order to be sure that
    this was a driver initialization/bug, I made printk work on the serial
    line in order to be sure the receiver part and configuration was OK.

    Here is the for printk on serial line. BTW, does anyone else use the
    serial line facilities for PC? printf seems to output nothing (hello.exe
    output everything that has a printk but application printf seems to be
    broken).
1998-08-24 16:58:39 +00:00
Joel Sherrill
16f2037643 Regenerated 1998-08-24 14:50:23 +00:00
Joel Sherrill
ff0b0082b1 Added __RTEMS_INSIDE__ macro to insure that ".inl" files are ALWAYS included
when building the executive source.
1998-08-24 14:50:00 +00:00
Joel Sherrill
9a95524f29 Cleanup patch from Eric Norum. 1998-08-24 14:47:19 +00:00
Joel Sherrill
dffa3046d2 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch (rtems-rc-980821.diff) I had sent recently to fix the "make
    install" problem in rtems-980821/make/ still contained a bug (Thanks to
    Eric N. for reporting it).

    The patch enclosed to this mail is a corrected version of this patch,
    which finally should fix this problem.
1998-08-24 14:44:54 +00:00
Joel Sherrill
4baa0f58cc changed version to 980821 1998-08-21 18:19:29 +00:00
Joel Sherrill
4de817dfd2 Added i386 specific version of in_cksum.c and restructured the main
file to switch out to CPU specific implementations.
1998-08-21 18:14:27 +00:00
Joel Sherrill
cce81a748f A patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Here is another patch to hopefully enhance rtems' configuration.

    Motivation: Try to support other c-compilers besides gcc (I tried to
    build rtems under Solaris using sun's WSPro c-compiler).

    Here is a couple of small patches concerning the host compiler
    configuration, which fix/work-around the worst problems when using sun's
    WSPro c-compiler.

    Changes:
        * Replaced make/compilers/gcc.cfg with make/compilers/gcc.cfg.in, ie.
          gcc.cfg is generated by configure now.
        * Removed a line containing a hard-coded "gcc" from gcc.cfg (BUG-fix).
        * Add -g to host compiler flags only if configure reported -g to work
        * Add -Wall to host compiler flags only if configure reported that the
          host compiler is gcc (WSPro's cc chokes on -Wall).
        * Some modifications to make/Makefile.in
        * Adapted make/custom/default.cfg to the new location of gcc.cfg

    BTW, gcc.cfg/gcc.cfg.in seems to be full of unused code (DEBUG-VARIANTS
    etc.) which deserves to be cleaned up, IMO.

    IMO, a similar patch should be applied to gcc-target-default.cfg
1998-08-21 17:43:22 +00:00
Joel Sherrill
aa2171bd13 Modified version number to recut snapshot. 1998-08-21 17:42:25 +00:00
Joel Sherrill
617a1a2db1 Another missing piece. Thanks Eric. 1998-08-21 17:37:01 +00:00
Joel Sherrill
025eb96e78 changed version to 980821 1998-08-21 17:09:04 +00:00
Joel Sherrill
7a035ebcc0 Added system task attribute to allow one to create a task with "0" priority
via the user api.
1998-08-21 16:54:17 +00:00
Joel Sherrill
eb562f2c86 Patch from Eric Valette <valette@crf.canon.fr>:
Here is a patch that enables to catch exception
    and get message before crashing RTEMS :)

    It should be generic to any Intel port although enabled
    only for pc386 BSP...

    [Joel] I fixed the bug I introduced in irq_asm.s...
1998-08-21 16:39:52 +00:00
Joel Sherrill
2938140589 Spacing changes 1998-08-21 16:16:00 +00:00
Joel Sherrill
b3fd16416c Fix from Eric Norum <eric@skatter.usask.ca>:
"Thomas Doerfler" <td@imd.m.isar.de> wrote:
>
> While implementing/testing the console/termios support for
> PPC403 in RTEMS-4.0.0-beta3, I am stuck at a certain location in
> termios.c:
>
> During "rtems_termios_initialize", the main control data structure
> "*tty" is allocated using malloc(). (Note, that malloc does not
> clear the allocated memory and my BSP does not clear memory during
> startup). Furtheron, a lot of fields of that structure are
> initialized, but the field "rawOutBufState" is not, and therefore
> keeps an arbitrary contents.
>
> When "osend()" is called the first time(with the serial device
> driver working in interrupt mode), termios gets stuck and will not
> call the device drivers output function.
>
> My questions now are:
>
> - anybody already experienced this bug?
> - is it a bug at all or did I do anything fundamentally wrong?
> - is there already a common bugfix for that?
>
> I don't like poking around in other people code, as long as I am
> not absolutely sure, what I do...

Yes, there's a bug there.
I thought that Joel had patched this already, but here's a patch to
fix this.  This patch also addresses a concern that many others have
raised regarding enabling and disabling of transmitter interrupts.

First, here's the example I've been using of a simple UART-style
interrupt-driven driver:
===============================================================
void
device_write_routine (int minor, char *buf, int count)
{
        UART->control_register &= ~UART_TRANSMITTER_READY;
        UART->output_register = *buf;
        UART->control_register |= UART_TRANSMIT_INTERRUPT_ENABLE;
}

void
device_transmit_interrupt_routine (int vector)
{
        UART->control_register &= ~UART_TRANSMIT_INTERRUPT_ENABLE;
        rtems_termios_dequeue_characters (device_ttyp, 1);
}
==============================================================


Several people have expressed their concern about the disable/enable
of transmitter interrupts for every character.  On some machines
this disable/enable is an expensive operation.  With the attached
patch applied you can write the two routines as:
==============================================================
void
device_write_routine (int minor, char *buf, int count)
{
        code_to_clear_transmitter_ready_status ();
        if (device_ttyp->rawOutBufState == rob_idle)
                code_to_enable_transmitter_interrupts ();
        code_to_send_one_character_to_transmitter (*buf);
}

void
device_transmit_interrupt_routine (int vector)
{
        rtems_termios_dequeue_characters (device_ttyp, 1);
        if (device_ttyp->rawOutBufState == rob_idle)
                code_to_disable_transmitter_interrupts ();
}
===============================================================
1998-08-21 15:32:19 +00:00
Joel Sherrill
d47de32ff7 Update from Eric Norum. 1998-08-21 14:04:31 +00:00
Joel Sherrill
3c7f112a9e Regenerated 1998-08-21 13:05:18 +00:00
Joel Sherrill
33679ec46e All warnings removed. 1998-08-21 13:04:55 +00:00
Joel Sherrill
c3a1c0585c Removed networkconfig.h since it reflects target specific initialization. 1998-08-21 13:04:36 +00:00
Joel Sherrill
a83dd86106 Patch from Eric Norum 1998-08-21 12:59:04 +00:00
Joel Sherrill
d9de76f670 Update from Eric Norum. 1998-08-21 12:55:03 +00:00
Joel Sherrill
dd89471b86 Changed version. 1998-08-21 12:54:51 +00:00
Joel Sherrill
bd89c6c5a4 Added Networking and Obsoleted KA9Q manual. 1998-08-21 12:54:39 +00:00
Joel Sherrill
7c32af798e Added networking to public documents. 1998-08-21 12:54:19 +00:00
Joel Sherrill
6b384d927f Changed date/version. 1998-08-21 12:54:02 +00:00
Joel Sherrill
bbdab89563 Added initialization of missing termios structure entries. 1998-08-21 12:52:08 +00:00
Joel Sherrill
ab09043a27 Fixed warning about pointer/integer conversion which turned out to be
a missed "&" on a write.
1998-08-21 12:51:29 +00:00
Joel Sherrill
fd808baef4 Fixed discrepancies noted by John Oleynick <johno@sirius.com>. 1998-08-21 12:48:44 +00:00
Joel Sherrill
3f6b1baa92 Made the description of timeing generation more accurate. 1998-08-20 22:37:47 +00:00
Joel Sherrill
1e291bb060 Changed wording to read better for PSIM. 1998-08-20 22:37:12 +00:00
Joel Sherrill
7ddc6484ab New times. 1998-08-20 22:36:45 +00:00
Joel Sherrill
829c0c1964 Changed distribution level for this document. 1998-08-20 22:36:38 +00:00
Joel Sherrill
53c3f5fe24 Switched from generating tables based on CPU model to BSP. 1998-08-20 22:35:54 +00:00
Joel Sherrill
6a31f1dd2b Changed version. 1998-08-20 22:35:25 +00:00
Joel Sherrill
3866cd6ab4 PowerPC Supplement now part of support documentation. 1998-08-20 22:34:50 +00:00