Commit Graph

2067 Commits

Author SHA1 Message Date
Wade A Smith
433c558577 Changes the name of readdir, umask, mkdir, chmod, chown to cfg_readdir,
cfg_umask, cfg_mkdir, cfg_chmod, cfg_chown respectively.
1998-09-13 13:44:28 +00:00
Wade A Smith
08142b486b Documented the following routines added to the Configuration Space
Management: readdir, open, umask, link, mkdir, unlink, chmod, and chown.,
1998-09-12 15:57:18 +00:00
Joel Sherrill
bfcf4cb3db Updates to tree to make it build with all desired changes and the conversion
of the SONIC driver to the new FreeBSD stack instead of KA9Q.
1998-09-11 23:35:09 +00:00
Wade A Smith
23f014af5b Added documentation for the log_facilityisvalid routine and add thew
status code EINVAL to the log_seek routine.
1998-09-11 19:21:41 +00:00
Joel Sherrill
b29378e052 Corrected spelling error. 1998-09-11 19:17:49 +00:00
Joel Sherrill
c5bb1e02b6 changed version to 980911 1998-09-11 15:40:41 +00:00
Joel Sherrill
b39563695d Patch from "David J. Fiddes" <D.J@fiddes.surfaid.org>:
I've fixed a few minor probs with the optimised version that Eric put
    together for me the other day and sent the fixes back to him. Provided he
    doesn't have a problem with it we've got a pretty solid in_cksum for the
    ColdFire as well as straight m68k. I've enclosed my updated in_cksum_m68k.c

    At the moment my own bottlenecks are elsewhere...as my driver is pulling
    16bit data chunks through a libchip-esq access routine from the chip which
    for a polled I/O device is never going to be quick.
1998-09-11 13:12:04 +00:00
Joel Sherrill
0ea9829786 Fixed back so it would build. 1998-09-10 13:07:31 +00:00
Joel Sherrill
d2b120444e Added references. 1998-09-10 13:07:20 +00:00
Joel Sherrill
bd3dec56a6 Patch from Eric Norum <eric@skatter.usask.ca>:
If you're getting close to a new snaphot, here's something that
    might be useful to add to the BSP README notes for systems with
    networking.
1998-09-10 12:46:41 +00:00
Joel Sherrill
23cdd84cff Patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to make this compile
for the ColdFire.
1998-09-10 12:43:00 +00:00
Joel Sherrill
b67245d03b Patch from Chris Johns <ccj@acm.org>:
I have managed to build the bsp ods68302 and the rtti test case I made
    with egcs-1.1b and binutils-2.9.1.

    I have built our C++ application and got no link errors so it looks like
    this is now working. I am yet to test the code but getting the thing to
    link was the problem.

    Please find a patch attached which removes the -fno-rtti option.
1998-09-10 12:31:27 +00:00
Joel Sherrill
b7e3949f67 Patch from Eric Valette <valette@crf.canon.fr>. Most of this was included
in a previous patch.  Comments from Eric:

    patch_com2 was before your own fixes of raw IDT vector management
    routine.
    It mainly use human readable constants for the serial line driver code
    + the patch you gave me for com2 write routine.

    I applied your patch for raw IDT mngt on top of that. Then made minor
    cleaning in  patch_idt_mngt. I hope this helps.
1998-09-10 12:28:59 +00:00
Joel Sherrill
109b17f4ad Patch from Eric Norum <eric@skatter.usask.ca> to fix a cryptic error
message after comments from Eric Valette <valette@crf.canon.fr>.
1998-09-10 12:23:08 +00:00
Joel Sherrill
eff217e095 Patch from Emmanuel Raguet <raguet@crf.canon.fr>:
After some good comments from Eric Norum [thanks, Eric !],
    I have added some modifications to my previous driver patch :

        - wait for transmitter ready before sending a packet,

        - new delay management in case of ring-overwritting.
1998-09-10 12:16:39 +00:00
Joel Sherrill
c7cb6bbb5e Added section on format of the configuration space file. 1998-09-09 18:09:23 +00:00
Joel Sherrill
c247120af7 Added gettimeofday(). 1998-09-09 18:09:02 +00:00
Joel Sherrill
8d0ea20e11 New file 1998-09-08 15:19:21 +00:00
Joel Sherrill
62e508fe6d Removed chapter names from automatically generated node names. 1998-09-08 13:17:21 +00:00
Joel Sherrill
d778b4a64f Fixed include file path. 1998-09-08 13:17:08 +00:00
Jennifer Averett
251f8b1fb9 Added text to describe System log, Non-system logs,facility, and severity. 1998-09-02 14:22:40 +00:00
Joel Sherrill
4cf89a8ca7 Fixed spacing. More comments from Eric Norum need to be addressed. 1998-08-31 23:09:17 +00:00
Joel Sherrill
d9d75fce47 Patch from Emmanuel Raguet <raguet@crf.canon.fr>:
I have reworked the ethernet driver for the BSP pc386 and
  here is the patch to apply.
1998-08-31 23:06:50 +00:00
Joel Sherrill
b285860989 Patch from Eric Valette <valette@crf.canon.fr>:
Eric> NB : there is still a bug on PC386 serial line : exit does not
    Eric> flush the remaining output queue. As this is not a bug in the
    Eric> driver itself but somewhere in PC386 initialization/termios
    Eric> relationship it will be part of another patch.

    Eric> NB2 : As Emmanuel excerced the exception hanlder code, while
    Eric> porting the SMC driver to the new BSD stack, we found a bug
    Eric> in the exception handler : it shall not delete the current
    Eric> thread in case we are running at interrupt level. This will
    Eric> be part of another patch...

    So here is the patch. This patch fixes the two problems mentionned above

    + it use vpath mechanism intead of copying the irq related files in
      the right directory.  This avoid to compile them each time and is
      more homogenous with other Makefiles.
1998-08-31 23:03:45 +00:00
Joel Sherrill
de9edc4b52 Patch from Eric Valette <valette@crf.canon.fr>:
Here is a brief description of the attached patch :

    1) There was a bug in the code for the COM2 serial line driver. Aleksey
    gave me a fix that fixes the driver code itself. I would like to thank
    him again publicly,

    2) I introduced constants in the serial driver code because I had a hard
    time reading the meanning of hexadecimal values in the NS data book :)

    3)You can now mix printk and printf on serial line (tested on COM2).
    There is a #ifdef PRINTK_ON_SERIAL in console.c that enables to have
    printk on console while printf on serial line,
    4) Removed call to displayCpuInfo because anyway if was at the wrong
    place for serial line console (too early). It can anyway be called at
    application level,

    5) The original printk was unable to display negative integer values
    and was also recursive. It now works corectly,

    All the modifications have been tested here on the COM2 port from
    a PC running RTEMS to a PC running linux,

    NB : there is still a bug on PC386 serial line : exit does not flush the
    remaining output queue. As this is not a bug in the driver itself but
    somewhere in PC386 initialization/termios relationship it will be part
    of another patch.

    NB2 : As Emmanuel excerced the exception hanlder code, while porting the
    SMC driver to the new BSD stack, we found a bug in the exception
    handler : it shall not delete the current thread in case we are running
    at interrupt level. This will be part of another patch...
1998-08-31 22:56:20 +00:00
Joel Sherrill
85734b3c8f Patch from Eric Norum <eric@skatter.usask.ca>:
I think I figured out why rtems_panic was locking up instead of
    shutting down the executive and returning to the code that called
    boot_card().

    Later on there is code to print some messages on the standard error
    stream, a recursive call back to rtems_verror (through rtems_error)
    and finally a call to _exit().

    I think that the _Thread_Disable_dispatch() is preventing the final
    context switch back to the boot_card() code.  Does this sound right
    to you?
1998-08-31 22:53:42 +00:00
Wade A Smith
90c60f7931 Updated the descriptions section for the log_create and log_sys_create
functions.d
1998-08-31 15:39:03 +00:00
Joel Sherrill
82db2d3ade Reviewed log_read(). 1998-08-28 19:59:44 +00:00
Joel Sherrill
566669f5f1 Reviewed and corrected log_write(), log_write_any(), and log_write_entry(). 1998-08-28 16:48:45 +00:00
Joel Sherrill
b67f7946c9 Added log_write_any and part of log_copy.
Reviewed log_close.
1998-08-28 14:32:01 +00:00
Joel Sherrill
61b1b37c0d Added author credit. 1998-08-28 13:31:40 +00:00
Joel Sherrill
f96e8ee0f5 Added CVS Ids. 1998-08-28 13:27:36 +00:00
Joel Sherrill
e061a0074d Added top level file and cleaned up chapter names 1998-08-28 13:27:05 +00:00
Joel Sherrill
6968c9eb04 Undid renaming. 1998-08-28 13:26:25 +00:00
Joel Sherrill
0918cc421d Renamed intro to preface. 1998-08-28 13:25:22 +00:00
Joel Sherrill
07b3693f17 Base files 1998-08-28 13:21:53 +00:00
Joel Sherrill
a44a927b21 New file 1998-08-28 13:09:54 +00:00
Joel Sherrill
af5a571ea8 Updated log_seek() per review. 1998-08-27 20:53:21 +00:00
Joel Sherrill
6520befebb Modified log_open() to reflect review. 1998-08-27 20:16:39 +00:00
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