Commit Graph

17648 Commits

Author SHA1 Message Date
Ralf Corsepius
ee45afc3ce 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_arp.h, libnetworking/net/route.h:
	Include <sys/socket.h> to make header self contained.
2008-12-11 17:28:42 +00:00
Ralf Corsepius
fc2f722ac9 Include <sys/socket.h> to make header self contained. 2008-12-11 17:28:33 +00:00
Joel Sherrill
850bad68cc 2008-12-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrrill <joel.sherrill@oarcorp.com>

	* bsp_howto/Makefile.am, bsp_howto/console.t: Sebastian improved
	 documentation for termios device drivers.
	* bsp_howto/TERMIOSFlow.eps, bsp_howto/TERMIOSFlow.png: New files.
	Joel added Termios Flow figure from RTEMS Open Class material.
2008-12-11 15:51:13 +00:00
Ralf Corsepius
0cbc1501c4 2008-12-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* clock_driver_stub.c: Remove (unused).
2008-12-11 10:59:38 +00:00
Ralf Corsepius
733866b424 Remove (unused). 2008-12-11 10:59:28 +00:00
Ralf Corsepius
c148845496 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/clockdrv_shell.c: Turn warning into error.
2008-12-11 10:27:20 +00:00
Ralf Corsepius
d71a27403c Turn warning into error. 2008-12-11 10:27:13 +00:00
Ralf Corsepius
130a08c394 2008-12-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* at91rm9200/clock/clock.c, lpc22xx/clock/clockdrv.c,
	mc9328mxl/clock/clockdrv.c, s3c2400/clock/clockdrv.c,
	s3c24xx/clock/clockdrv.c:
	Include ../../../../libbsp/shared/clockdrv_shell.h
	instead of ../../../../libbsp/shared/clockdrv_shell.c.
2008-12-11 10:25:09 +00:00
Ralf Corsepius
052534c2b0 Include ../../../../libbsp/shared/clockdrv_shell.h instead of ../../../../libbsp/shared/clockdrv_shell.c. 2008-12-11 10:24:49 +00:00
Ralf Corsepius
bf3b7cbc5d 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add RTEMS_BSPOPTS(LPC24XX_OSCILLATOR_RTC).
	Add RTEMS_BSPOPTS(LPC24XX_OSCILLATOR_MAIN).
	* include/bsp.h: #include <bspopts.h>.
	* misc/system-clocks.c: Receive LPC24XX_OSCILLATOR_RTC,
	LPC24XX_OSCILLATOR_MAIN through bspopts.h.
2008-12-11 10:19:56 +00:00
Ralf Corsepius
3129783ce4 Receive LPC24XX_OSCILLATOR_RTC, LPC24XX_OSCILLATOR_MAIN through bspopts.h. 2008-12-11 10:19:47 +00:00
Ralf Corsepius
59e73519ad #include <bspopts.h>. 2008-12-11 10:19:27 +00:00
Ralf Corsepius
241321831a Add RTEMS_BSPOPTS(LPC24XX_OSCILLATOR_RTC).
Add RTEMS_BSPOPTS(LPC24XX_OSCILLATOR_MAIN).
2008-12-11 10:19:14 +00:00
Ralf Corsepius
532ef1531a 2008-12-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* lpc22xx/include/lpc22xx.h, mc9328mxl/include/mc9328mxl.h:
	#include <stdint.h> instead of <rtems/stdint.h>.
2008-12-11 08:33:09 +00:00
Ralf Corsepius
d0e2fa3e42 #include <stdint.h> instead of <rtems/stdint.h>. 2008-12-11 08:32:48 +00:00
Ralf Corsepius
0e7cdc1ea1 2008-12-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* at91rm9200/dbgu/dbgu.c: Add missing prototype.
2008-12-11 08:31:23 +00:00
Ralf Corsepius
600a0560ff 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* zlib/zconf.h: #include <stdint.h> instead of <rtems/stdint.h>.
2008-12-11 00:48:11 +00:00
Ralf Corsepius
1cb54d1f38 #include <stdint.h> instead of <rtems/stdint.h>. 2008-12-11 00:47:56 +00:00
Ralf Corsepius
2a701530b7 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/arm/rtems/score/types.h,
	score/cpu/avr/rtems/score/types.h,
	score/cpu/bfin/rtems/score/types.h,
	score/cpu/c4x/rtems/score/types.h,
	score/cpu/h8300/rtems/score/types.h,
	score/cpu/i386/rtems/score/types.h,
	score/cpu/lm32/rtems/score/types.h,
	score/cpu/m32c/rtems/score/types.h,
	score/cpu/m32r/rtems/score/types.h,
	score/cpu/m68k/rtems/score/types.h,
	score/cpu/mips/rtems/score/types.h,
	score/cpu/nios2/rtems/score/types.h,
	score/cpu/no_cpu/rtems/score/types.h,
	score/cpu/powerpc/rtems/score/types.h,
	score/cpu/sh/rtems/score/types.h,
	score/cpu/sparc/rtems/score/types.h,
	score/cpu/unix/rtems/score/types.h:
	#include <stdint.h> instead of <rtems/stdint.h>.
2008-12-11 00:46:02 +00:00
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
4e18296ac3 2008-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Use -r instead of -Wl,-r to build *.rels.
	* aclocal/rtems-cpu-subdirs.m4: Remove obsolete cpus.
2008-12-10 23:31:21 +00:00
Ralf Corsepius
b090f3f115 Remove obsolete cpus. 2008-12-10 23:31:08 +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
Joel Sherrill
527ecc7acf 2008-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: Add explicit creation of /etc/passwd and /etc/group so
	we have a test case for real password checking.
2008-12-09 19:34:04 +00:00
Joel Sherrill
02cd531e4b 2008-12-09 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
* bsp_specs: Update to reflect comments.
2008-12-09 17:01:26 +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
Joel Sherrill
bdd1f5d1af 2008-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtimer01/psxtimer.c, psxtimer02/psxtimer.c: Obtain TOD with
	clock_gettime() NOT by reaching into the SuperCore.
2008-12-08 17:33:37 +00:00
Joel Sherrill
d30316c40c 2008-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm26/task1.c: Fix typo.
2008-12-08 16:15:43 +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