Commit Graph

2118 Commits

Author SHA1 Message Date
Joel Sherrill
21bfd93aaf Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Please find enclosed a patch which enables me to build the bare-bsp for
    sh-rtems.

    Changes:
        1. Add preinstall to libbsp/bare/include/Makefile.in
        2. Removed FORCEIT, add preinstall to
        libbsp/sh/gensh1/include/Makefile.in
        3. Disabled support of set_vector from sh code (shared/setvec.c is still
        present but isn't used anymore), set_vector replaced with standard rtems
        functions.

    Problems still present:
        1. Support of spin-delays in bare bsp
        2. Proper support of cpu frequency

    To configure I used:
        <srcdir>/configure \
        --target=sh-rtems \
        --prefix=<instdir>/sh-bare \
        --enable-bare-cpu-model=sh7032 \
        --enable-bare-cpu-cflags='-Wall -m1 -DMHZ=20
        -DCPU_CONSOLE_DEVNAME="\"/dev/null\""'
        --enable-rtemsbsp=bare \
        --disable-networking \
        --disable-cxx \
        --disable-posix \
        --disable-tests

    IMO, if there are no objections to this patch, a similar approach should
    be applied to all CPUs/BSPs (esp. hppa1.1, mips64orion, ppc403, because
    they apply set_vector inside of libcpu).
1998-09-29 12:40:33 +00:00
Joel Sherrill
766ed7c0f1 Patch from Eric Norum <eric@skatter.usask.ca>:
Remember the test to see if a socket could be read and written at
    the same time by two different tasks?  I discovered that if both
    tasks attempt to close the socket a panic can occur from inside the
    BSD code.

    Closing the same socket twice from two different threads is
    certainly an error, but a panic is not the greatest error reporting
    method :-)

    The following small change to the socket close routine should reduce
    the chances of the panic.
1998-09-29 12:15:08 +00:00
Joel Sherrill
d7fcc1d40a Added sentence to indicate sections were deliberately empty.
Added NONE to Notes sections and "-" to make this easier to fill out later.
1998-09-29 00:05:40 +00:00
Joel Sherrill
241e4c7c0a Added sentence to indicate sections were deliberately empty. 1998-09-29 00:04:53 +00:00
Joel Sherrill
2341410c7a Fleshed out considerably. This is almost a passable manual now. 1998-09-29 00:02:53 +00:00
Joel Sherrill
68e8f631a9 Updated to reference the standards. 1998-09-28 22:54:48 +00:00
Wade A Smith
0f58ab42b6 Documented the mount and umount routines. 1998-09-28 22:09:12 +00:00
Wade A Smith
487c5d58d7 Documented the ftruncate and opendir routines. Removed reference to the
readdir_r routine.
1998-09-28 22:08:41 +00:00
Joel Sherrill
cb646cb936 New files. 1998-09-27 16:37:16 +00:00
Wade A Smith
e21f7d8d48 Documented the following routines: dup, dup2, close, read, write, and fcntl.f 1998-09-27 16:00:18 +00:00
Wade A Smith
389c3e904f Documented the following routines in this file: rewinddir, pathconf,
fpathconf, fchmod, fstat, mkfifo, and telldir
1998-09-26 19:33:58 +00:00
Wade A Smith
64183e20f0 Documented the creat, scandir, and access routines. 1998-09-25 20:11:51 +00:00
Wade A Smith
9a0b0089c3 Docmumented the access routine in for this file. 1998-09-25 16:20:52 +00:00
Joel Sherrill
165988d735 Fixed typos so this would build. 1998-09-25 13:29:19 +00:00
Joel Sherrill
b965227fa1 Now compiles. 1998-09-25 13:28:28 +00:00
Joel Sherrill
1ee9a1a715 Added information on every service in this chapter. Most of them are
ENOSYS stubs at this time.
1998-09-25 13:24:00 +00:00
Joel Sherrill
97149ba590 Added ENOSYS stubs for a number of process routines. 1998-09-25 13:17:32 +00:00
Joel Sherrill
1d2366e5ea Stuff added by Kerwin. 1998-09-25 12:50:36 +00:00
Joel Sherrill
7a86dc4404 Improved missing directory message. 1998-09-24 20:30:09 +00:00
Joel Sherrill
85420c8e32 Removed blank line. 1998-09-24 20:29:52 +00:00
Joel Sherrill
da38d8a3df Removed superfluous initialization of PC video. 1998-09-24 15:43:38 +00:00
Joel Sherrill
32f3e34d4d Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca>:
Please find attached a start.s that includes a cli prior to the hlt
    instruction.  This ensures that external interrupts cannot restart
    the system after returning to the startup code.  ( According to the hlt
    docs, they will! )

    Also find a new timer.c.   ( I forgot to update the countdowm value
    in the timer when I changed the PSCLK frequency in start.s) .  This
    improves timer accuracy.

    The raw_idt_notify messages are no longer infinite, I tested sp11 and
    sp05, both which were bad, and I have seen the message print once in
    one test.  I think it's ok if it prints out once.  In fact, I don't
    think you can effectively stop it!
1998-09-24 13:55:18 +00:00
Joel Sherrill
287e958464 New version from Erik Ivanenko <erik.ivanenko@utoronto.ca>. 1998-09-24 13:46:27 +00:00
Joel Sherrill
1fd26a529c Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1998-09-23 16:46:52 +00:00
Joel Sherrill
ecc3fe3181 IDLE task stack size now specified as a field in the CPU Table for all
ports.
1998-09-23 16:41:00 +00:00
Joel Sherrill
3b93a2dee1 Modifed to zero out the C heap if the CPU Table indicates that the
RTEMS workspace is to be zeroed out.
1998-09-23 16:34:23 +00:00
Joel Sherrill
87c857a983 changed version to 980923 1998-09-23 13:43:44 +00:00
Joel Sherrill
5d17a64258 Updated to remove bad comment. 1998-09-23 13:43:14 +00:00
Joel Sherrill
1cf2df40cb Removed printk() references. 1998-09-23 13:25:37 +00:00
Joel Sherrill
479c86ddbd Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca>:
Please find attached the two files that have been changed  relative to
    980921 .  The changes here are in the handling of the counter-timer used
    as the basis for the rtems executive clock.  For the most part, these
    are housekeeping changes.

    The PSCLK frequency change in start.s... was a part of several
    bug-fixes.  The fix improves executive clock and timer accuracy.

    changes :

    start.s --  All timers are disabled by the initialization routine
            -- PSCLK ( used by clock and timers ) frequency changed to 1MHz

    The clock_initialize routine now assumes that the PSCLK frequency is
    exactly 1 MHz.

    ckinit.c

    Clock_isr            -- removed division by 1000.  Now use 'static'
    variable -- clock_intial_isr_value -- to reset Clock_isrs variable.
    clock_initialize -- moved counter timer initialization here.  Values
    used to configure the timer are totally dependent on
    BSP_configuration.microseconds_per_tick ( and the PSCLK assumption).
    Initializes clock_initial_isr_value used by th Clock_isr to reset
    Clock_isrs.

     clock_on -- no longer configures the timer, just enables it.

    Since altering the number of sections in the BSP, I decided to give it a
    good "once over" .   The clock handling is now cleaner.
1998-09-23 13:22:43 +00:00
Joel Sherrill
8a496e462e Patch from Aleksey (Quality Quorum <qqi@world.std.com>):
1. Finally fixes raw interrupts for pc386
    2. Makes some minor cleanup in console and startup
    3. Makes rtems_termios_dequeue_characters() to return count of
       outstanding chars - it allows to simplify console isrs a little
       bit.
    4. pc386 uart modified to be friendlier to termios parameter changes,
       to have minor performance improvement and to take advantage of
       of above termios modification.
1998-09-23 13:20:34 +00:00
Joel Sherrill
362b88ebb5 Switched "NEW_GAS" flag. 1998-09-23 13:17:23 +00:00
Joel Sherrill
f26f58289e Regenerated. 1998-09-23 13:17:10 +00:00
Wade A Smith
6385cbd430 Updated file based upon red-lines received. 1998-09-21 22:04:07 +00:00
Wade A Smith
98bdf7a125 Updated file based upon read_lines received. 1998-09-21 21:34:04 +00:00
Wade A Smith
f8c5badb5c Updated file based upon red-lines received. 1998-09-21 21:31:59 +00:00
Joel Sherrill
af973e57f3 changed version to 980921 1998-09-21 16:38:20 +00:00
Wade A Smith
219aedad8f Modified sentences in the file to avoid using "shall" statements. 1998-09-21 15:27:03 +00:00
Wade A Smith
f9b0efb045 Described the constants used by the admin_type in the background section
of this file.
1998-09-21 15:17:00 +00:00
Joel Sherrill
42424efe9b Corrected ColdFire port information. 1998-09-21 01:45:14 +00:00
Joel Sherrill
e62488d4dd New file from Emmanuel Raguet <raguet@crf.canon.fr>. 1998-09-21 01:29:19 +00:00
Joel Sherrill
718dc95384 Patch from Eric Norum <eric@skatter.usask.ca>:
Here's a patch to make the rtems_showroute routine a little more
    useful.  For `host' route table entries the link-level address is now
    displayed.  This is equivalent to the old `show arp table'
    information displayed by the KA9Q code.
1998-09-21 00:46:00 +00:00
Joel Sherrill
7ddcfb8cd4 Patch from Eric Norum and David Fiddes to put ColdFire support in
the inet checksum routine.
1998-09-21 00:42:07 +00:00
Joel Sherrill
97d7b068cb Update from Aleksey (Quality Quorum <qqi@world.std.com>) to pick up some
patches missing from 980911.
1998-09-21 00:40:18 +00:00
Joel Sherrill
75e44fa33f Removed by patch from Aleksey. 1998-09-21 00:39:47 +00:00
Joel Sherrill
3f92975714 Patches from Aleksey which were not in 980911.
I am sending you patch which was lost. As far as I remember there
    were minor patches on top of it, either by Eric Valette or
    by Eric Norum or by both.
1998-09-21 00:38:13 +00:00
Joel Sherrill
c610a1f300 Update from Eric Valette <valette@crf.canon.fr>:
Here are patches that bring 980911 back to what I think is a correct
    version of raw IDT management as well as a correct initialisation
    of video console and rtems managed interrupts.
1998-09-21 00:24:51 +00:00
Joel Sherrill
04bc5d97f1 Update from Erik Ivanenko <erik.ivanenko@utoronto.ca> to bring the
i386ex bsp up to date.

1) A 'hlt' instruction is coded in case of a return from boot_card in
  start.s.
1998-09-21 00:23:02 +00:00
Joel Sherrill
30ba7529f1 Patch from Eric Norum:
I fixed the problems noted by Victor Vengerov.

    1) Fix typo in cfsetispeed().
    2) In rtems_termios_open, ensure that args->iop->data1 is set before calling
    device-specific open routine.
1998-09-21 00:01:26 +00:00
Joel Sherrill
6bd0fe402d Patch from Eric Valette <valette@crf.canon.fr>:
Compiled and booted without problem. However console was set on COM2.
  At least for 4.0 it should be video :-)
1998-09-20 23:52:43 +00:00