Commit Graph
5440 Commits
Author SHA1 Message Date
Ralf Corsepius e98fc44ea5 2007-06-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* shttpd/Makefile.am: Add -DHAVE_MD5 to use md5 routines from
	  libmd.a.
2007-06-12 05:16:16 +00:00
Ralf Corsepius bbf1103aad 2007-06-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* wrapup/Makefile.am: Add libmd.a.
2007-06-12 05:14:35 +00:00
Ralf Corsepius a021dd8d29 2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/Makefile.am: Remove md5 and md4 from libpppd.a.
	  Add pppd/libmd.a.
	* pppd/md4.c: Don't include pppd.h.
2007-06-12 05:13:32 +00:00
Ralf Corsepius 55c310f246 Remove md5 and md4 from libpppd.a.
Add pppd/libmd.a.
2007-06-12 05:13:22 +00:00
Ralf Corsepius 8aaeb6d8a8 Don't include pppd.h. 2007-06-12 05:12:57 +00:00
Ralf Corsepius 8bddaa65da 2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shttpd/shttpd.ico, shttpd/resources.rc: Remove (Unused).
2007-06-11 15:43:50 +00:00
Ralf Corsepius e0a9d5f53c Remove. 2007-06-11 15:42:42 +00:00
Ralf Corsepius 512313c136 Regenerate. 2007-06-11 15:11:55 +00:00
Ralf Corsepius 637f572b50 2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shttpd/Makefile.am: Conditionally build on LIBNETWORKING.
2007-06-11 15:11:15 +00:00
Ralf Corsepius aece6b7100 2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shttpd/compat_rtems.h: Include <arpa/inet.h>.
	Add config.h support.
2007-06-11 14:09:53 +00:00
Ralf Corsepius 5e262885b6 2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shttpd/compat_rtems.h: Define closesocket.
2007-06-11 14:05:21 +00:00
Ralf Corsepius 7d7af1165c New. 2007-06-11 14:02:01 +00:00
Ralf Corsepius 6b42f5a327 2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shttpd/compat_rtems.h: Add IS_DIRSEP_CHAR.
2007-06-11 13:56:36 +00:00
Ralf Corsepius 4847f6b15b Use size_t for stack sizes. 2007-06-11 13:43:20 +00:00
Ralf Corsepius 0c777ef29f New. 2007-06-11 13:36:46 +00:00
Ralf Corsepius 51fe860d25 2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac, Makefile.am: Add shttpd.
	* shttpd/Makefile.am: New.
2007-06-11 13:34:24 +00:00
Ralf Corsepius 39f6778951 2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shttpd/Makefile.am: New.
2007-06-11 13:33:12 +00:00
Ralf Corsepius 31903f07ef Add shttpd. 2007-06-11 13:32:25 +00:00
Ralf Corsepius 86b9f754b5 Remove (Renamed to Makefile.shttpd) 2007-06-11 13:30:52 +00:00
Ralf Corsepius 4b58afcbe4 Rename shttpd's Makefile 2007-06-11 13:30:25 +00:00
Ralf Corsepius 4ec72e8a52 2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shttpd/auth.c, shttpd/cgi.c, shttpd/compat_rtems.c,
	shttpd/compat_rtems.h, shttpd/compat_unix.c, shttpd/compat_unix.h,
	shttpd/compat_win32.c, shttpd/compat_win32.h, shttpd/compat_wince.c,
	shttpd/compat_wince.h, shttpd/config.c, shttpd/defs.h,
	shttpd/io_cgi.c, shttpd/io_dir.c, shttpd/io_emb.c, shttpd/io_file.c,
	shttpd/io.h, shttpd/io_socket.c, shttpd/io_ssl.c, shttpd/llist.h,
	shttpd/log.c, shttpd/Makefile, shttpd/md5.c, shttpd/md5.h,
	shttpd/mime_type.c, shttpd/resources.rc, shttpd/shttpd.1,
	shttpd/shttpd.c, shttpd/shttpd.h, shttpd/shttpd.ico, shttpd/ssl.h,
	shttpd/standalone.c, shttpd/std_includes.h, shttpd/string.c:
	Import from shttpd-1.37.tar.gz.
2007-06-11 13:28:11 +00:00
Ralf Corsepius 9a23876210 This commit was generated by cvs2svn to compensate for changes in r15510,
which included commits to RCS files with non-trunk default branches.
2007-06-11 13:24:29 +00:00
Ralf Corsepius 484cd8d2ef Import from shttpd-1.37. 2007-06-11 13:24:29 +00:00
Ralf Corsepius 83e628a07a 2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove "pad" from CPU_CONTEXT.
2007-06-11 08:00:07 +00:00
Joel Sherrill c1a886be7b 2007-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/coremsg.c: Formatting.
2007-06-05 13:02:48 +00:00
Joel Sherrill 008171099d 2007-05-31 Alain Schaefer <alani@easc.ch>
* rtems/score/cpu.h: Modifiy inline assembly language
	constraints to use a data register as the CTL/STI
	instructions requires. This is not only more correct,
	it avoids GCC PR31787.
2007-05-31 16:55:37 +00:00
Joel Sherrill a607c87225 2007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/copyrt.h: Update copyright notice.
2007-05-29 20:02:24 +00:00
Joel Sherrill 9c556023f0 2007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into
	one function per file execpt io.c which contains required
	initialization methods.
	* sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c,
	sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c,
	sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c,
	sapi/src/iowrite.c: New files.
2007-05-29 19:56:35 +00:00
Joel Sherrill 7a03c09b43 2007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver
	table into Workspace but now it is only done if the application needs
	extra slots for dynamic driver registration. Cleaned up
	rtems_io_register_driver and rtems_io_unregister_driver code and
	added numerous error cases to register.
2007-05-29 18:45:16 +00:00
Joel Sherrill ff3f8c85c3 2007-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/Makefile.am, libmisc/monitor/mon-object.c,
	libmisc/monitor/monitor.h, sapi/include/confdefs.h,
	sapi/include/rtems/config.h, sapi/include/rtems/io.h,
	sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
	configuration parameter since it was used to configure a no longer
	used feature. Device names are now part of the filesystem not in a
	table. This also eliminated the variables _IO_Number_of_devices and
	_IO_Driver_name_table from RTEMS as well as the memory allocation
	used to populate _IO_Driver_name_table.
	* libmisc/monitor/mon-dname.c: Removed.
2007-05-28 15:51:01 +00:00
Joel Sherrill d902069a13 2007-05-24 Alain Schaefer <alani@easc.ch>
* rtems/score/cpu.h: Fix incorrect interrupt mask.
2007-05-24 14:24:23 +00:00
Joel Sherrill 7042065c29 2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
	is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
	add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
	unused Workspace. Round the workspace required size to an 8 byte
	boundary instead of a 0x400 byte one. We may end up needing to add 8
	bytes again to account for the alignment rounding.
2007-05-23 22:09:28 +00:00
Joel Sherrill c5b5725a51 2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
Yu Chen <chyyuu@gmail.com>
	* score/src/corespinlockwait.c: Per question posted as
	http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
	logical operator to <=.
2007-05-23 18:47:46 +00:00
Joel Sherrill 60f016f59d 2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
	score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
	score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
	score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
	cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
	executive initialization.
2007-05-22 20:57:34 +00:00
Joel Sherrill e5200d5afe 2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/corerwlockrelease.c: Do not dereference NULL.
2007-05-22 15:02:02 +00:00
Joel Sherrill 401e6e37d7 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
	rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h,
	rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h,
	rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h,
	rtems/include/rtems/rtems/timer.h, sapi/Makefile.am,
	sapi/include/rtems/extension.h: Split Classic API data instantiation
	into individual files. This reduces the size of the BSS section when
	an optional manager stub is used. Some tests showed about a 600 byte
	reduction in BSS size.
	* rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
	Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
	_RTEMS_tasks_Number_of_initialization_tasks because they were only
	used in one place after initialized. It was a waste of space.
 	* rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
	rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
	rtems/src/ratemondata.c, rtems/src/regiondata.c,
	rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
	sapi/src/extensiondata.c: New files.
2007-05-21 23:24:31 +00:00
Joel Sherrill 6f1384cd4f Split Classic API data instantiation into individual files. This reduces the size of the BSS section when an optional manageer stub is used. Some tests showed about a 600 byte reduction in BSS size. Also eliminated the variables _RTEMS_tasks_User_initialization_tasks and _RTEMS_tasks_Number_of_initialization_tasks because they were only used in one place after initialized. It was a waste of space. 2007-05-21 23:19:36 +00:00
Joel Sherrill e49e84c9ab 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
	functionality into multiple files to eliminate unnecessary cohesion.
	Update README.
	* libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
	New files.
	* libmisc/cpuuse/cpuuse.c: Removed.
2007-05-21 20:28:02 +00:00
Joel Sherrill ec2078d670 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
	negative value in some circumstances. Also cleaned up to share uptime
	declaration.
2007-05-21 19:28:55 +00:00
Joel Sherrill c3330a88ee 2007-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, configure.ac, libcsupport/src/__times.c,
	libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
	rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
	rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
	rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
	score/Makefile.am, score/include/rtems/score/thread.h,
	score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
	score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
	score/src/timespecdivide.c: Add nanoseconds granularity to the rate
	monotonic period statistics and CPU usage statistics. This capability
	is enabled by default although may be conditionally disabled by the
	user. It could be too much overhead on small targets but it does not
	appear to be bad in early testing. Its impact on code size has not
	been evaluated either. It is possible that both forms of statistics
	gathering could be disabled with further tweaking of the conditional
	compilation.
	* score/src/timespecdividebyinteger.c: New file.
2007-05-17 22:46:45 +00:00
Joel Sherrill eb64f2c6ff 2007-05-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
	functionally similar code here. Also cleanup print formats.
2007-05-16 16:25:05 +00:00
Joel Sherrill b9f0782367 2007-05-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/objectgetnameasstring.c: Internal threads use string names
	so in the current RTEMS source string object name can NOT be
	disabled. It is probably worth considering converting the internal
	threads to uint32_t style names so all the support for string names
	can be conditionally disabled.
2007-05-16 16:14:44 +00:00
Joel Sherrill f919582d8f 2007-05-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/Makefile.am, score/include/rtems/score/timespec.h: Add division
	and greater than operations for timespecs.
	* score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
	New files.
2007-05-16 15:04:25 +00:00
Ralf Corsepius 717adfb3e8 2007-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/objectgetnameasstring.c: Remove bogus ifdef
	RTEMS_POSIX_API.
2007-05-16 06:51:53 +00:00
Joel Sherrill e1bce866cf 2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
	rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
	rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
	rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
	rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
	rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
	score/Makefile.am, score/include/rtems/score/object.h,
	score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
	Monotonic Statistics and Period Usage into Rate Monotonic Manager.
	Added the following directives: rtems_rate_monotonic_get_statistics,
	rtems_rate_monotonic_reset_statistics,
	rtems_rate_montonic_reset_all_statistics,
	rtems_rate_montonic_report_statistics, and rtems_object_get_name.
	Obsoleted the rtems/rtmonuse.h file as a public interface.
	* rtems/src/ratemongetstatistics.c,
	rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
	rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
	score/src/objectgetnameasstring.c: New files.
	* libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
2007-05-15 20:16:16 +00:00
Joel Sherrill 91e07d0d89 2007-05-09 Ray Xu <rayx@gmail.com>
* cpu.c: move do_data_abort() to libbsp/arm/shared/abort/
          implement a compact do_data_abort() in simple_abort.c
2007-05-15 17:59:47 +00:00
Joel Sherrill 8a5186d531 2007-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
	rtems_io_register_name for use on unix.
	* libcsupport/src/unixlibc_io.c: New file.
2007-05-14 17:56:54 +00:00
Joel Sherrill 404903b033 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/coremsgseize.c: A blocking sender's message size was
	pulled out of the wrong field in the Wait information structure.
	* score/src/objectallocate.c: With the new optional manager support,
	we only stub out the initialization. This makes it possible to attempt
	to create an object with the information structure only initialized
	with all zeros.  This ensures we return an error cleanly in this case.
2007-05-11 20:10:37 +00:00
Joel Sherrill 70669f28ad 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
	an optional manager, we cannot depend on it do initialize the
	internal Allocator Mutex.  This was always a questionable place to
	do it, so this is a cleanup.
2007-05-11 20:07:47 +00:00
Joel Sherrill 4da36c1af3 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
	libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
	suitable for inclusion in the Users Guide.
2007-05-11 20:01:37 +00:00