| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1777/cpukit
* libcsupport/src/malloc_deferred.c, libcsupport/src/realloc.c,
score/Makefile.am, score/cpu/lm32/irq.c, score/cpu/nios2/irq.c,
score/include/rtems/score/coremutex.h,
score/include/rtems/score/thread.h,
score/inline/rtems/score/thread.inl, score/src/heapfree.c,
score/src/pheapwalk.c, score/src/smp.c, score/src/threaddispatch.c:
Consolidated access to _Thread_Dispatch_disable_level.
* score/src/threaddisabledispatch.c, score/src/threadenabledispatch.c:
New files.
|
|
|
|
|
| |
* posix/src/mqueuegetattr.c,
score/inline/rtems/score/schedulerpriority.inl: Remove warnings.
|
|
|
|
|
|
| |
PR 1774/filesystem
* libfs/src/imfs/imfs_eval.c: Fix the IMFS eval and eval for make
handlers to not inspect a mounted file sytems path.
|
|
|
|
| |
* libfs/src/pipe/fifo.c: Fixed integer type.
|
|
|
|
| |
* libcsupport/src/ioctl.c: Fixed integer type.
|
|
|
|
|
| |
* sapi/include/confdefs.h, score/cpu/i386/cpu.c: Fix typos so you
really can define a user scheduler.
|
|
|
|
|
| |
PR 1701/filesystems
* libfs/src/imfs/memfile.c: Fix sense of assert.
|
|
|
|
| |
* score/src/heap.c: Avoid integer overflow.
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1641/cpukit
* sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am,
score/preinstall.am: Add Red Black Tree data structure to score.
* sapi/include/rtems/rbtree.h, sapi/inline/rtems/rbtree.inl,
score/include/rtems/score/rbtree.h, score/inline/rtems/score/rbtree.inl,
score/src/rbtree.c, score/src/rbtreeextract.c,
score/src/rbtreefind.c, score/src/rbtreefindheader.c,
score/src/rbtreeget.c, score/src/rbtreeinsert.c,
score/src/rbtreepeek.c: New files.
|
|
|
|
|
|
| |
PR 1722/networking
* ftpd/ftpd.c: FTPD fails to parse correctly FTP commands relating to
filenames with spaces in them.
|
|
|
|
|
|
|
|
| |
PR 1773/cpukit
* sapi/include/confdefs.h, sapi/src/exinit.c,
score/include/rtems/bspsmp.h, score/src/percpu.c, score/src/thread.c:
Rename rtems_smp_maximum_processor to
rtems_configuration_smp_maximum_processor. Eliminate printk().
|
|
|
|
|
|
| |
* include/rtems/bsd/sys/queue.h, include/rtems/bsd/sys/cdefs.h:
Remove.
* Makefile.am: Reflect changes above.
|
|
|
|
|
| |
* libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_dd.c:
Add local version of __unused macro.
|
|
|
|
|
| |
* libcsupport/include/sys/ioccom.h:
Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).
|
|
|
|
|
|
|
|
|
|
|
| |
* librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/rpc_com.h,
librpc/include/rpc/rpcent.h, librpc/include/rpc/svc.h,
librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
librpc/include/rpcsvc/ypclnt.h:
Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnetworking/ifaddrs.h, libnetworking/netdb.h,
libnetworking/resolv.h, libnetworking/arpa/inet.h,
libnetworking/arpa/nameser.h, libnetworking/libc/gethostbydns.c,
libnetworking/libc/getifaddrs.c, libnetworking/libc/if_indextoname.c,
libnetworking/libc/if_nameindex.c, libnetworking/libc/res_stubs.c,
libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
libnetworking/net/if.h, libnetworking/net/if_dl.h,
libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
libnetworking/netinet/tcp_debug.c,
libnetworking/rtems/rtems_bsdnet_internal.h,
libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
libnetworking/sys/poll.h, libnetworking/sys/socket.h,
libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
libnetworking/sys/systm.h, libnetworking/sys/uio.h,
libnetworking/sys/un.h:
Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).
|
|
|
|
|
| |
* libnetworking/sys/linker_set.h: Add local versions of __used
and __CONCAT macros.
|
|
|
|
| |
actually used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|