Commit Graph
22127 Commits
Author SHA1 Message Date
Joel Sherrill 8327c5cc78 2000-10-19 Joel Sherrill <joel@OARcorp.com>
* page.c: Readd deleted comment lines.
2000-10-19 15:54:34 +00:00
Joel Sherrill c4be347517 2000-10-19 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Invoke BSP_uart_init() with all arguments
	now that it takes more parameters.
2000-10-19 15:54:00 +00:00
Joel Sherrill e6f5358c65 2000-10-19 Joel Sherrill <joel@OARcorp.com>
* common/uart.h: Added prototype for BSP_uart_set_baud().
2000-10-19 15:53:15 +00:00
Joel Sherrill 5b59c4d46a 2000-10-19 Joel Sherrill <joel@OARcorp.com>
* .cvsignore, src/.cvsignore, src/imfs/.cvsignore, wrapup/.cvsignore:
	New files.
2000-10-19 15:52:22 +00:00
Joel Sherrill f52111f233 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* clock/ckinit.c: Do not just set the IMR, OR the enable bit in.
2000-10-19 15:43:54 +00:00
Joel Sherrill cab273000e 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* src/m68k/any/remdeb.h, src/m68k/any/remdeb_xdr.c,
	src/m68k/any/remdeb_svc.c: New files missed in merger.
2000-10-19 15:37:01 +00:00
Joel Sherrill c92fb641f0 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* configure.in: Add m68k support.
	* include/rdbg/m68k, src/m68k, src/m68k/any: New subdirectory.
	* src/_servtgt.c: add status text to prinf upon task creation failure.
	* src/rdbg.c: reconnect rdbg exception handlers upon RPC calls.
	* src/m68k/Makefile.am, src/m68k/any/Makefile.am,
	src/m68k/any/remdeb_f.x, src/m68k/any/.cvsignore,
	src/m68k/any/remdeb.h, src/m68k/any/remdeb_xdr.c,
	src/m68k/any/remdeb_svc.c, src/m68k/excep_f.c, src/m68k/rdbg_cpu_asm.S,
	src/m68k/rdbg_f.c, src/m68k/.cvsignore: New files.
2000-10-19 15:35:21 +00:00
Joel Sherrill 0da0dea224 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* lib/tftpDriver.c: add comments to handlers struct function pointers.
	* rtems/rtems_glue.c: move pointer arithmetic to be _after_
	pointer has been checked against NULL.
2000-10-19 15:33:03 +00:00
Joel Sherrill e090b7e5de 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* rtems/score/cpu.h: define CPU_Exception_frame for rdbg.
	* m68302.h: Make buffer pointer in m302_SCC_bd volatile.
2000-10-19 15:32:20 +00:00
Joel Sherrill 75e8e04a19 2000-10-18 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* comm/uart.c (BSP_uart_init): Save more line state parameters.
2000-10-19 15:18:20 +00:00
Joel Sherrill f244218338 2000-10-18 Sergei Organov <osv@javad.ru>
* Added full support for MPC505.
	* mpc505/ictrl: New directory.
	* configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition.
	* mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am,
	mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files.
	* mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h".
	* mpc505/vectors/Makefile.am: alignment exception handler now included.
	* mpc505/vectors/vectors.S: Now use constants for exception numbers.
	* old_exception_processing/ppc_offs.h: New file.
	* old_exception_processing/Makefile.am: Account for ppc_offs.h.
	* old_exception_processing/cpu.h: Make Nest and Disable levels volatile.
	* old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
2000-10-18 18:33:47 +00:00
Joel Sherrill a982e0c639 2000-10-18 Sergei Organov <osv@javad.ru>
* Added full support for MPC505.
	* mpc505/ictrl: New directory.
	* configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition.
	* mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am,
	mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files.
	* mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h".
	* mpc505/vectors/Makefile.am: alignment exception handler now included.
	* mpc505/vectors/vectors.S: Now use constants for exception numbers.
	* old_exception_processing/ppc_offs.h: New file.
	* old_exception_processing/Makefile.am: Account for ppc_offs.h.
	* old_exception_processing/cpu.h: Make Nest and Disable levels volatile.
	* old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
2000-10-18 18:24:43 +00:00
Joel Sherrill 10c6e9034f 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* wrapup/Makefile.am: Added libfs.
2000-10-18 18:14:14 +00:00
Joel Sherrill d71c6c1f0e 2000-10-18 Chris Johns <ccj@acm.org>
* libfs created.
	* src, src/imfs, wrapup: New directories.
	* ChangeLog, Makefile.am, README, configure.in, src/Makefile.am,
	wrapup/Makefile.am: New files.
	* src/imfs/deviceio.c, src/imfs/imfs_getchild.c,
	src/imfs/imfs_readlink.c, src/imfs/imfs.h, src/imfs/imfs_gtkn.c,
	src/imfs/imfs_rmnod.c, src/imfs/imfs_chown.c,
	src/imfs/imfs_handlers_device.c, src/imfs/imfs_stat.c,
	src/imfs/imfs_creat.c, src/imfs/imfs_handlers_directory.c,
	src/imfs/imfs_symlink.c, src/imfs/imfs_debug.c,
	src/imfs/imfs_handlers_link.c, src/imfs/imfs_unixstub.c,
	src/imfs/imfs_directory.c, src/imfs/imfs_handlers_memfile.c,
	src/imfs/imfs_unlink.c, src/imfs/imfs_eval.c, src/imfs/imfs_init.c,
	src/imfs/imfs_unmount.c, src/imfs/imfs_fchmod.c,
	src/imfs/imfs_initsupp.c, src/imfs/imfs_utime.c, src/imfs/imfs_fcntl.c,
	src/imfs/imfs_link.c, src/imfs/memfile.c, src/imfs/imfs_fdatasync.c,
	src/imfs/imfs_mknod.c, src/imfs/miniimfs_init.c, src/imfs/imfs_free.c,
	src/imfs/imfs_mount.c, src/imfs/imfs_fsunmount.c, src/imfs/imfs_ntype.c:
	New files. Moved from libc.
2000-10-18 18:10:55 +00:00
Joel Sherrill 45c3da3b36 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Set CONFIGURE_INIT_TASK_STACK_SIZE to 0
	if there is no Classic API Initialization Tasks Table defined.
2000-10-18 18:08:32 +00:00
Joel Sherrill c5a60819c6 2000-10-18 John Cotton <john.cotton@nrc.ca>
* shared/include/cache.h: Improved file header.
2000-10-18 17:36:42 +00:00
Joel Sherrill ee419f3a76 2000-10-18 Chris Johns <ccj@acm.org>
* libfs created.
	* configure.in: Added libfs subdirectory.
2000-10-18 16:56:12 +00:00
Joel Sherrill bfac6a7577 2000-10-18 Chris Johns <ccj@acm.org>
* libfs created.
	* libc/deviceio.c, libc/imfs_getchild.c, libc/imfs_readlink.c,
	libc/imfs.h, libc/imfs_gtkn.c, libc/imfs_rmnod.c, libc/imfs_chown.c,
	libc/imfs_handlers_device.c, libc/imfs_stat.c, libc/imfs_creat.c,
	libc/imfs_handlers_directory.c, libc/imfs_symlink.c, libc/imfs_debug.c,
	libc/imfs_handlers_link.c, libc/imfs_unixstub.c, libc/imfs_directory.c,
	libc/imfs_handlers_memfile.c, libc/imfs_unlink.c, libc/imfs_eval.c,
	libc/imfs_init.c, libc/imfs_unmount.c, libc/imfs_fchmod.c,
	libc/imfs_initsupp.c, libc/imfs_utime.c, libc/imfs_fcntl.c,
	libc/imfs_link.c, libc/memfile.c, libc/imfs_fdatasync.c,
	libc/imfs_mknod.c, libc/miniimfs_init.c, libc/imfs_free.c,
	libc/imfs_mount.c, libc/imfs_fsunmount.c, libc/imfs_ntype.c:
	Moved to libfs/src/imfs.
	* Makefile.am: Modified to reflect above.
2000-10-18 16:53:57 +00:00
Joel Sherrill 1c38c9adf8 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* setup.def, gdb/gdb.spec.in,gnatnewlib/gnatnewlib.spec.in:
	Updated to reflect gnat 3.13p successfully building.
2000-10-18 16:44:00 +00:00
Joel Sherrill 467ed56f4e 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* setup.def: Updating version numbers for gcc/newlib RPM release 10.
2000-10-18 16:42:13 +00:00
Joel Sherrill 552051f0ef 2000-10-18 Chris Johns <ccj@acm.org>
* pppd/ipxcp.c: Fixed a typo.
2000-10-18 16:25:48 +00:00
Joel Sherrill 8ad5399ded 2000-10-18 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* comm/i386-stub-glue.c, comm/tty_drv.c, comm/uart.c, comm/uart.h:
	Add the ability to set parity, number of data bits and
	number of stop bits to the existing i386 serial drivers.
2000-10-18 16:10:50 +00:00
Joel Sherrill 664db30bd3 2000-10-18 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* console/console.c, console/serial_mouse.c, include/bsp.h:
	Add the ability to set parity, number of data bits and
	number of stop bits to the existing i386 serial drivers.
2000-10-18 15:51:41 +00:00
Joel Sherrill 1fc2292d35 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Added BSP dependent routine
	mbx8xx_console_use_maximum_buffer_size() required by mbx8xx
	console-generic code.  This avoids libcpu use of bsp.h.
2000-10-18 15:47:26 +00:00
Joel Sherrill 8c4970175d 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* mpc8xx/console-generic/console-generic.c: Removed include of
	<bsp.h> by adding BSP dependent routine
	mbx8xx_console_use_maximum_buffer_size() which can be hard coded
	or check non-volatile memory for configuration.
2000-10-18 15:46:07 +00:00
Joel Sherrill 21c873850d 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* mpc8xx/console-generic/console-generic.c: Removed warnings.
2000-10-18 15:40:46 +00:00
Joel Sherrill 4fb2a1958b 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* mpc6xx/clock/c_clock.h: Removed commented out reference to <bsp.h>.
	* mpc6xx/timer/timer.c: Ditto.
2000-10-18 15:27:35 +00:00
Joel Sherrill 8c18742708 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* mpc6xx/clock/c_clock.h: Removed commented out reference to <bsp.h>.
	* mpc6xx/timer/timer.c: Ditto.
2000-10-18 15:26:56 +00:00
Joel Sherrill 8e13ca61cf 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h: Removed use of
	bsp.h and replaced it with use of proper interfaces or explicit
	externs of required functions and data.
	* mpc6xx/timer/timer.c: Ditto.
2000-10-18 15:21:35 +00:00
Joel Sherrill 3815a2b73c 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* libc/Makefile.am: Added mallocfreespace.c.
	* libc/mallocfreespace.c: New file based on work by Nick Simon
	<Nick.SIMON@syntegra.bt.co.uk> which he included in malloc.c.
	* libc/libcsupport.h: Added prototype for malloc_free_space().
2000-10-18 15:02:06 +00:00
Joel Sherrill b541e1f860 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* src/regiongetinfo.c, include/rtems/rtems/region.h,
	include/rtems/rtems/types.h, src/Makefile.am: Added
	region_get_information() and information control block.
	* src/regiongetinfo.c: New file.
2000-10-18 14:59:18 +00:00
Joel Sherrill 252565f24d 2000-10-18 Nick Simon <Nick.SIMON@syntegra.bt.co.uk>
* src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
	Added _Heap_Get_information() and information control block.
	* src/heapgetinfo.c: New file.
2000-10-18 14:57:12 +00:00
Joel Sherrill aac7fdd28c 2000-09-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* macros: New directory.
	* macros/bsp-alias.m4: new file.
	* macros/canonical-host.m4: new file.
	* macros/canonical-target-name.m4: new file.
	* macros/canonicalize-tools.m4: new file.
	* macros/check-bsp-cache.m4: new file.
	* macros/check-bsps.m4: new file.
	* macros/check-cpu.m4: new file.
	* macros/rtems-debug.m4: new file.
	* macros/check-cxx.m4: new file.
	* macros/check-itron.m4: new file.
	* macros/check-multiprocessing.m4: new file.
	* macros/check-networking.m4: new file.
	* macros/check-newlib.m4: new file.
	* macros/check-posix.m4: new file.
	* macros/check-rdbg.m4: new file.
	* macros/enable-bare.m4: new file.
	* macros/enable-cxx.m4: new file.
	* macros/enable-gcc28.m4: new file.
	* macros/enable-inlines.m4: new file.
	* macros/enable-itron.m4: new file.
	* macros/enable-libcdir.m4: new file.
	* macros/enable-multiprocessing.m4: new file.
	* macros/enable-networking.m4: new file.
	* macros/enable-posix.m4: new file.
	* macros/enable-rdbg.m4: new file.
	* macros/enable-rtemsbsp.m4: new file.
	* macros/enable-tests.m4: new file.
	* macros/gcc-pipe.m4: new file.
	* macros/gcc-specs.m4: new file.
	* macros/i386-gas-code16.m4: new file.
	* macros/path-ksh.m4: new file.
	* macros/path-perl.m4: new file.
	* macros/prog-cc.m4: new file.
	* macros/prog-cxx.m4: new file.
	* macros/project-root.m4: new file.
	* macros/rtems-top.m4: new file.
	* macros/sysv-ipc.m4: new file.
	* macros/target.m4: new file.
	* macros/rtems-test-no-pause.m4: new file.
	* macros/multilib.m4: new file.
	* macros/tool-paths.m4: new file.
	* macros/tool-prefix.m4: new file.
2000-10-18 13:14:49 +00:00
Joel Sherrill f43d7f71eb 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* page.c: Replaced prototype of printk() with include of <bspIo.h>.
2000-10-18 13:10:38 +00:00
Joel Sherrill e5d8c720da 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Corrected comment.
2000-10-18 13:09:46 +00:00
Joel Sherrill 946178dd7a 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c: Removed commented out include of bsp.h.
2000-10-18 13:09:03 +00:00
Joel Sherrill e6babd7e08 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* libc/fcntl.c: Do not require every filesystem to have an fcntl()
	handler.  Most fcntl() operations can be performed with no
	filesystem support.
	* ChangeLog: Corrected comment.
2000-10-18 13:08:22 +00:00
Joel Sherrill 3a410c5691 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* compilers/gcc-portsw.cfg: Use gcc style flags.
2000-10-18 13:05:10 +00:00
Joel Sherrill 3b5dc96476 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Corrected condition CPU model selection so
	multilib'ing and bare BSP works.
2000-10-18 13:03:14 +00:00
Joel Sherrill e3250b3943 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* libc/fcntl.c: Do not require every filesystem to have an fcntl()
	handler.  Most fcntl() operations can be performed with no
	filesystem support.
	* ChangeLog: Corrected comment.
2000-10-18 13:02:14 +00:00
Joel Sherrill 54ba5aaad6 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S, rtems/score/cpu.h: Modified to better support
	multilibing.  These changes result in the code being able to
	compile with the default gcc settings.  It is not functional
	in this configuration but does compile.
2000-10-18 12:58:29 +00:00
Joel Sherrill 38e5a9f021 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* rtems/score/c4x.h: Modified to properly multilib.  This required
	using only macros predefined by gcc.
2000-10-18 12:57:00 +00:00
Joel Sherrill 399c2e5d5a 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Modified code that accounts for initialization
	task/threads with greater than minimum stack sizes so it would
	compile even if optional APIs are disabled.
2000-10-18 12:55:58 +00:00
Joel Sherrill 1fba44da0a 2000-10-17 Joel Sherrill <joel@OARcorp.com>
* irq/Makefile.am, irq/idt.c: Added idt.c since it has been moved
	libcpu/i386 to libbsp/i386/shared/irq.
2000-10-17 20:37:30 +00:00
Joel Sherrill bad7e90fee 2000-10-17 Joel Sherrill <joel@OARcorp.com>
* startup/Makefile.am: Added idt.c since it has been moved libcpu/i386
	to libbsp/i386/shared/irq.
2000-10-17 20:37:11 +00:00
Joel Sherrill cff1aa3a84 2000-10-17 Joel Sherrill <joel@OARcorp.com>
* idt.c, Makefile.am: Moved idt.c to libbsp/i386/shared so
	i386 RTEMS can be multilib'ed.
2000-10-17 20:33:24 +00:00
Joel Sherrill 563ed952ce 2000-10-12 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Account for initialization tasks and
	threads which use larger than minimum stack sizes.
2000-10-12 19:44:30 +00:00
Joel Sherrill ec45e86d79 2000-10-12 Nick Simon <Nick.SIMON@syntegra.bt.co.uk>
* shared/src/cache_manager.c: Minor bug fix -- changed > to >= so the
	last address is invalidated.
2000-10-12 13:34:56 +00:00
Joel Sherrill 50bb762733 2000-10-12 John S Gwynne <jgwynne@mrcday.com>
* start/start.c: Modified to support generation of ram_init.
	* start/ram_init.ld, BSP/start/ram_init.sed: New files.
	These changes enable RTEMS to automatically generate
	the ram_init file used by gdb with the BDM patches. The 332 has
	on-board chip select lines (for RAM and FLASH) that must be
	configured before use of these peripherals. These patches parse
	data from start.c where the chip select lines are configured in
	the runtime executable and automatically generates the gdb
	initialization file using the same settings. A great time saver.
	A similar file, ram_init_FW (flash writable), is also generated
	that the flash programming tool uses.
	* start/Makefile.am: Modified to support above.
	* CPU/sim.h: Modified to support above.
	* startup/except_vect_332_ROM.S: Moved to start so it would not
	be included in libbsp.a.  Moving it to start ensures it is
	available as a single object file.
	* start/except_vect_332_ROM.S: Moved from startup.
	* startup/linkcmds, startup/linkcmds_ROM: Fixes to the memory map
	shown in the comments.
2000-10-12 12:56:07 +00:00
Joel Sherrill 6c6818678b 2000-10-12 John S Gwynne <jgwynne@mrcday.com>
* sim.h: These changes enable RTEMS to automatically generate
	the ram_init file used by gdb with the BDM patches. The 332 has
	on-board chip select lines (for RAM and FLASH) that must be
	configured before use of these peripherals. These patches parse
	data from start.c where the chip select lines are configured in
	the runtime executable and automatically generates the gdb
	initialization file using the same settings. A great time saver.
	A similar file, ram_init_FW (flash writable), is also generated
	that the flash programming tool uses.
	* BSP/start/start.c: Must be modified to support above.
	* BSP/start/ram_init.ld, BSP/start/ram_init.sed: New files.
2000-10-12 12:50:43 +00:00