Commit Graph
17261 Commits
Author SHA1 Message Date
Joel Sherrill a986c0757a 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/init.c, sp12/init.c, sp12/pridrv.c, sp12/pritask.c,
	sp12/system.h, sp16/system.h, sp25/system.h, sp26/task1.c,
	sp28/init.c, sp29/init.c, sp35/priinv.c, sp42/init.c: Run all tests
	successfully with maxixum number of priorities as 16 instead of 256.
	This was done by temporarily modifying the score priority.h maximum.
	This allowed testing of all API code to ensure that it worked
	properly with a reduced number of priorities. Most modifications were
	to switch from hard-coded maximum to using the API provided methods
	to determine maximum number of priority levels.
2008-12-14 18:36:00 +00:00
Joel Sherrill a6608123c0 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/src/chg_pri.c, itron/src/cre_tsk.c, itron/src/rot_rdq.c,
	posix/Makefile.am, posix/include/rtems/posix/mutex.h,
	posix/include/rtems/posix/priority.h, posix/src/mutex.c,
	score/include/rtems/score/priority.h: Run all tests successfully with
	maxixum number of priorities as 16 instead of 256. This was done by
	temporarily modifying the score priority.h maximum. This allowed
	testing of all API code to ensure that it worked properly with a
	reduced number of priorities. Most modifications were to switch from
	hard-coded maximum to using the SuperCore variable based upon
	configured number.
	* posix/src/mutexdefaultattributes.c: Removed.
2008-12-14 18:31:43 +00:00
Joel Sherrill 8f879c6754 2008-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/region.t: Malloc Family is not implemented in termios of Region
	Manager after 4.7. Correct documentation.
2008-12-12 14:44:27 +00:00
Joel Sherrill 0e35de90f1 2008-12-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* bsp_howto/console.t: Remove size constraints on image. Fix a
	sentence.
2008-12-12 14:03:14 +00:00
Ralf Corsepius 45f3285d25 Fix broken info. 2008-12-12 10:04:07 +00:00
Ralf Corsepius 0d0dc2bde6 Regenerate. 2008-12-12 05:12:13 +00:00
Ralf Corsepius 569d4bd215 Re-base against upstream newlib. 2008-12-12 04:55:10 +00:00
Ralf Corsepius 94522086be Regenerate. 2008-12-12 04:54:29 +00:00
Ralf Corsepius 0f7b590732 newlib-1.16.0.cvs.20081212 2008-12-12 04:48:36 +00:00
Joel Sherrill dc09259b10 2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/address.inl: Make offset arguments intptr_t
	not int32_t.
2008-12-11 21:10:52 +00:00
Joel Sherrill 78aa0609b4 2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, cpu_asm.c: Remove warnings -- even if code is just temporary.
2008-12-11 21:10:26 +00:00
Ralf Corsepius 8e445f5c8c 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/cpu.c: Add missing prototype.
2008-12-11 17:33:34 +00:00
Ralf Corsepius e2f587cea1 Add missing prototype. 2008-12-11 17:33:27 +00:00
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