PR 385/filesystem
* src/ramdisk.c: The "from" and "to" locations are calculated as
the start of the block within the ram that data is to be transferred
from/to for reads and writes respectively. However, within
the loops, the "from" and "to" locations are never updated. The loop
should have been updated as:
from += rd->block_size;
and
to += rd->block_size;
within the for loops in the ramdisk_read and ramdisk_write routines,
respectively.
* rtems_webserver/cgi.c, rtems_webserver/sockGen.c,
rtems_webserver/umui.c, rtems_webserver/websSSL.c,
rtems_webserver/websSSL.h, rtems_webserver/websda.c,
rtems_webserver/websda.h: New files. Not included in previous commit.
* rtems_webserver/NOTES, rtems_webserver/asp.c,
rtems_webserver/balloc.c, rtems_webserver/default.c,
rtems_webserver/ej.h, rtems_webserver/ejIntrn.h,
rtems_webserver/ejlex.c, rtems_webserver/ejparse.c,
rtems_webserver/emfdb.c, rtems_webserver/emfdb.h,
rtems_webserver/form.c, rtems_webserver/h.c,
rtems_webserver/handler.c, rtems_webserver/license.txt,
rtems_webserver/md5.h, rtems_webserver/md5c.c,
rtems_webserver/mime.c, rtems_webserver/misc.c,
rtems_webserver/ringq.c, rtems_webserver/rom.c,
rtems_webserver/security.c, rtems_webserver/sock.c,
rtems_webserver/sym.c, rtems_webserver/uemf.c,
rtems_webserver/uemf.h, rtems_webserver/um.c, rtems_webserver/um.h,
rtems_webserver/url.c, rtems_webserver/value.c,
rtems_webserver/wbase64.c, rtems_webserver/webcomp.c,
rtems_webserver/webpage.c, rtems_webserver/webrom.c,
rtems_webserver/webs.c, rtems_webserver/webs.h,
rtems_webserver/websuemf.c, rtems_webserver/wsIntrn.h:
Update to GoAhead Webserver 2.1.4. The following URL is
the release notes from GoAhead.
http://data.goahead.com/Software/Webserver/2.1.4/release.htm
I have only done a minimal amount of testing (i.e. the network
demo program works fine). Please try this out and let me know
if it works. The patch needs to be applied on the
c/src/libnetworking/rtems_webserver directory.
PR 380/bsps
* vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h:
make printk format strings compliant with libcpu/printk.
minor fixes and lazy init bugfix.
PR 379/bsps
* console/polled_io.c: libcpu provides 'printk' already.
Therefore, the implementation in this file was removed (still
used for the bootloader, though). It now provides BSP_output_char()
for libcpu's printk().
* console/uart.c, console/uart.h: BSP_output_char_via_serial()
prototype changed to match the BSP_output_char_function_type. Note
that the motorola BSPs use polled-io for the output_char routine, not
the uart.c version. The latter can be used be other BSPs however
(e.g. SVGM).
* console/console.c, console/consoleIo.h, console/polled_io.c,
irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
Unfortunately, the supported 'printk' format string subset of the
polled-io and libcpu implementations are different - hence, a few
format strings in the ppc/shared BSP were changed.
PR 371/pppd
* pppd/auth.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/lcp.c,
pppd/options.c, pppd/pppd.h, pppd/rtemsmain.c, pppd/rtemspppd.c:
Change many symbols to static. There are still global symbols in
rtemspppd.h which might need to be changed or converted into member
of a structure which is dereferenced with a pointer that is managed
as a per task variable. But this patch should avoid many conflicts.
* ide/Makefile.am: ATA code depends upon libchip/ide which is not
allowed in the cpukit source code since it must be buildable
independent of any BSP. These files were moved to libchip/ide.
* ide/ata.c, ide/ata.h, ide/ata_internal.h: New files.
* ChangeLog, Makefile.am: ATA code depends upon libchip/ide which is
not allowed in the cpukit source code since it must be buildable
independent of any BSP. These files were moved to libchip/ide.
* include/rtems/ata.h, include/rtems/ata_internal.h: Removed.
PR 374/networking
* Makefile.am, rtems/rtems_bsdnet.h, rtems/rtems_glue.c:
The patch sent as part of PR270 got applied to the wrong place.
The effect was that (1) startup was no faster than before and
(2) malloc starvation messages came way too quickly. The attached
patch fixes both these problems and also provides a mechanism for
applications to handle malloc starvation conditions as they see fit.
* rtems/rtems_bsdnet_malloc_starvation.c: New file.
PR 368/filesystems
* startup/ldsegs.S: Increase alignment.
* Makefile.am, configure.ac, include/bsp.h, wrapup/Makefile.am:
Added IDE supporting infrastructure.
* ide/Makefile.am, ide/ide.c, ide/idecfg.c: New files. Added
BSP support for libchip standard ide driver.
PR 367/filesystem
* Makefile.am, include/rtems/ide_part_table.h, src/ata.c,
src/ide_part_table.c: Some bugs were still present in the DOSFS
implementation:
- FAT12 did not work properly on Big-Endian machines
- Some synchronization and error handling problems were present
- Some legal codings for EOC were not recognized
PR 367/filesystem
* src/dosfs/Makefile.am, src/dosfs/fat.c, src/dosfs/fat.h,
src/dosfs/fat_fat_operations.c, src/dosfs/fat_file.c,
src/dosfs/msdos.h, src/dosfs/msdos_dir.c: Some bugs were still
present in the DOSFS implementation:
- FAT12 did not work properly on Big-Endian machines
- Some synchronization and error handling problems were present
- Some legal codings for EOC were not recognized
PR 360/bsps
* irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
BSP code had set the task priority register multiple times of
the OpenPIC instead of setting the individual source priorities.
This patch adds openpic_get_source_priority() and
openpic_set_source_priority() calls and lets IRQ management code
use them.
PR 349/bsps
* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
code on non-VME BSPs without triggering linkage of the vmeUniverse
driver.