| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
* score/src/threadyieldprocessor.c: Removed. File is no longer
even compiled. It was an oversight to leave it.
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
* libmisc/cpuuse/cpuusagereport.c: Make compile again.
|
| |
| |
| |
| |
| | |
* libmisc/shell/main_setenv.c: Revert after discussion. Mark as
intentional in Coverity.
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| | |
* libmisc/shell/main_setenv.c: Address Coverity issue 134 which
recommends using strnXXX methods.
|
| |
| |
| |
| |
| | |
* libmisc/cpuuse/cpuusagereport.c: Avoid assumptions on execution
context.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| | |
PR 1757/filesystem
* libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal
compare.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
* libmisc/mouse/mouse_parser.c, libmisc/mouse/serial_mouse.c: Remove
include of bsp.h
|
| |
| |
| |
| |
| | |
* libfs/src/imfs/deviceerrno.c: Add RTEMS_INVALID_CLOCK,
RTEMS_INVALID_NODE, and RTEMS_NOT_CONFIGURED.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
* score/include/rtems/score/sysstate.h: Spelling.
|
| |
| |
| |
| | |
* sapi/include/rtems/extension.h: Documentation.
|
| |
| |
| |
| |
| | |
* score/src/threadget.c: Remove conditional since this path can be
tested with and without POSIX enabled.
|
| |
| |
| |
| |
| |
| | |
* score/src/objectinitializeinformation.c: Reverse sense of conditional
and improve comment. Comment was right but brief, conditional was
backwards.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
* score/include/rtems/score/schedulerpriority.h: Enqueue first entry
said enqueue. Caught while running coverage.
|
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| | |
* include/rtems/irq-extension.h: Documentation.
* libmisc/monitor/mon-prmisc.c: Fix for multiprocessing configuration.
|
| |
| |
| |
| |
| | |
* aclocal/rtems-top.m4, aclocal/version.m4:
Rename RTEMS_API into _RTEMS_API.
|
| |
| |
| |
| | |
* sapi/include/confdefs.h: Typos.
|
| | |
|
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| | |
|
| |
| |
| |
| |
| |
| | |
* libnetworking/sys/mount.h, libnetworking/sys/socketvar.h,
libnetworking/sys/sysctl.h:
Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.
|
| | |
|
| |
| |
| |
| |
| | |
* configure.ac: Rework checks for mandated headers tar.h,
errno.h, sched.h, sys/cdefs.h, sys/queue.h.
|
| |
| |
| |
| |
| | |
* configure.ac: Remove unused AM_CONDITIONAL([NEED_SYS_CDEFS_H]).
Remove unused AM_CONDITIONAL([NEED_SYS_QUEUE_H]).
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| | |
* score/include/rtems/score/schedulerpriority.h,
score/src/schedulerpriority.c, score/src/schedulerpriorityextract.c,
score/src/schedulerpriorityupdate.c: Formatting.
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|