Commit Graph

22433 Commits

Author SHA1 Message Date
Ralf Corsepius
23c71a83e2 Import from zlib-1.2.4 2011-03-18 10:11:13 +00:00
Ralf Corsepius
593898f0b6 Import from zlib-1.2.4 2011-03-18 10:11:12 +00:00
Ralf Corsepius
224cb72d30 Import from zlib-1.2.4 2011-03-18 10:11:11 +00:00
Ralf Corsepius
ba3ec3d2f0 Import from zlib-1.2.4 2011-03-18 10:11:10 +00:00
Ralf Corsepius
0c5f3af3aa Import from zlib-1.2.4 2011-03-18 10:11:09 +00:00
Ralf Corsepius
d159dd8fed Import from zlib-1.2.4 2011-03-18 10:11:08 +00:00
Ralf Corsepius
a96fad0e47 This commit was generated by cvs2svn to compensate for changes in r25164,
which included commits to RCS files with non-trunk default branches.
2011-03-18 10:11:07 +00:00
Ralf Corsepius
8c05550eb7 Import from zlib-1.2.4 2011-03-18 10:11:07 +00:00
Ralf Corsepius
9f5ede0a00 Import from zlib-1.2.4 2011-03-18 10:11:06 +00:00
Ralf Corsepius
676506f35f Import from zlib-1.2.4 2011-03-18 10:11:05 +00:00
Ralf Corsepius
f369a5097f Import from zlib-1.2.4 2011-03-18 10:11:04 +00:00
Ralf Corsepius
673df40c01 Import from zlib-1.2.4 2011-03-18 10:11:03 +00:00
Ralf Corsepius
c6b49cbca9 Import from zlib-1.2.4 2011-03-18 10:11:02 +00:00
Ralf Corsepius
ebe2800681 Import from zlib-1.2.4 2011-03-18 10:11:01 +00:00
Ralf Corsepius
f1c8de990f Import from zlib-1.2.4 2011-03-18 10:11:00 +00:00
Ralf Corsepius
3a0d65c0f1 Import from zlib-1.2.4 2011-03-18 10:10:59 +00:00
Ralf Corsepius
7367fde9fa Import from zlib-1.2.4 2011-03-18 10:10:58 +00:00
Ralf Corsepius
bdaeffd8aa Import from zlib-1.2.4 2011-03-18 10:10:57 +00:00
Ralf Corsepius
a7aa7352e7 Import from zlib-1.2.4 2011-03-18 10:10:56 +00:00
Ralf Corsepius
8198f694f5 Import zlib-1.2.3 2011-03-18 10:10:55 +00:00
Joel Sherrill
b3a7216629 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* spsize/size.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.
2011-03-16 20:08:39 +00:00
Joel Sherrill
d5f3485e5d 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* aclocal/check-smp.m4, aclocal/enable-smp.m4: New files.
2011-03-16 20:07:11 +00:00
Joel Sherrill
054b1c6fe9 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* aclocal/enable-smp.m4: New file.
2011-03-16 20:06:55 +00:00
Joel Sherrill
7f32fa4643 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* smp/getcpuid.c, smp/smp_stub.c: New files.
2011-03-16 20:06:04 +00:00
Joel Sherrill
5d69cd33e9 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* shared/irq_asm.S: New file.
2011-03-16 20:05:30 +00:00
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