Commit Graph
5440 Commits
Author SHA1 Message Date
Ralf Corsepius 2fbaa9adb6 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/readdir.c, libmd/md4.h, libmd/md5.h,
	libmisc/mw-fb/mw_fb.h, libnetworking/net/ppp_defs.h,
	libnetworking/net/slcompress.c, libnetworking/rtems/bsdnet/_types.h,
	libnetworking/sys/sysctl.h, librpc/include/rpc/types.h, pppd/pppd.h,
	rtems/include/rtems/rtems/types.h, score/include/rtems/system.h:
	#include <stdint.h> instead of <rtems/stdint.h>.
2008-12-11 00:40:50 +00:00
Ralf Corsepius 30ad45ff38 Use -r instead of -Wl,-r to build *.rels. 2008-12-10 23:30:54 +00:00
Ralf Corsepius 1e9f051ed4 2008-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Use -r instead of -Wl,-r to build *.rels.
2008-12-10 23:26:22 +00:00
Ralf Corsepius 539b07cb88 Add prototypes. 2008-12-10 23:05:50 +00:00
Ralf Corsepius f0db402496 2008-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/strlcat.c: Add prototypes.
2008-12-10 23:05:37 +00:00
Ralf Corsepius 1dae578e19 2008-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/Makefile.am: Remove stray "\".
2008-12-10 23:02:49 +00:00
Ralf Corsepius 6706278315 Remove stray "\". 2008-12-10 23:01:51 +00:00
Joel Sherrill 9dc2c8d16e 2008-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/types.h, rtems/src/ratemongetstatistics.c,
	rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c,
	rtems/src/ratemonreportstatistics.c,
	score/include/rtems/score/thread.h, score/src/coretodgetuptime.c:
	Make all Thread and Period Statistics use publicly defined types. Do
	not leak the SuperCore Timestamp type through the APIs.
2008-12-10 22:13:28 +00:00
Joel Sherrill e57cb3c9df 2008-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/Makefile.am, score/preinstall.am,
	score/include/rtems/score/timespec.h,
	score/include/rtems/score/timestamp.h: Add 64-bit implementation of
	SuperCore Timestamps. Tested on PowerPC/psim and SPARC/sis.
	* score/include/rtems/score/timestamp64.h, score/src/ts64addto.c,
	score/src/ts64divide.c, score/src/ts64dividebyinteger.c,
	score/src/ts64equalto.c, score/src/ts64getnanoseconds.c,
	score/src/ts64getseconds.c, score/src/ts64greaterthan.c,
	score/src/ts64lessthan.c, score/src/ts64set.c,
	score/src/ts64settozero.c, score/src/ts64subtract.c,
	score/src/ts64toticks.c, score/src/ts64totimespec.c: New files.
2008-12-09 21:27:35 +00:00
Ralf Corsepius 8c5d374340 2008-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libblock/src/bdbuf.c: Fix typo having crept in during
	  boolean->bool transition.
2008-12-09 14:44:07 +00:00
Ralf Corsepius 9376664581 2008-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/unix/cpu.c: Add prototypes, eliminate nested externs.
2008-12-09 08:35:43 +00:00
Ralf Corsepius 601b863e65 Add prototypes, eliminate nested externs. 2008-12-09 08:35:36 +00:00
Joel Sherrill c16bcc009b 2008-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
	libmisc/cpuuse/cpuusagereset.c, posix/src/clockgettime.c,
	posix/src/pthread.c, posix/src/timersettime.c,
	rtems/include/rtems/rtems/ratemon.h,
	rtems/src/clockgetsecondssinceepoch.c, rtems/src/clockgetuptime.c,
	rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c,
	rtems/src/ratemonreportstatistics.c, rtems/src/taskwakewhen.c,
	rtems/src/timerfirewhen.c, rtems/src/timerserver.c,
	rtems/src/timerserverfirewhen.c, score/Makefile.am,
	score/preinstall.am, score/include/rtems/score/thread.h,
	score/include/rtems/score/tod.h, score/src/coretod.c,
	score/src/coretodget.c, score/src/coretodgetuptime.c,
	score/src/coretodset.c, score/src/coretodtickle.c,
	score/src/threaddispatch.c, score/src/threadinitialize.c: Add
	SuperCore handler Timestamp to provide an opaque class for the
	representation and manipulation of uptime, time of day, and the
	difference between two timestamps. By using SuperCore Timestamp, it
	is clear which methods and APIs really have to be struct timespec and
	which can be in an optimized native format.
	* score/include/rtems/score/timestamp.h,
	score/src/coretodgetuptimetimespec.c: New files.
2008-12-08 19:41:31 +00:00
Joel Sherrill 6d10c295ee 2008-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/nfsclient/src/nfs.c: Use
	rtems_clock_get_seconds_since_epoch() from public API.
2008-12-08 18:12:18 +00:00
Ralf Corsepius 21f0aacba1 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/Makefile.am: Remove RTEMS_RELLDFLAGS.
	* aclocal/prog-cc.m4: Add RTEMS_RELLDFLAGS hack.
2008-12-08 13:14:32 +00:00
Ralf Corsepius bbe9596cec 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/dirutils.c: #include <limits.h>.
2008-12-08 13:11:10 +00:00
Ralf Corsepius 19561560f8 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/clock.h: #include <sys/time.h>
2008-12-08 11:16:29 +00:00
Ralf Corsepius 6fcf3732f8 #include <sys/time.h> 2008-12-08 11:16:21 +00:00
Ralf Corsepius 266889191b 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/include/rpc/rpcent.h: #include <rpc/types.h>.
	* librpc/include/rpc/xdr.h: #include <rtems/bsd/sys/cdefs.h>.
2008-12-08 04:41:38 +00:00
Ralf Corsepius de2e5f684c #include <rpc/types.h>. 2008-12-08 04:41:26 +00:00
Ralf Corsepius 8a9c242dde #include <rtems/bsd/sys/cdefs.h>. 2008-12-08 04:41:09 +00:00
Ralf Corsepius 6f7d5bc4f7 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/devfs/devfs.h: Add missing "extern"s.
	* libfs/src/imfs/imfs.h: Add missing "extern"s
	* libfs/src/pipe/pipe.h: Add missing "extern"s.
	Add extern "C" {}.
2008-12-08 04:38:44 +00:00
Ralf Corsepius 3fa979ca8a Add missing "extern"s. Add extern "C" {}. 2008-12-08 04:38:32 +00:00
Ralf Corsepius d934b686f2 Add missing "extern"s 2008-12-08 04:38:03 +00:00
Ralf Corsepius 95c9861ce0 2008-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* 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/lm32/cpu.c, score/cpu/m32c/cpu.c, score/cpu/m32r/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, score/cpu/unix/cpu.c:
	Fix typo.
2008-12-07 11:26:10 +00:00
Ralf Corsepius 383871acea Fix typo. 2008-12-07 11:25:55 +00:00
Joel Sherrill 6a6141606b 2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/timespec.h: Remove unnecessary includes.
	Fix typo.
	* posix/include/rtems/posix/time.h, score/src/coretodget.c,
	score/src/coretodgetuptime.c: Add required include files which
	were formerly included from timespec.h
2008-12-05 22:27:47 +00:00
Joel Sherrill 3b3d005657 2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/pipe/fifo.c: Do not include .inl files directly. Use .h
	files with kernel visibility violated until functionality exposed.
2008-12-05 21:54:06 +00:00
Joel Sherrill a7db5cd2b0 2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore: New file.
2008-12-05 19:15:47 +00:00
Ralf Corsepius e83a477132 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for functions in newlib.
2008-12-05 13:33:20 +00:00
Ralf Corsepius 8e518846a1 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/Makefile.am: Unconditionally compile files which now
          are in newlib.
2008-12-05 13:32:09 +00:00
Ralf Corsepius dd954461c3 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/Makefile.am: Unconditionally compile files which now
	  are in newlib.
2008-12-05 13:31:05 +00:00
Ralf Corsepius 08027bf11a 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/execl.c, posix/src/execle.c,
	posix/src/execlp.c, posix/src/execv.c,
	posix/src/execve.c, posix/src/execvp.c,
	posix/src/sleep.c, posix/src/usleep.c:
	Compile contents conditionally.
2008-12-05 06:44:50 +00:00
Ralf Corsepius 1749cefdad Compile contents conditionally. 2008-12-05 06:44:40 +00:00
Ralf Corsepius 73c56eea4f 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/closedir.c, libcsupport/src/getcwd.c,
	libcsupport/src/isatty.c, libcsupport/src/opendir.c,
	libcsupport/src/readdir.c, libcsupport/src/readdir_r.c,
	libcsupport/src/rewinddir.c, libcsupport/src/seekdir.c,
	libcsupport/src/telldir.c, libcsupport/src/ttyname.c:
	Compile contents conditionally.
2008-12-05 06:42:51 +00:00
Joel Sherrill 15e44fd15b 2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
* configure.ac, librpc/src/xdr/xdr_float.c, score/cpu/Makefile.am: Add
	Lattice Mico32 support.
2008-12-04 22:53:33 +00:00
Joel Sherrill 6b4d0b8e9a 2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
* ChangeLog, Makefile.am, cpu.c, cpu_asm.S, preinstall.am, rtems/asm.h,
	rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/lm32.h,
	rtems/score/types.h: New files.
2008-12-04 22:53:15 +00:00
Joel Sherrill b0aefa4ab2 2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1348/cpukit
	* rtems/src/ratemonperiod.c: Properly handle period statistics after
	cpu usage information is reset while a period is running.
2008-12-04 15:58:26 +00:00
Joel Sherrill 109ace3a1f 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* rtems/include/rtems/rtems/timer.h, rtems/src/rtemstimer.c,
	rtems/src/timerreset.c, rtems/src/timerserver.c,
	rtems/src/timerserverfireafter.c, rtems/src/timerserverfirewhen.c,
	score/Makefile.am, score/include/rtems/score/watchdog.h: Rework Timer
	Server to ensure that the context allows for blocking, allocating
	memory, and acquiring semaphores and mutexes.
	* score/src/watchdogadjusttochain.c: New file.
2008-12-03 20:58:29 +00:00
Joel Sherrill 3a8335b671 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1346/cpukit
	* rtems/include/rtems/rtems/ratemon.h: Sense of rate monotonic
	statistics nanoseconds or ticks granularity conditional is backwards.
2008-12-03 19:03:40 +00:00
Joel Sherrill 9efa012d9b 2008-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/pipe/fifo.c: Actually disable initializing pipes as
	requested in confdefs.h.
2008-12-03 17:38:21 +00:00
Joel Sherrill 4c0d483b02 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Add disable of pipes by default since they
	use resources which are otherwise not accounted for. Eventually the
	resources will have to be properly configured.
2008-12-01 23:28:53 +00:00
Joel Sherrill d120078564 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* libfs/Makefile.am: Add stub for devide filesystem for unix port.
	* libfs/src/devfs/devfs_unixstub.c: New file.
2008-12-01 17:37:01 +00:00
Joel Sherrill e65f596dfd 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/region.h,
	rtems/include/rtems/rtems/support.h,
	rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
	rtems/src/workspace.c: Revert ssize_t patch.
2008-12-01 17:31:11 +00:00
Joel Sherrill 63ca296656 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Links hello again.
2008-12-01 17:30:11 +00:00
Joel Sherrill c8f7b4e6ca 2008-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/Makefile.am, score/include/rtems/score/watchdog.h: Add
	_Watchdog_Report and _Watchdog_Report_chain as debug assist routines.
	They are NOT to be used in directives.
	* score/src/watchdogreport.c, score/src/watchdogreportchain.c:
	New files.
2008-11-26 16:38:06 +00:00
Joel Sherrill 274ee57ad2 2008-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, cpu_asm.c: Add debug printk() calls until the BSP/port can
	initialize and shutdown completely cleanly. When this works,
	implement context switch. Testing on avrtest and simulavr.
2008-11-26 14:29:56 +00:00
Joel Sherrill b2d67fdc44 2008-11-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/watchdogadjust.c, score/src/watchdogtickle.c: Spacing.
2008-11-25 22:29:58 +00:00
Joel Sherrill 94a88c1c95 2008-11-24 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1341/cpukit
	* sapi/include/confdefs.h: The following macros were missing
	the _Configure_From_workspace() wrapper on their size estimate:
	  + CONFIGURE_INTERRUPT_STACK_MEMORY
	  + CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API
	  + CONFIGURE_INTERRUPT_VECTOR_TABLE
	  + CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS
	In addition, there was a duplicate definition of
	CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API.
2008-11-24 19:50:06 +00:00
Ralf Corsepius ea5c9c660f 2008-11-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AC_CHECK_FUNC's to check functions migrating
	into newlib.
2008-11-24 16:41:02 +00:00