Commit Graph

22357 Commits

Author SHA1 Message Date
Joel Sherrill
20546ace87 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* Makefile.am, configure.ac: Add next step in SMP support. This adds an
	allocated array of the Per_CPU structures to support multiple cpus vs
	a single instance of the structure which is still used if SMP support
	is disabled. Configuration support is also added to explicitly enable
	or disable SMP. But SMP can only be enabled for the CPUs which will
	support it initially -- SPARC and i386. With the stub BSP support, a
	BSP can be run as a single core SMP system from an RTEMS data
	structure standpoint.
2011-03-16 20:05:26 +00:00
Joel Sherrill
66729db311 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* shared/irq/irq_asm.S: Add next step in SMP support. This adds an
	allocated array of the Per_CPU structures to support multiple cpus vs
	a single instance of the structure which is still used if SMP support
	is disabled. Configuration support is also added to explicitly enable
	or disable SMP. But SMP can only be enabled for the CPUs which will
	support it initially -- SPARC and i386. With the stub BSP support, a
	BSP can be run as a single core SMP system from an RTEMS data
	structure standpoint.
2011-03-16 20:05:17 +00:00
Joel Sherrill
06dcaf09e6 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* configure.ac, sapi/include/confdefs.h, sapi/src/exinit.c,
	score/Makefile.am, score/preinstall.am,
	score/cpu/i386/rtems/score/cpu.h, score/cpu/sparc/cpu_asm.S,
	score/cpu/sparc/rtems/score/cpu.h,
	score/include/rtems/score/basedefs.h,
	score/include/rtems/score/context.h,
	score/include/rtems/score/percpu.h, score/src/percpu.c,
	score/src/thread.c, score/src/threadcreateidle.c: Add next step in
	SMP support. This adds an allocated array of the Per_CPU structures
	to support multiple cpus vs a single instance of the structure which
	is still used if SMP support is disabled. Configuration support is
	also added to explicitly enable or disable SMP. But SMP can only be
	enabled for the CPUs which will support it initially -- SPARC and
	i386. With the stub BSP support, a BSP can be run as a single core
	SMP system from an RTEMS data structure standpoint.
	* aclocal/check-smp.m4, aclocal/enable-smp.m4,
	score/include/rtems/bspsmp.h, score/include/rtems/score/smplock.h,
	score/src/smp.c, score/src/smplock.c: New files.
2011-03-16 20:05:06 +00:00
Joel Sherrill
ef99f23a7b 2011-03-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* spfifo05/init.c: Console interrupts perturb test.
2011-03-16 19:08:29 +00:00
Joel Sherrill
ffeee4d3ca 2011-03-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* ada_user/.cvsignore: Add missing files.
2011-03-16 17:51:09 +00:00
Joel Sherrill
a5082ff841 2011-03-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* README: Add example mkimage command.
2011-03-16 17:13:20 +00:00
Joel Sherrill
a1a5f9225c 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1743/cpu
	* tm26/task1.c, tm27/task1.c: Add Simple Priority Scheduler as
	complement to existing Deterministic Priority Scheduler. Modify these
	tests to verify the scheduler they are designed to work with is the
	default scheduler.
2011-03-16 17:11:32 +00:00
Joel Sherrill
18b8ac71d8 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1743/cpu
	* user/conf.t: Add Simple Priority Scheduler as complement to existing
	Deterministic Priority Scheduler. This scheduler serves both as an
	example and as a lighter weight implementation for smaller systems.
2011-03-16 16:39:16 +00:00
Joel Sherrill
5bbc204431 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1743/cpu
	* Makefile.am, configure.ac, spsize/size.c: Add Simple Priority
	Scheduler as complement to existing Deterministic Priority Scheduler.
	This scheduler serves both as an example and as a lighter weight
	implementation for smaller systems.
	* spsimplesched01/.cvsignore, spsimplesched01/Makefile.am,
	spsimplesched01/init.c, spsimplesched01/spsimplesched01.doc,
	spsimplesched01/spsimplesched01.scn, spsimplesched02/.cvsignore,
	spsimplesched02/Makefile.am, spsimplesched02/init.c,
	spsimplesched02/spsimplesched02.doc,
	spsimplesched02/spsimplesched02.scn, spsimplesched03/.cvsignore,
	spsimplesched03/Makefile.am, spsimplesched03/init.c,
	spsimplesched03/spsimplesched03.doc,
	spsimplesched03/spsimplesched03.scn: New files.
2011-03-16 16:33:04 +00:00
Joel Sherrill
0118ed65ea 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1743/cpu
	* sapi/include/confdefs.h, score/Makefile.am, score/preinstall.am: Add
	Simple Priority Scheduler as complement to existing Deterministic
	Priority Scheduler. This scheduler serves both as an example and as a
	lighter weight implementation for smaller systems.
	* score/include/rtems/score/schedulersimple.h,
	score/inline/rtems/score/schedulersimple.inl,
	score/src/schedulersimple.c, score/src/schedulersimpleblock.c,
	score/src/schedulersimpleenqueue.c,
	score/src/schedulersimpleenqueuefirst.c,
	score/src/schedulersimpleextract.c,
	score/src/schedulersimplereadyqueueenqueue.c,
	score/src/schedulersimplereadyqueueenqueuefirst.c,
	score/src/schedulersimpleschedule.c,
	score/src/schedulersimpleunblock.c, score/src/schedulersimpleyield.c:
	New files.
2011-03-16 16:32:22 +00:00
Joel Sherrill
db03612ee4 2011-03-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadyieldprocessor.c: Removed.  File is no longer
	even compiled.  It was an oversight to leave it.
2011-03-16 13:26:33 +00:00
Sebastian Huber
67cf697636 2011-03-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* tm26/task1.c: Update for API change.
2011-03-16 09:14:37 +00:00
Joel Sherrill
d75792b353 2011-03-15 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Fix clock code on qemu. Also ensure UART is
	initialized early for printk.
2011-03-15 21:34:44 +00:00
Joel Sherrill
59eb1254ad 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/taskresume.c, score/Makefile.am,
	score/include/rtems/score/thread.h: Convert _Thread_Resume and
	_Thread_Suspend into macros.
	* score/src/threadresume.c, score/src/threadsuspend.c: Removed.
2011-03-15 19:27:46 +00:00
Joel Sherrill
d15c084eb6 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/cpuuse/cpuusagereport.c: Make compile again.
2011-03-15 19:03:38 +00:00
Joel Sherrill
a47dd1cc26 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/main_setenv.c: Revert after discussion. Mark as
	intentional in Coverity.
2011-03-15 15:43:09 +00:00
Joel Sherrill
315c9b89f3 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/dosfs/msdos_format.c: Address Coverity issue 183 which was
	where an expression evaluated to a constant and issue 185 which was a
	potential (although unlikely in expected usage) time-of-check,
	time-of-use race condition.
2011-03-15 15:05:29 +00:00
Joel Sherrill
d252351c43 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/main_setenv.c: Address Coverity issue 134 which
	recommends using strnXXX methods.
2011-03-15 15:02:41 +00:00
Sebastian Huber
4e553c6068 2011-03-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/cpuuse/cpuusagereport.c: Avoid assumptions on execution
	context.
2011-03-15 14:52:32 +00:00
Chris Johns
597624691b 2011-03-15 Chris Johns <chrisj@rtems.org>
* libfs/src/rfs/rtems-rfs-rtems-file.c,
        libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-rtems.h:
        The fix to the removal of file_info from iop was broken. The
        node_access field must be the inode number in the RFS because the
        file system ops provides no way to tell is a stat call is the
        result of stat, fstat, or lstat. The solution is to move the file
        handle to node_access_2 which is also shared with doff but these
        do not overlap.
2011-03-15 07:32:39 +00:00
Chris Johns
ecfeb16b42 2011-03-15 Chris Johns <chrisj@rtems.org>
PR 1757/filesystem
        * libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal
        compare.
2011-03-15 05:14:39 +00:00
Chris Johns
d0fcd0b8a6 2011-03-15 Chris Johns <chrisj@rtems.org>
PR 1763/shell
        * libmisc/shell/hexdump-conv.c: Remove debug hacks.

        PR 1757/filesystem
        * libfs/src/rfs/rtems-rfs-block-pos.h,
        libfs/src/rfs/rtems-rfs-block.h, libfs/src/rfs/rtems-rfs-file.c,
        libfs/src/rfs/rtems-rfs-rtems-file.c: Set the file size in
        iop-size when a file is open. Fix lseek to end of file then write
        for sizes less than half the file system block size.
        * libfs/src/rfs/rtems-rfs-rtems-dev.c,
        libfs/src/rfs/rtems-rfs-rtems-dir.c,
        libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-rtems.h:
        Fix the fstat and fchmod calls due to the change in the iop struct
        where pathinfo went away. The node_access field in pathinfo was
        overloaded.
2011-03-15 05:02:34 +00:00
Joel Sherrill
03b50961d8 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/mouse/mouse_parser.c, libmisc/mouse/serial_mouse.c: Remove
	include of bsp.h
2011-03-14 18:17:28 +00:00
Joel Sherrill
7d0e70214f 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.h: Remove warnings.
2011-03-14 17:37:00 +00:00
Joel Sherrill
78d1190528 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/imfs/deviceerrno.c: Add RTEMS_INVALID_CLOCK,
	RTEMS_INVALID_NODE, and RTEMS_NOT_CONFIGURED.
2011-03-14 16:24:00 +00:00
Joel Sherrill
3d4f74955c 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test for Mouse Parser Engine
	(Microsoft Mouse paths) and Serial Mouse Driver.
	* mouse01/.cvsignore, mouse01/Makefile.am, mouse01/init.c,
	mouse01/mouse01.doc, mouse01/mouse01.scn, mouse01/msmouse.c,
	mouse01/serial_mouse_config.c: New files.
2011-03-14 16:18:10 +00:00
Joel Sherrill
1fef02ca1a 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1762/cpukit
	* Makefile.am, preinstall.am, console/console.c, console/keyboard.c,
	console/keyboard.h, console/pc_keyb.c, console/ps2_mouse.c,
	console/vgainit.c: Made mouse parser engine generic. Now use generic
	serial mouse driver. Moved many externs from C to .h.
	* console/kbd_parser.c, console/serial_mouse_config.c: New files.
	* console/mouse_parser.c, console/mouse_parser.h,
	console/serial_mouse.c, console/serial_mouse.h: Removed.
2011-03-14 14:57:00 +00:00
Joel Sherrill
3d6c1bb6b4 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1762/cpukit
	* Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am:
	Add generic serial mouse driver and mouse parser. The parser code was
	in the pc386 BSP but was generic so cleaned up and placed here.
	Serial mouse driver itself is new.
	* libmisc/mouse/README, libmisc/mouse/mouse_parser.c,
	libmisc/mouse/mouse_parser.h, libmisc/mouse/serial_mouse.c,
	libmisc/mouse/serial_mouse.h: New files.
2011-03-14 14:56:08 +00:00
Joel Sherrill
ea3e8f1888 2011-03-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.maint: Remove started_ada.
2011-03-14 13:19:28 +00:00
Joel Sherrill
9e6c68cad1 2011-03-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* score/include/rtems/score/sysstate.h: Spelling.
2011-03-14 13:18:34 +00:00
Joel Sherrill
f91b186042 2011-03-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
* sp58/init.c, sp58/sp58.scn: Account for case where left hand side
	seconds field is less than.
2011-03-11 20:36:45 +00:00
Joel Sherrill
95fc0a6a6e 2011-03-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
* sp08/sp08.scn: Convert to UNIX CR/LF.
2011-03-11 20:28:03 +00:00
Joel Sherrill
6a4ccdf998 2011-03-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
* sp08/Makefile.am, sp08/init.c, sp08/sp08.scn, sp09/screen07.c,
	sp09/sp09.scn: Improve coverage. Change mode while system not up and
	broadcast a message that is too large.
	* sp08/system.h, sp08/task1.c: Removed.
2011-03-11 20:26:59 +00:00
Joel Sherrill
89ed8a9055 2011-03-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, configure.ac: Add sp73.  This is a new test designed
	to improve coverage of the thread yield logic.
	* sp73/.cvsignore, sp73/Makefile.am, sp73/init.c, sp73/sp73.doc,
	sp73/sp73.scn: New files.
2011-03-11 16:39:27 +00:00
Ralf Corsepius
a6a7aae35e Remove (Obsolete). 2011-03-11 05:52:42 +00:00
Sebastian Huber
08d01a1452 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/rtems/extension.h: Documentation.
2011-03-10 16:39:14 +00:00
Sebastian Huber
b2e48ffe6b 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sp07/init.c: Improve coverage.
2011-03-10 16:36:51 +00:00
Sebastian Huber
627b70e10a 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* heapwalk/init.c: Improve coverage.
	* heapwalk/heapwalk.scn: Update.
2011-03-10 15:41:58 +00:00
Sebastian Huber
73406bfbbf 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/cpuIdent.h: Fixed warnings.
2011-03-10 15:04:22 +00:00
Ralf Corsepius
6c1650175e Regenerate. 2011-03-10 07:03:20 +00:00
Ralf Corsepius
855c6b0423 Rename amd64 into x86_64. 2011-03-10 07:03:09 +00:00
Ralf Corsepius
31396c126a Rename freebsd8.2/amd64/ into freebsd8.2/x86_64/. 2011-03-10 06:56:14 +00:00
Ralf Corsepius
8aaceef857 Remove bogus comment. 2011-03-10 06:52:30 +00:00
Ralf Corsepius
166bb3767b Regenerate. 2011-03-10 05:22:06 +00:00
Ralf Corsepius
73f720884b Bump GCC_RPMREL. 2011-03-10 05:21:33 +00:00
Ralf Corsepius
f9fb5ba210 Regenerate. 2011-03-10 04:39:36 +00:00
Ralf Corsepius
dd81f4b11c Bump GCC_RPMREL. 2011-03-10 04:39:06 +00:00
Ralf Corsepius
6a61aefe45 Abandon freebsd8.0. 2011-03-10 04:37:36 +00:00
Ralf Corsepius
b15cd01ebc Abandon. 2011-03-10 04:36:25 +00:00
Ralf Corsepius
75c3414d60 Regenerate. 2011-03-10 04:30:41 +00:00