summaryrefslogtreecommitdiffstats
path: root/cpukit/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* All possible cpus must be initialized prior to determining how many are ↵Jennifer Averett2011-03-181-0/+5
| | | | actually used.
* 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-03-161-0/+22
| | | | | | | | | | | | | | | | | | | | | | 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 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-03-161-0/+19
| | | | | | | | | | | | | | | | | | | 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 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-161-0/+5
| | | | | * score/src/threadyieldprocessor.c: Removed. File is no longer even compiled. It was an oversight to leave it.
* 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-151-0/+7
| | | | | | | * 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 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-151-0/+4
| | | | * libmisc/cpuuse/cpuusagereport.c: Make compile again.
* 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-151-0/+5
| | | | | * libmisc/shell/main_setenv.c: Revert after discussion. Mark as intentional in Coverity.
* 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-151-0/+7
| | | | | | | * 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 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-151-0/+5
| | | | | * libmisc/shell/main_setenv.c: Address Coverity issue 134 which recommends using strnXXX methods.
* 2011-03-15 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-151-0/+5
| | | | | * libmisc/cpuuse/cpuusagereport.c: Avoid assumptions on execution context.
* 2011-03-15 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-151-0/+11
| | | | | | | | | | | * 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 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-151-0/+6
| | | | | | PR 1757/filesystem * libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal compare.
* 2011-03-15 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-151-0/+18
| | | | | | | | | | | | | | | | | | 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-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-141-0/+5
| | | | | * libmisc/mouse/mouse_parser.c, libmisc/mouse/serial_mouse.c: Remove include of bsp.h
* 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-141-0/+5
| | | | | * libfs/src/imfs/deviceerrno.c: Add RTEMS_INVALID_CLOCK, RTEMS_INVALID_NODE, and RTEMS_NOT_CONFIGURED.
* 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-141-0/+11
| | | | | | | | | | | 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 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-03-141-0/+4
| | | | * score/include/rtems/score/sysstate.h: Spelling.
* 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-101-0/+4
| | | | * sapi/include/rtems/extension.h: Documentation.
* 2011-03-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-091-0/+5
| | | | | * score/src/threadget.c: Remove conditional since this path can be tested with and without POSIX enabled.
* 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-03-081-0/+6
| | | | | | * score/src/objectinitializeinformation.c: Reverse sense of conditional and improve comment. Comment was right but brief, conditional was backwards.
* 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-03-081-0/+9
| | | | | | | | | PR 1759/cpukit * posix/src/cancel.c, posix/src/pthreaddetach.c, posix/src/pthreadequal.c, posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c, posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c: Some POSIX pthread services did not support using Classic API Task Ids.
* 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-03-081-0/+5
| | | | | * score/include/rtems/score/schedulerpriority.h: Enqueue first entry said enqueue. Caught while running coverage.
* 2011-03-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-071-0/+3
| | | | | | * libmisc/cpuuse/cpuusagereport.c: Fix calculation in case a thread dispatch happends in the meantime. The percent values will not sum up to one hundred percent.
* 2011-03-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-071-0/+5
| | | | | * include/rtems/irq-extension.h: Documentation. * libmisc/monitor/mon-prmisc.c: Fix for multiprocessing configuration.
* 2011-03-04 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-03-041-0/+5
| | | | | * aclocal/rtems-top.m4, aclocal/version.m4: Rename RTEMS_API into _RTEMS_API.
* 2011-03-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-031-0/+4
| | | | * sapi/include/confdefs.h: Typos.
* Formatting.Joel Sherrill2011-03-031-3/+4
|
* 2011-03-03 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-031-0/+6
| | | | | | * libcsupport/src/mknod.c, libfs/src/rfs/rtems-rfs-inode.c: PR 1749. Fix the incorrect handling of the file type in the mode value to reject invalid types as per the standard.
* 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-03-021-0/+19
| | | | | | | | | | | | | | | | | | | | | | * libnetworking/netinet/if_ether.c, libnetworking/netinet/in.c, libnetworking/netinet/in_pcb.c, libnetworking/netinet/in_pcb.h, libnetworking/netinet/in_proto.c, libnetworking/netinet/in_rmx.c, libnetworking/netinet/in_var.h, libnetworking/netinet/ip_divert.c, libnetworking/netinet/ip_fw.c, libnetworking/netinet/ip_mroute.c, libnetworking/netinet/ip_output.c, libnetworking/netinet/raw_ip.c, libnetworking/netinet/tcp_input.c, libnetworking/netinet/tcp_output.c, libnetworking/netinet/tcp_subr.c, libnetworking/netinet/tcp_timer.c, libnetworking/netinet/tcp_usrreq.c, libnetworking/netinet/udp_usrreq.c: Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.
* 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-03-021-0/+8
| | | | | | | | | | | * libnetworking/rtems/rtems_showicmpstat.c, libnetworking/rtems/rtems_showifstat.c, libnetworking/rtems/rtems_showipstat.c, libnetworking/rtems/rtems_showmbuf.c, libnetworking/rtems/rtems_showroute.c, libnetworking/rtems/rtems_showtcpstat.c, libnetworking/rtems/rtems_showudpstat.c: Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.
* 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-03-021-0/+3
| | | | | | * libnetworking/kern/kern_subr.c, libnetworking/kern/kern_sysctl.c, libnetworking/kern/uipc_socket.c, libnetworking/kern/uipc_socket2.c: Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.
* 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-03-021-0/+6
| | | | | | | | | * libnetworking/net/if.c, libnetworking/net/if.h, libnetworking/net/if_media.h, libnetworking/net/if_var.h, libnetworking/net/raw_cb.c, libnetworking/net/raw_cb.h, libnetworking/net/raw_usrreq.c, libnetworking/net/route.c, libnetworking/net/rtsock.c: Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.
* 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-03-021-0/+6
| | | | | | * libnetworking/sys/mount.h, libnetworking/sys/socketvar.h, libnetworking/sys/sysctl.h: Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.
* 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-03-021-0/+5
| | | | | * configure.ac: Rework checks for mandated headers tar.h, errno.h, sched.h, sys/cdefs.h, sys/queue.h.
* 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-03-021-0/+5
| | | | | * configure.ac: Remove unused AM_CONDITIONAL([NEED_SYS_CDEFS_H]). Remove unused AM_CONDITIONAL([NEED_SYS_QUEUE_H]).
* 2011-03-01 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-011-0/+7
| | | | | | | * score/src/heapfree.c, score/src/heapresizeblock.c: PR 1746. Move protection block checks to after the block address has been checked as a valid heap address. Add a special case in the heap free for a NULL address.
* 2011-02-27 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-02-281-0/+6
| | | | | | * score/include/rtems/score/schedulerpriority.h, score/src/schedulerpriority.c, score/src/schedulerpriorityextract.c, score/src/schedulerpriorityupdate.c: Formatting.
* 2011-02-25 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-251-0/+7
| | | | | | | * libnetworking/rtems/rtems_mii_ioctl_kern.c: Do not use IFM_ACTIVE and IFM_AVALID in the media word. * libnetworking/net/if_media.h: Hack to get libbsdport interface drivers working.
* 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-251-0/+8
| | | | | | | | * libcsupport/src/sleep_noposix.c: Remove. * libcsupport/Makefile.am: Reflect changes above. * posix/src/sleep.c, posix/src/usleep.c: Remove. * posix/Makefile.am: Reflect changes above. * configure.ac: Error out if libc doesn't provide sleep, usleep.
* 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-251-0/+7
| | | | | | | * aclocal/canonical-target-name.m4: Stop pretending no_cpu* was buildable. Derive RTEMS_CPU from "$host_cpu". Error out if "$host" doesn't match "*-*-rtems*".
* 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-251-0/+5
| | | | | * aclocal/check-networking.m4, aclocal/check-posix.m4: Rebase check on "$host".
* 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-251-1/+7
| | | | | | * libcsupport/src/creat.c: Remove. * libcsupport/Makefile.am: Reflect changes above. * configure.ac: Error out if libc doesn't provide creat.
* 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-251-0/+11
| | | | | | | | | | | * libcsupport/src/opendir.c, libcsupport/src/closedir.c, libcsupport/src/readdir.c, libcsupport/src/rewinddir.c, libcsupport/src/scandir.c, libcsupport/src/seekdir.c, libcsupport/src/telldir.c: Remove. * libcsuppport/Makefile.am: Reflect changes above. * configure.ac: Error out if libc doesn't provide opendir, closedir, readdir, rewinddir, scandir, seekdir, telldir.
* 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-241-0/+5
| | | | | * libcsupport/include/sys/statvfs.h: Remove include <sys/cdefs.h> (unused). Add C++ guards. Declare functions extern.
* 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-241-0/+5
| | | | | * posix/include/rtems/posix/mqueue.h, posix/include/rtems/posix/timer.h: Add missing includes.
* 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-241-0/+6
| | | | | | * libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_icmp.h: Misc. changes from FreeBSD. * libnetworking/netinet/tcp_var.h: Include <netinet/tcp_timer.h>.
* 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-241-0/+8
| | | | | | | | * libnetworking/netinet/in_systm.h, libnetworking/netinet/tcp_debug.c, libnetworking/netinet/tcp_debug.h, libnetworking/netinet/tcp_seq.h, libnetworking/netinet/tcp_var.h, libnetworking/netinet/tcpip.h: Misc changes from FreeBSD.
* 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-231-0/+2
| | | | | * libnetworking/net/if_pppvar.h: Add "extern C++" guards. Add header guard.
* 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-231-0/+4
| | | | * libnetworking/sys/signalvar.h: Comment out unused code.
* 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-231-0/+1
| | | | * posix/include/rtems/posix/mqueue.h: Relocate "extern C++" guards.