Commit Graph
22127 Commits
Author SHA1 Message Date
Joel Sherrill 71d0488b6c 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* bootcard.c: Eliminate pointers to API configuration tables in the
	main configuration table. Reference the main configuration table and
	the API configuration tables directly using the confdefs.h version
	rather than obtaining a pointer to it. This eliminated some
	variables, a potential fatal error, some unnecessary default
	configuration structures. Overall, about a 4.5% reduction in the code
	size for minimum and hello on the SPARC.
2008-12-15 19:22:36 +00:00
Joel Sherrill 19d2b5a469 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/init.t: Eliminate pointers to API configuration tables in the
	main configuration table. Reference the main configuration table and
	the API configuration tables directly using the confdefs.h version
	rather than obtaining a pointer to it. This eliminated some
	variables, a potential fatal error, some unnecessary default
	configuration structures. Overall, about a 4.5% reduction in the code
	size for minimum and hello on the SPARC.
2008-12-15 19:22:26 +00:00
Joel Sherrill bb9c80df45 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spfatal06/testcase.h,
	spfatal07/testcase.h, spfatal08/testcase.h, spfatal09/testcase.h,
	spsize/size.c: Eliminate pointers to API configuration tables in the
	main configuration table. Reference the main configuration table and
	the API configuration tables directly using the confdefs.h version
	rather than obtaining a pointer to it. This eliminated some
	variables, a potential fatal error, some unnecessary default
	configuration structures. Overall, about a 4.5% reduction in the code
	size for minimum and hello on the SPARC.
	* spfatal10/.cvsignore, spfatal10/Makefile.am, spfatal10/spfatal10.scn,
	spfatal10/testcase.h: Removed.
2008-12-15 19:21:10 +00:00
Joel Sherrill aac75d3b9b 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/itronapi.h, libmisc/capture/capture.c,
	libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
	libmisc/monitor/mon-itask.c, libmisc/monitor/mon-mpci.c,
	posix/include/rtems/posix/config.h,
	posix/include/rtems/posix/posixapi.h,
	rtems/include/rtems/rtems/config.h,
	rtems/include/rtems/rtems/rtemsapi.h, rtems/src/taskinitusers.c,
	sapi/include/confdefs.h, sapi/include/rtems/config.h,
	sapi/include/rtems/init.h, sapi/src/exinit.c, sapi/src/itronapi.c,
	sapi/src/posixapi.c, sapi/src/rtemsapi.c, score/src/isr.c,
	score/src/thread.c, score/src/threadcreateidle.c,
	score/src/threadstackallocate.c, score/src/threadstackfree.c,
	score/src/wkspace.c: Eliminate pointers to API configuration tables
	in the main configuration table. Reference the main configuration
	table and the API configuration tables directly using the confdefs.h
	version rather than obtaining a pointer to it. This eliminated some
	variables, a potential fatal error, some unnecessary default
	configuration structures. Overall, about a 4.5% reduction in the code
	size for minimum and hello on the SPARC.
2008-12-15 19:21:01 +00:00
Joel Sherrill 197170b01c 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/types.h: Fix incorrect type name.
2008-12-15 19:09:49 +00:00
Joel Sherrill 64f1df3259 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Change sizes of heap/region and allocated objects
	in heap to intptr_t so they can be larger than a single allocatable
	object (e.g. size_t).
2008-12-15 14:50:25 +00:00
Joel Sherrill d32daa6a8a 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c: Add parameter to call to sched_get_priority_max().
2008-12-14 23:56:21 +00:00
Joel Sherrill 41eb1e4090 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/realloc.c, rtems/include/rtems/rtems/region.h,
	rtems/src/regioncreate.c, rtems/src/regionextend.c,
	rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c,
	rtems/src/regionmp.c, rtems/src/regionresizesegment.c,
	sapi/include/rtems/config.h, score/include/rtems/score/heap.h,
	score/include/rtems/score/protectedheap.h, score/src/heap.c,
	score/src/heapallocate.c, score/src/heapallocatealigned.c,
	score/src/heapextend.c, score/src/heapresizeblock.c,
	score/src/heapsizeofuserarea.c, score/src/pheapallocate.c,
	score/src/pheapallocatealigned.c, score/src/pheapextend.c,
	score/src/pheapgetblocksize.c, score/src/pheapresizeblock.c: Change
	sizes of heap/region and allocated objects in heap to intptr_t so
	they can be larger than a single allocatable object (e.g. size_t).
2008-12-14 22:48:54 +00:00
Joel Sherrill 1a0e1a7163 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/conf.t, user/region.t: Change sizes of heap/region and allocated
	objects in heap to intptr_t so they can be larger than a single
	allocatable object (e.g. size_t).
2008-12-14 22:48:33 +00:00
Joel Sherrill de48cb67a2 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* unlimited/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 19:13:56 +00:00
Joel Sherrill 5abf63d983 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c, psx07/init.c, psx09/init.c, psx11/init.c, psx12/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:41:18 +00:00
Joel Sherrill 11ef7b6a46 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* itrontask04/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:39:44 +00:00
Joel Sherrill 4389287a39 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
	tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
	tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm16/task1.c,
	tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c, tm21/task1.c,
	tm23/task1.c, tm24/task1.c, tm25/task1.c, tm26/task1.c, tm27/task1.c,
	tm28/task1.c, tm29/task1.c, tmoverhd/testtask.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:38:45 +00:00
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