Commit Graph

13741 Commits

Author SHA1 Message Date
Joel Sherrill
45d406f8e9 2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1241/rtems
	* score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close
	critical section window added with requeueing support.
2007-05-10 18:47:35 +00:00
Joel Sherrill
a32835a34a 2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1237/rtems
	* cpu.c, cpu_asm.S, rtems/score/cpu.h: Add logic to prevent stack creep
	when interrupts occur at a sufficient rate that the interrupted
	thread never gets to clean its stack. This patch ensures that an
	interrupted thread will not nest ISR dispatches on its stack.
2007-05-10 18:40:49 +00:00
Joel Sherrill
93c2b412be Back off patch which should not have been committed. 2007-05-10 18:40:36 +00:00
Joel Sherrill
9847e4a05a 2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1237/rtems
	* src/lib/libbsp/shared/bsplibc.c: Add logic to prevent stack creep
	when interrupts occur at a sufficient rate that the interrupted
	thread never gets to clean its stack. This patch ensures that an
	interrupted thread will not nest ISR dispatches on its stack.
2007-05-10 18:39:03 +00:00
Joel Sherrill
c6eba79c2d 2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/gba.cfg, custom/gp32.cfg, custom/i386ex.cfg, custom/pc386.cfg,
	custom/sim68000.cfg, custom/ts_386ex.cfg: Clean up to use .nxe
	extension instead of BSP unique ones.
2007-05-10 17:36:19 +00:00
Ralf Corsepius
6bdfa7a9e6 New. 2007-05-10 14:31:51 +00:00
Ralf Corsepius
60baadfbfe Add cpukit. 2007-05-10 14:30:57 +00:00
Ralf Corsepius
2620f00007 New. 2007-05-10 14:25:23 +00:00
Ralf Corsepius
be94ff7c9c Include <rtems/bsd/sys/cdefs.h> 2007-05-10 07:45:16 +00:00
Ralf Corsepius
af846fb9e7 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/cdefs.h,
	  libcsupport/include/sys/cdefs.h: Remove.
2007-05-10 07:40:26 +00:00
Ralf Corsepius
1e872b3299 Remove. 2007-05-10 07:40:10 +00:00
Ralf Corsepius
5c15f27988 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/include/rpc/rpc_com.h:
	Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
2007-05-10 07:38:57 +00:00
Ralf Corsepius
30be282675 Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>. 2007-05-10 07:38:27 +00:00
Ralf Corsepius
1ce07bd9c5 Regenerate. 2007-05-10 07:34:44 +00:00
Ralf Corsepius
1a9aa7e143 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove libcsupport/include/sys/cdefs.h.
2007-05-10 07:34:07 +00:00
Ralf Corsepius
803b2ac191 Regenerate. 2007-05-10 07:32:37 +00:00
Ralf Corsepius
af3e1a5f3b 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/Makefile.am: Remove include/rtems/cdefs.h.
2007-05-10 07:31:28 +00:00
Ralf Corsepius
ebb35264bb 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/bsd/sys/queue.h, libcsupport/include/sys/ioccom.h,
	libnetworking/netdb.h, libnetworking/resolv.h,
	libnetworking/arpa/inet.h, libnetworking/arpa/nameser.h,
	libnetworking/libc/gethostbydns.c, libnetworking/libc/res_stubs.c,
	libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
	libnetworking/net/if.h, libnetworking/net/if_dl.h,
	libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
	libnetworking/rtems/rtems_bsdnet_internal.h,
	libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
	libnetworking/sys/poll.h, libnetworking/sys/socket.h,
	libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
	libnetworking/sys/uio.h, libnetworking/sys/un.h,
	librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
	librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
	librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
	librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/svc.h,
	librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
	librpc/include/rpcsvc/ypclnt.h: Include <rtems/bsd/sys/cdefs.h>
	instead of <sys/cdefs.h>.
2007-05-10 07:29:41 +00:00
Ralf Corsepius
cd9564e1cd Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>. 2007-05-10 07:29:14 +00:00
Ralf Corsepius
ae1a4c14e4 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Reflect introduction of
	  include/rtems/bsd/sys/cdefs.h.
	* include/rtems/bsd/sys/cdefs.h: New.
2007-05-10 07:21:36 +00:00
Ralf Corsepius
e8475e8363 Reflect introduction of include/rtems/bsd/sys/cdefs.h. 2007-05-10 07:21:22 +00:00
Ralf Corsepius
b8a6285b67 New. 2007-05-10 07:19:35 +00:00
Ralf Corsepius
03a429caca Regenerate. 2007-05-10 06:42:09 +00:00
Ralf Corsepius
0345182063 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/Makefile.am: Reflect having removed sys/queue.h.
	* libnetworking/sys/queue.h: Remove.
2007-05-10 06:41:02 +00:00
Ralf Corsepius
39350cf7cd Reflect having removed sys/queue.h. 2007-05-10 06:40:29 +00:00
Ralf Corsepius
2016a98667 Remove (moved to include/rtems/bsd/sys/queue.h). 2007-05-10 06:40:07 +00:00
Ralf Corsepius
5bfe5fd03d 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_float.c: Include <rtems/endian.h> instead of
	<machine/endian.h>.
2007-05-10 05:15:16 +00:00
Ralf Corsepius
f75082d2f3 Include <rtems/endian.h> instead of <machine/endian.h>. 2007-05-10 05:14:55 +00:00
Ralf Corsepius
c30157091b Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>. 2007-05-10 05:12:54 +00:00
Ralf Corsepius
23d748dccf 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_showroute.c,
	libnetworking/rtems/rtems_showipstat.c,
	libnetworking/rtems/rtems_showtcpstat.c,
	libnetworking/rtems/rtems_showicmpstat.c,
	libnetworking/rtems/rtems_showmbuf.c, libnetworking/rtems/rtems_showudpstat.c,
	libnetworking/rtems/rtems_showifstat.c,
	libnetworking/net/if.c,
	libnetworking/net/raw_cb.c,
	libnetworking/net/route.c,
	libnetworking/net/rtsock.c,
	libnetworking/net/raw_usrreq.c,
	libnetworking/netinet/tcp_usrreq.c,
	libnetworking/netinet/tcp_timer.c,
	libnetworking/netinet/if_ether.c,
	libnetworking/netinet/tcp_debug.c,
	libnetworking/netinet/ip_fw.c,
	libnetworking/netinet/ip_output.c,
	libnetworking/netinet/ip_mroute.c,
	libnetworking/netinet/in_proto.c,
	libnetworking/netinet/udp_usrreq.c,
	libnetworking/netinet/tcp_output.c,
	libnetworking/netinet/tcp_subr.c,
	libnetworking/netinet/tcp_input.c,
	libnetworking/netinet/in_rmx.c,
	libnetworking/netinet/in_pcb.c,
	libnetworking/netinet/raw_ip.c,
	libnetworking/netinet/ip_divert.c,
	libnetworking/netinet/in.c,
	libnetworking/kern/uipc_socket2.c,
	libnetworking/kern/kern_sysctl.c,
	libnetworking/kern/uipc_socket.c,
	libnetworking/kern/kern_subr.c: Include <rtems/bsd/sys/queue.h> instead of
	<sys/queue.h>.
2007-05-10 05:12:22 +00:00
Ralf Corsepius
8fc471a554 Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>. 2007-05-10 05:07:28 +00:00
Ralf Corsepius
be650314ec Regenerate. 2007-05-10 05:01:36 +00:00
Ralf Corsepius
7a1c421fe8 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Reflect addition of include/rtems/bsd/sys/queue.h.
2007-05-10 04:52:42 +00:00
Ralf Corsepius
5515a75820 2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/bsd/sys/queue.h: New (Copied from
	  libnetworking/sys/queue.h).
2007-05-10 04:35:41 +00:00
Joel Sherrill
3673ee7cd8 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspclean.c: Remove incldue stdio.h
2007-05-09 19:08:08 +00:00
Joel Sherrill
6b6c06be2c 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* minimum/Makefile.am, minimum/init.c: Switch back to using optional
	manager support. Also add use of CONFIGURE_DISABLE_NEWLIB_REENTRANCY
	to demonstrate that the newlib reentrancy support is optional.
2007-05-09 18:55:12 +00:00
Joel Sherrill
c2565894b1 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* compilers/gcc-no_bsp.cfg: There are no longer any required managers.
	Plus some cleanup
2007-05-09 18:53:32 +00:00
Joel Sherrill
6455ddeeb5 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg, compilers/gcc-no_bsp.cfg: Add optional manager stub
	for Classic API Barrier.
2007-05-09 18:47:22 +00:00
Joel Sherrill
ff114dc5bf 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* optman/Makefile.am, optman/preinstall.am, optman/rtems/no-dpmem.c,
	optman/rtems/no-event.c, optman/rtems/no-mp.c, optman/rtems/no-msg.c,
	optman/rtems/no-part.c, optman/rtems/no-region.c,
	optman/rtems/no-rtmon.c, optman/rtems/no-sem.c,
	optman/rtems/no-signal.c, optman/rtems/no-timer.c,
	optman/sapi/no-ext.c: Add optional manager stub for Barrier. Simplify
	other optional managers so using them reduces application size
	instead of increasing it.
	* optman/rtems/no-barrier.c: New file.
2007-05-09 18:47:03 +00:00
Joel Sherrill
d54c0288c1 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg: Add optional manager stub for Barrier.
2007-05-09 18:43:18 +00:00
Joel Sherrill
ded1977959 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Move __fini call to inside executive for
	symmettry with __init call.
2007-05-09 18:29:29 +00:00
Joel Sherrill
c3db01d0f3 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
	sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
	score/Makefile.am, score/preinstall.am,
	score/include/rtems/score/userext.h, score/src/chain.c,
	score/src/userext.c: Switch to newlib reentrancy extension being
	installed in the initial set instead of using rtems_extension_create.
	While implementing this, noticed that user extensions and chain code
	had multiple functions in a single file which is not desirable in the
	SuperCore and API portions of RTEMS, so split these into multiple
	files with one function per file. Also noticed that some of user
	extension code was inlined for no particular reason so moved that to
	C bodies.  Split executive shutdown from initialization since not
	every application shuts down.  Moved __fini call to executive shutdown
	to be more symmetrical with where it is called at startup.
	* sapi/src/exshutdown.c, score/src/chainappend.c,
	score/src/chainextract.c, score/src/chainget.c,
	score/src/chaininsert.c, score/src/userextaddapiset.c,
	score/src/userextaddset.c, score/src/userextremoveset.c,
	score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
	score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
	score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
	files.
	* score/inline/rtems/score/userext.inl: Removed.
2007-05-09 18:27:26 +00:00
Joel Sherrill
d81d057839 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, console/lpc22xx_uart.h: Remove warnings, cleanup and do
	not build SPARC code accidentally referenced in Makefile.am.
2007-05-09 18:08:35 +00:00
Joel Sherrill
f16ea90868 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/error.c, sapi/include/rtems/config.h: Do not
	reference _Configuration_MP_table if multiprocessing is disabled.
2007-05-09 17:59:40 +00:00
Joel Sherrill
361457db8e 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
	reference _Configuration_MP_table if multiprocessing is disabled.
2007-05-09 17:55:37 +00:00
Joel Sherrill
1ab18ec87b 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c, shared/gnatcommon.c: Remove debug print methods
	that are redundant with prntk and replace their use with printk.
2007-05-09 17:50:09 +00:00
Joel Sherrill
55cb7c9474 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/debugputs.c, include/bsp.h, leon_smc91111/leon_smc91111.c,
	startup/bspstart.c, startup/spurious.c: Remove debug print methods
	that are redundant with prntk and replace their use with printk.
2007-05-09 17:49:58 +00:00
Joel Sherrill
94bbe85730 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/debugputs.c, include/bsp.h, leon_smc91111/leon_smc91111.c,
	startup/spurious.c: Remove debug print methods that are redundant
	with prntk and replace their use with printk.
2007-05-09 17:49:53 +00:00
Joel Sherrill
b2799996d3 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/debugputs.c, include/bsp.h, startup/spurious.c: Remove debug
	print methods that are redundant with prntk and replace their use
	with printk.
2007-05-09 17:49:45 +00:00
Joel Sherrill
0bb47ebd65 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/uart.c, startup/bspclean.c, startup/bspstart.c: Remove debug
	print methods that are redundant with prntk and replace their usage
	with printk.
2007-05-09 17:40:24 +00:00