Commit Graph
983 Commits
Author SHA1 Message Date
Joel Sherrill e819020f4f 2007-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog: Move all ChangeLog entries for 2006 and earlier to
	ChangeLog-pre2007.
	* ChangeLog-pre2007: New file.
2007-05-11 14:05:59 +00:00
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
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 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 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 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 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 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 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 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 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 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 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
Ralf Corsepius 2283e16ba1 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/machine/endian.h: Remove.
	* libnetworking/Makefile.am: Remove machine/endian.h.
2007-05-09 16:38:44 +00:00
Ralf Corsepius a2dc8891ea 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/arpa/nameser_compat.h, libnetworking/netinet/in.h,
	libnetworking/rtems/rtems_bsdnet_internal.h: Include
	<rtems/endian.h> instead of <machine/endian.h>.
2007-05-09 16:35:16 +00:00
Ralf Corsepius 6e4bc7c76e 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Add include/rtems/endian.h.
2007-05-09 16:28:48 +00:00
Ralf Corsepius 7a4e32f453 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/endian.h: New (Copied from
	  libnetworking/machine/endian.h).
2007-05-09 16:27:09 +00:00
Ralf Corsepius a419c5d0c1 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/readdir.c, libnetworking/net/slcompress.c,
	pppd/md4.h, pppd/md5.h, pppd/pppd.h,
	score/cpu/m68k/rtems/score/m68k.h: Include <rtems/stdint.h> instead
	of <stdint.h>.
2007-05-09 15:56:33 +00:00
Ralf Corsepius 2bcd08be8d 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/machine/endian.h: Remove
	  CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
2007-05-09 15:31:39 +00:00
Ralf Corsepius 3ccb4b06a3 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* NEWS: new.
2007-05-09 15:19:11 +00:00
Ralf Corsepius 890d2c6326 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1243
	* pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
2007-05-09 11:23:14 +00:00
Ralf Corsepius 5a2feeada7 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
	to inline functions, using uint[16,32]_t.
2007-05-08 21:10:19 +00:00
Ralf Corsepius 70e624e366 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
	with SUSv3.
2007-05-08 16:39:57 +00:00
Ralf Corsepius 5a221ff6b0 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* telnetd/icmds.c: Add HAVE_CONFIG_H magic.
2007-05-08 15:59:37 +00:00
Ralf Corsepius ff485b1188 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/regionprocessqueue.c, score/src/heapresizeblock.c
	score/src/threadqrequeue.c: Add HAVE_CONFIG_H magic.
2007-05-08 15:33:54 +00:00
Ralf Corsepius 2add4525d0 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c: Add HAVE_CONFIG_H magic.
2007-05-08 15:31:55 +00:00
Ralf Corsepius 69d5809acc 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/show_bdbuf.c: Add HAVE_CONFIG_H magic.
2007-05-08 15:30:53 +00:00
Ralf Corsepius f2378101c5 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostbydns.c,
	libnetworking/libc/inet_net_ntop.c,
	libnetworking/libc/inet_pton.c: Eliminate __P.
2007-05-08 12:44:33 +00:00
Ralf Corsepius 32556fc156 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/rtime.c: Use uint32_t instead of unsigned long for
	return value of ntohl (POSIX requirement).
	Use UINT32_C macros to avoid overflows on 16bit targets.
	Eliminate __P.
2007-05-08 12:40:33 +00:00
Ralf Corsepius 161016b55f 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for working PRIxPTR.
2007-05-08 10:46:30 +00:00
Ralf Corsepius d32c7f80cf 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/thread.h, score/inline/rtems/score/stack.inl
	score/src/threadinitialize.c, score/src/threadstackallocate.c:
	Use size_t for stack sizes.
2007-05-08 10:43:17 +00:00
Joel Sherrill e746a88b22 2007-05-03 Joel Sherrill <joel@OARcorp.com>
* ChangeLog, libcsupport/src/malloc.c,
	libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h,
	score/Makefile.am, score/preinstall.am: malloc never blocks so the
	Region Manager is quite heavy for implementing this. This patch
	implements the C Program Heap directly in terms of the new Protected
	Heap handler. This handler is a direct use of a SuperCore Heap in
	conjunction with the Allocator Mutex used internally by RTEMS. This
	saves 3184 bytes on most SPARC test executables.
	* score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c,
	score/src/pheapallocatealigned.c, score/src/pheapextend.c,
	score/src/pheapfree.c, score/src/pheapgetblocksize.c,
	score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c,
	score/src/pheapinit.c, score/src/pheapresizeblock.c,
	score/src/pheapwalk.c: New files.
2007-05-03 21:33:39 +00:00
Joel Sherrill 0ab34c90a2 2007-04-17 Joel Sherrill <joel@OARcorp.com>
* itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c,
	itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c,
	itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c,
	itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c,
	rtems/src/taskinitusers.c, rtems/src/tasks.c,
	sapi/include/confdefs.h, sapi/src/io.c: Various modification to
	reduce executable size. Most were refactoring of files. Split ITRON
	API files. Implemented mechanism to avoid initialization task/thread
	loop being linked in when that style of task initialization was not
	being used.
	* itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c,
	itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c,
	itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c,
	itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c,
	itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c,
	itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c,
	itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c,
	itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c,
	itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c,
	itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c,
	itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c,
	itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c,
	itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c,
	itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c,
	itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c,
	itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c,
	itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c,
	itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c,
	itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c,
	itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c,
	itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
2007-04-17 20:32:13 +00:00
Ralf Corsepius 241e505644 Fix bogus ChangeLog entries. 2007-04-17 05:03:59 +00:00
Ralf Corsepius cd6867a923 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/i386/rtems/score/cpu.h:
	  Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-17 04:55:59 +00:00
Ralf Corsepius 832d41244e 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/sparc/cpu.c:
	  Use Context_Control_fp* instead of void* for fp_contexts.
	* score/cpu/sparc/rtems/score/cpu.h, score/cpu/unix/rtems/score/cpu.h:
	  Use Context_Control_fp* instead of void* for fp_contexts.
	  Eliminate evil casts.
	* score/include/rtems/score/thread.h:
	  Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-17 04:52:08 +00:00
Joel Sherrill 029c1fd8e3 2007-04-16 Joel Sherrill <joel@OARcorp.com>
PR 1240/filesystem
	* libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
	for filename was not being freed.
2007-04-16 19:04:47 +00:00
Ralf Corsepius 8da9f609af 2007-04-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/utils.c: Use uintptr_t instead of unsigned long.
2007-04-16 13:27:18 +00:00
Joel Sherrill d1325d6ab6 2007-04-16 Joel Sherrill <joel@OARcorp.com>
* itron/src/rsm_tsk.c: Correct error returned.
2007-04-16 13:19:16 +00:00
Ralf Corsepius e360bc288a 2007-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Redefine LIBPOSIX to !UNIX.
2007-04-14 04:04:39 +00:00
Ralf Corsepius dfa10d2836 2007-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/usleep.c, libcsupport/src/readlink.c:
	Update API to SUSv3.
2007-04-14 03:53:43 +00:00
Ralf Corsepius c8eb344d9b 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/Makefile.am: Unconditionally build src/sleep.c,
	  src/usleep.c.
2007-04-13 05:42:03 +00:00
Ralf Corsepius 09ea84cf99 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
	  CLOCK_MONOTONIC case.
2007-04-13 05:28:57 +00:00
Ralf Corsepius 214ae74e6e 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/tod.inl: Include <sys/time.h>.
2007-04-13 05:14:58 +00:00
Ralf Corsepius cf98ed5230 Fix typo. 2007-04-13 04:12:29 +00:00
Ralf Corsepius 1cd122c283 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
	* httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
2007-04-13 04:00:11 +00:00
Ralf Corsepius aaa8b33a10 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
	  AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
2007-04-13 03:51:45 +00:00