Commit Graph
18544 Commits
Author SHA1 Message Date
Joel Sherrill 3be21e7dd1 2000-12-11 Joel Sherrill <joel@OARcorp.com>
* startup/bspclean.c: New file to explicitly invoke _sys_exit().
	* README: Updated.
2000-12-11 14:31:58 +00:00
Joel Sherrill cd2400187f 2000-12-08 Joel Sherrill <joel@OARcorp.com>
* setup.def, gnatnewlib/gnatnewlib.in: Modified to pick up
	all GNAT components.
2000-12-08 22:08:21 +00:00
Joel Sherrill 78d6a50003 2000-12-08 Joel Sherrill <joel@OARcorp.com>
* libc/linkaddr.c: Initialized variable to remove warning.
	* modem/ppp.c, modem/ppp_tty.c: Made numerous variable declarations
	conditional on PPP_COMPRESS and PPP_FILTER.  Commented out variables
	that were not used because the code using them was commented out.
	Removed totally unused variables.
	* modem/pppcompress.c: Added parentheses to avoid warnings.
	* pppd/pppmain.c: Removed numerous warnings.
2000-12-08 22:06:54 +00:00
Joel Sherrill dfa6d4b758 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* custom/vegaplus.cfg: Fix make-exe rule and eliminate mkdir
	and copies that should not be in it.
2000-12-06 15:48:04 +00:00
Joel Sherrill 1a505aae33 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* shared/src/cache_aligned_malloc.c: Added include of <stdlib.h>
	to eliminate warnings.
2000-12-06 15:47:02 +00:00
Joel Sherrill f4b46c6cda 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* displayCpu.c: Added include of <rtems.h> to eliminate warnings.
2000-12-06 15:46:15 +00:00
Joel Sherrill 922a7236f0 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* libc/mallocfreespace.c: Name of routine is
	rtems_region_get_information() NOT region_get_information().
	* libc/unmount.c: Removed unused variable.
2000-12-06 15:45:37 +00:00
Joel Sherrill dbcd1bedc5 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Removed console_reserve_resources().
2000-12-06 15:44:32 +00:00
Joel Sherrill 08940dbedf 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* gnatsupp/gnatsupp.c: Added prototype to eliminate warning.
2000-12-06 15:44:07 +00:00
Joel Sherrill a9c55f5bb1 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* README: Updated to reflect status.
	* startup/linkcmds: Added .ctor and .dtor sections to no avail.
2000-12-06 15:43:35 +00:00
Joel Sherrill d95820d386 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h: Removed incorrect error case.
2000-12-06 15:40:51 +00:00
Joel Sherrill 27f6d2e2f0 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* console/consolereserveresources.c: Removed code NOT file (YET).
2000-12-06 15:40:16 +00:00
Joel Sherrill 0c3d636206 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c: Removed call of console_reserve_resources().
	* wrapup/Makefile.am: Corrected typo so BSP components are picked up.
2000-12-06 15:39:37 +00:00
Joel Sherrill 516d808b54 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* comm/console.c: Added casts to eliminate warnings.
	* comm/console.c (console_reserve_resources): Removed.
2000-12-06 15:37:44 +00:00
Joel Sherrill 1668178f07 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c: Removed unused variables ramSpace and _end.
	Added prototype for initialize_monitor_handles().
	* startup/syscalls.c: Added casts and removed unused variables to
	eliminate warnings.
2000-12-06 15:35:55 +00:00
Joel Sherrill 229df48965 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add include of bsp.am.  Add clock subdirectory.
	* configure.in: Add clock subdirectory.
	* include/Makefile.am: Add coverhd.h.
2000-12-06 15:34:32 +00:00
Joel Sherrill 5996c48b66 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Added include of <rtems/rtems/cache.h> to eliminate warning.
2000-12-06 15:33:12 +00:00
Joel Sherrill 5d7bfce333 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: When mips ISA level is 1, registers in the
	context should be 32 not 64 bits.
2000-12-06 15:32:40 +00:00
Joel Sherrill c3df4a6003 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* src/regiongetinfo.c: Removed unused variable to eliminate warning.
2000-12-06 15:31:44 +00:00
Joel Sherrill 57fe91f8db 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* src/pthreadgetcpuclockid.c: Add include of <rtems/system.h> to
	eliminate warning.
2000-12-06 15:30:58 +00:00
Joel Sherrill d57c04e1f3 2000-12-05 Eric Valette <valette@crf.canon.fr>
* console/inch.c, console/keyboard.c, console/pc_keyb.c,
	console/vt.c, include/bsp.h: Correct incorrect interrupt level
	handling in new keyboard management code.  Correct
	BSP_poll_char initialization routine.
	* start/start.S, startup/bspstart.c: Correct when the video is
	initialized.
	* timer/timer.c (Calibrate_1ms_loop): Address problem where this
	did not work correctly on all PC speeds. The new calibrate routine
	has been tested on Pentium 166, pentium II 200, pentium III
	300 Mhz and does work as expected.
2000-12-05 16:49:23 +00:00
Joel Sherrill 327a93a4f2 2000-12-05 Joel Sherrill <joel@OARcorp.com>
* pc386/console/console.c, pc386/console/serial_mouse.c,
	pc386/console/vgainit.c, shared/comm/tty_drv.c: Remove warnings.
2000-12-05 16:49:02 +00:00
Joel Sherrill 2d3217348d Correct incorrect placement of last ChangeLog entry. 2000-12-05 16:48:35 +00:00
Joel Sherrill 7220103fcd 2000-12-01 Joel Sherrill <joel@OARcorp.com>
* console-polled.c: Remove warnings.
2000-12-05 16:38:08 +00:00
Joel Sherrill 9751c91383 2000-12-01 Joel Sherrill <joel@OARcorp.com>
* pc386/console/console.c, pc386/console/serial_mouse.c,
	pc386/console/vgainit.c, shared/comm/tty_drv.c: Remove warnings.
2000-12-05 16:37:38 +00:00
Joel Sherrill eb33fa5495 2000-12-01 Joel Sherrill <joel@OARcorp.com>
* include/rtems/posix/cond.h: #if 0'ed out prototype of
	_POSIX_Condition_variables_Get to avoid conflict with macro
	implementation.
2000-12-01 22:05:32 +00:00
Joel Sherrill 5af177fd23 changed version to ss-20001201 2000-12-01 19:39:00 +00:00
Joel Sherrill 3fddd25c7a 2000-12-01 Joel Sherrill <joel@OARcorp.com>
* custom/jmr3904.cfg: Turn optimization back up to -O2.
2000-12-01 19:25:10 +00:00
Joel Sherrill 76c0bbbbe8 2000-12-01 Joel Sherrill <joel@OARcorp.com>
* configure.in: Removed error check for enabling macros with
	either POSIX or ITRON API.
2000-12-01 19:17:47 +00:00
Joel Sherrill c9fd602c8c 2000-12-01 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/score/coresem.inl: Removed comments since convention
	calls for comments to be in inline versin.
	* macros/rtems/score/object.inl (Objects_Get_local_object): Fixed
	style to use _ prefix on variable names and use parentheses.
	* macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
2000-12-01 19:16:52 +00:00
Joel Sherrill 7afbca071b 2000-12-01 Joel Sherrill <joel@OARcorp.com>
* Added macro support to ITRON API.  This is known to compile.
	* Makefile.am: Added macros directory.
	* configure.in: Removed error check for enabling macros.
	* macros/.cvsignore, macros/Makefile.am,
	macros/rtems/.cvsignore, macros/rtems/Makefile.am,
	macros/rtems/itron/.cvsignore, macros/rtems/itron/Makefile.am,
	macros/rtems/itron/eventflags.inl, macros/rtems/itron/fmempool.inl,
	macros/rtems/itron/intr.inl, macros/rtems/itron/mbox.inl,
	macros/rtems/itron/msgbuffer.inl, macros/rtems/itron/network.inl,
	macros/rtems/itron/port.inl, macros/rtems/itron/semaphore.inl,
	macros/rtems/itron/sysmgmt.inl, macros/rtems/itron/task.inl,
	macros/rtems/itron/time.inl, macros/rtems/itron/vmempool.inl: New files.
2000-12-01 19:00:04 +00:00
Joel Sherrill 2b2bda48c1 2000-12-01 Joel Sherrill <joel@OARcorp.com>
* Added macro support to POSIX API.  This is known to compile.
	* macros/rtems/posix/cond.inl, macros/rtems/posix/intr.inl,
	macros/rtems/posix/key.inl, macros/rtems/posix/mqueue.inl,
	macros/rtems/posix/mutex.inl, macros/rtems/posix/priority.inl,
	macros/rtems/posix/pthread.inl, macros/rtems/posix/semaphore.inl,
	macros/rtems/posix/timer.inl: New files.
	* configure.in: Removed error check for enabling macros.
	* rtems/posix/mutex.h: #if 0'ed out prototypes for inlined routines
	since you cannot have prototypes for macros.
	* macros/rtems/posix/Makefile.am: Added files.
2000-12-01 18:57:36 +00:00
Joel Sherrill cde0ec8c5c 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* erc32sonic/Makefile.am: Only compile this if networking is enabled.
2000-11-30 14:42:49 +00:00
Joel Sherrill c061304775 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* custom/jmr3904.cfg: Use -m3900 not -mips3. TX3904 is actually
	a mips1.  gcc translates -m3900 into that.
2000-11-30 14:38:18 +00:00
Joel Sherrill 4a14b7bef0 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* mw-fb/mw_uid.c: Removed unnecessary dependency on <bsp.h>.
2000-11-30 14:36:46 +00:00
Joel Sherrill fe27cfb48a 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* cache/Makefile.am: Removed automake warning by introducing a
	simple variable.
2000-11-30 14:36:08 +00:00
Joel Sherrill cea4bd5e51 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* erc32sonic/Makefile.am: Only compile this if networking is enabled.
2000-11-30 14:35:26 +00:00
Joel Sherrill 183f774873 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* src/msgqsubmit.c: Modified multiprocessing conditional so
	this would compile with both macros and inlines.
2000-11-30 14:34:49 +00:00
Joel Sherrill eafa70b2a4 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/rtems/sem.inl: Added macro implementation of
	_Semaphore_Get_interrupt_disable().
2000-11-30 14:33:52 +00:00
Joel Sherrill 40b0597434 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* inline/rtems/posix/mqueue.inl: Removed explicit dependency on abs().
2000-11-30 14:32:56 +00:00
Joel Sherrill c1a24fbea6 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* README: Updated to reflect current status.  Misaligned reference
	during initialization may be compiler problem.
	* console/console-io.c: Added support for printk().
	* startup/linkcmds: Reserve 512K for RTEMS Workspace.
2000-11-30 14:10:38 +00:00
Joel Sherrill 43b6f757ce 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* General effort to make things compile with macros not inlines
	* inline/rtems/score/coremutex.inl: Added comment indicating
	for macros there is another copy of
	_CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c.
	* src/coremutexseize.c: Added body of
	_CORE_mutex_Seize_interrupt_trylock() for macro case.
	* macros/rtems/score/coremutex.inl: Added prototype for
	_CORE_mutex_Seize_interrupt_trylock() since there is a real
	body when macros are enabled.
	* macros/rtems/score/coresem.inl: Added macro implementation of
	_CORE_semaphore_Seize_isr_disable.
	* macros/score/Makefile.am: Fixed typos.
	* rtems/score/address.inl: Correct macro implementation of
	_Addresses_Is_aligned() so it would compile.
	* macros/rtems/score/coremsg.inl: Added closing parentheses.
2000-11-30 14:08:30 +00:00
Joel Sherrill 7f8c11c73d 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: Changed "_CPU_Ccontext_switch_restore: typo to
	correct name of _CPU_Context_switch_restore.  Added dummy
	version of exc_utlb_code() so applications would link.
2000-11-30 14:02:33 +00:00
Joel Sherrill 88d7985260 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* include/rtems/Makefile.am: Added termiostypes.h.
	* libc/Makefile.am: Removed termiostypes.h.
	* libc/termios.c: Changed include of "termiostypes.h" to
	<rtems/termiostypes.h> since that is an RTEMS specific header file.
2000-11-30 14:00:39 +00:00
Joel Sherrill 1a94770a77 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* modem/ppp_tty.c: Changed to include <rtems/termiostypes.h> since
	that is an RTEMS specific header file.
2000-11-30 13:58:22 +00:00
Joel Sherrill a58638b46a 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* sys/ttycom.h: Moved to lib/include/sys.
	* Makefile.am: Modified to reflect above.
2000-11-30 13:57:33 +00:00
Joel Sherrill f5f31dd5a0 2000-11-28 Joel Sherrill <joel@OARcorp.com>
* include/sys/ttycom.h: New file -- moved from libnetworking/sys.
	* Makefile.am: Modified to reflect above.
2000-11-30 13:55:41 +00:00
Joel Sherrill 6b5519a4f3 2000-11-28 Joel Sherrill <joel@OARcorp.com>
* src/imfs/memfile.c: Bug report from Sturniolo Jose
	<jsturnio@nec.com.ar> where NULL pointer was dereferenced.
2000-11-28 21:53:48 +00:00
Joel Sherrill e23afc3638 2000-11-28 Sergei Organov <osv@javad.ru>
* libc/getcwd.c: Ensure _closedir(dir) is called even on
	error exit from the routine.
2000-11-28 21:49:27 +00:00
Joel Sherrill 66fedb46fe 2000-11-28 Chris Johns <ccj@acm.org>
* src/heapallocate.c: Do not allow the size to overflow when
	adjusting it.  A test allocated a stack of -1 (~0). This
	actually resulted in a stack being allocated but with a
	size of 0xb. The allocator did not test the size to see if
	it rolled through 0 and so allowed the allocation to happen, the
	thread to get created. The task crashed as you would expect.
2000-11-28 21:47:39 +00:00