| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* libcsupport/Makefile.am, posix/Makefile.am: Comment out including
files which contain routines which are now provided by the newlib
posix subdirectory. Document a few which come from the unix directory.
|
|
|
|
|
|
| |
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Do not
think about running init/fini on AVR. We do not know what mechanism
it uses but this is not it.
|
|
|
|
|
| |
* libcsupport/Makefile.am: Add getrusage().
* libcsupport/src/getrusage.c: New file.
|
|
|
|
|
| |
* libcsupport/src/ttyname.c: Change third parameter of ttyname to be
size_t instead of int.
|
|
|
|
|
|
| |
PR 1333/cpukit
* libcsupport/include/rtems/termiostypes.h: Typo on type name -- should
be rtems_device_minor_number.
|
|
|
|
| |
* libcsupport/src/free.c: Should print begin field not start field.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, libcsupport/src/mknod.c,
libcsupport/src/open.c, libcsupport/src/pipe.c, libfs/Makefile.am,
libfs/preinstall.am, libfs/src/imfs/imfs.h,
libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_debug.c,
libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_initsupp.c,
libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_stat.c,
libfs/src/imfs/memfile.c: Initial commit of POSIX pipe support.
* libfs/src/imfs/imfs_fifo.c, libfs/src/pipe/fifo.c,
libfs/src/pipe/pipe.c, libfs/src/pipe/pipe.h: New files.
|
|
|
|
|
|
|
|
|
|
|
| |
* libcsupport/src/printk.c: Addresses can be larger than integers
so use long for %p formats.
* score/inline/rtems/score/address.inl: Offsets can be positive or
negative, so use int32_t. Also do math with intptr_t since there
are cases where the number of bits in an address do not equal the
number of bits in an integer.
* score/inline/rtems/score/heap.inl: Offsets can be positive or
negative, so use int32_t.
|
|
|
|
|
|
| |
* configure.ac: Add m32r.
* libcsupport/src/newlibc_exit.c: For some odd reason, the fini
symbol for the m32r in C needs an extra leading _.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libcsupport/src/malloc_statistics_helpers.c,
libcsupport/src/realloc.c, rtems/include/rtems/rtems/region.h,
rtems/include/rtems/rtems/support.h,
rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
rtems/src/workspace.c, sapi/include/confdefs.h,
score/include/rtems/score/heap.h,
score/include/rtems/score/protectedheap.h,
score/include/rtems/score/wkspace.h, score/src/heap.c,
score/src/heapallocate.c, score/src/heapallocatealigned.c,
score/src/heapextend.c, score/src/heapresizeblock.c,
score/src/heapsizeofuserarea.c, score/src/pheapgetblocksize.c,
score/src/wkspace.c: Change size_t to ssize_t on all Heap, Workspace
and Region calls. On 16-bit architectures, size_t can be 16-bits
which would limit sizes to 64K.
|
|
|
|
|
|
| |
* include/rtems/bspIo.h, libcsupport/Makefile.am: Add genchark() for
polled debug input from the same device as printk().
* libcsupport/src/getchark.c: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libcsupport/src/free.c, libcsupport/src/malloc.c,
libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
libcsupport/src/malloc_sbrk_helpers.c,
libcsupport/src/malloc_statistics_helpers.c,
libcsupport/src/malloc_walk.c, libcsupport/src/mallocfreespace.c,
libcsupport/src/mallocinfo.c, libcsupport/src/realloc.c,
libcsupport/src/rtems_memalign.c, sapi/include/confdefs.h,
score/inline/rtems/score/thread.inl: Add support for optionally
having a unified work area. In other words, the RTEMS Workspace and C
Program Heap are the same pool of memory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, libcsupport/Makefile.am,
libcsupport/include/rtems/libcsupport.h,
libcsupport/include/rtems/libio.h, libcsupport/src/base_fs.c,
libcsupport/src/libio_init.c, libcsupport/src/newlibc_exit.c,
libcsupport/src/newlibc_init.c, libcsupport/src/sync.c,
libfs/Makefile.am, libfs/src/imfs/deviceio.c,
sapi/include/confdefs.h: Merge GSOC project code to add simple device
only filesystem (devfs), optionally completely drop out filesystem,
and to clean up disabling newlib reentrancy support. This dropped 17K
from the minimum.exe for sparc/sis and arm/rtl22xx_t now has a 15K
code space.
* libcsupport/src/__usrenv.c, libcsupport/src/newlibc_reent.c,
libfs/src/devfs/devclose.c, libfs/src/devfs/devfs.h,
libfs/src/devfs/devfs_eval.c, libfs/src/devfs/devfs_init.c,
libfs/src/devfs/devfs_mknod.c, libfs/src/devfs/devfs_node_type.c,
libfs/src/devfs/devfs_show.c, libfs/src/devfs/devioctl.c,
libfs/src/devfs/devopen.c, libfs/src/devfs/devread.c,
libfs/src/devfs/devstat.c, libfs/src/devfs/devwrite.c,
libfs/src/imfs/deviceerrno.c: New files.
* libcsupport/src/newlibc.c: Removed.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c,
libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h,
libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c,
libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c,
libmisc/monitor/monitor.h, libmisc/stackchk/internal.h,
rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h,
score/include/rtems/score/bitfield.h, score/src/mpci.c,
score/src/objectextendinformation.c, score/src/threadmp.c: Remove
extraneous spaces.
|
|
|
|
|
|
|
|
| |
* libcsupport/include/clockdrv.h: The Shared Memory Driver no longer
requires the special IOCTL in Clock_control. This was a hack which
has existed since before the Classic API Timer Manager was
implemented. All implementations of and references to Clock_control
were removed.
|
|
|
|
| |
* libcsupport/src/assocnamebad.c: Correct file name in message.
|
| |
|
|
|
|
|
| |
* libcsupport/include/timerdrv.h: Rename timer driver methods to follow
RTEMS programming conventions.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* libcsupport/src/error.c, libmisc/dummy/dummy.c,
rtems/src/rtemsobjectgetapiclassname.c,
rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
|
|
|
|
|
| |
PR 500/misc
* libcsupport/src/termios.c: Avoid potential buffer overflow.
|
|
|
|
| |
* libcsupport/include/clockdrv.h: Add Clock_Exit prototype.
|
|
|
|
|
|
|
|
| |
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c,
libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c,
libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h,
libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix
warnings.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* itron/include/rtems/itron/task.h, itron/src/def_cyc.c,
itron/src/task.c, libcsupport/src/newlibc_exit.c,
libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c,
posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h,
rtems/src/tasks.c, score/include/rtems/score/stack.h,
score/inline/rtems/score/stack.inl,
score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix
various nested-externs warnings.
|
|
|
|
|
|
|
| |
* libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split libc_init()
into a separate file to avoid linkage dependencies on newlibc.c which
in turn pulls in fclose() and other C library methods.
* libcsupport/src/newlibc_init.c: New file.
|
|
|
|
|
|
|
|
|
| |
* libcsupport/src/_rename_r.c: Fixed return code bug. Add a check
to see if the 'to' path was a directory and removed the directory.
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added the mv command.
* libmisc/shell/main_mv.c, libmisc/shell/pathnames-mv.h: New.
|
|
|
|
|
|
|
|
| |
PR 537/bsps
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
libcsupport/src/no_libc.c, libcsupport/src/unixlibc.c: Eliminate
vestiges of ticks_per_timeslice controlling newlib reentrancy. The
parameter was ignored in libc_init().
|
| |
|
| |
|
|
|
|
| |
(shared handler and handler with a handle).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
interface that is supported.
* cpukit/libcsupport/Makefile.am,
cpukit/libcsupport/preinstall.am: Remove chain.h header
references.
* cpukit/sapi/include/rtems/chain.h,
cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
interface.
* cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
include the new chains interface.
* cpukit/libfs/src/imfs/imfs.h,
cpukit/libfs/src/imfs/imfs_creat.c,
cpukit/libfs/src/imfs/imfs_debug.c,
cpukit/libfs/src/imfs/imfs_directory.c,
cpukit/libfs/src/imfs/imfs_fsunmount.c,
cpukit/libfs/src/imfs/imfs_getchild.c,
cpukit/libfs/src/imfs/imfs_load_tar.c,
cpukit/libfs/src/imfs/imfs_rmnod.c,
cpukit/libfs/src/imfs/memfile.c,
cpukit/libfs/src/nfsclient/src/nfs.c,
cpukit/libcsupport/include/rtems/libio.h,
cpukit/libcsupport/src/malloc_deferred.c,
cpukit/libcsupport/src/mount.c,
cpukit/libcsupport/src/privateenv.c,
cpukit/libcsupport/src/unmount.c: Change to the new chains
interface.
* cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
interface that is supported.
* cpukit/libcsupport/Makefile.am,
cpukit/libcsupport/preinstall.am: Remove chain.h header
references.
* cpukit/sapi/include/rtems/chain.h,
cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
interface.
* cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
include the new chains interface.
* cpukit/libfs/src/imfs/imfs.h,
cpukit/libfs/src/imfs/imfs_creat.c,
cpukit/libfs/src/imfs/imfs_debug.c,
cpukit/libfs/src/imfs/imfs_directory.c,
cpukit/libfs/src/imfs/imfs_fsunmount.c,
cpukit/libfs/src/imfs/imfs_getchild.c,
cpukit/libfs/src/imfs/imfs_load_tar.c,
cpukit/libfs/src/imfs/imfs_rmnod.c,
cpukit/libfs/src/imfs/memfile.c,
cpukit/libfs/src/nfsclient/src/nfs.c,
cpukit/libcsupport/include/rtems/libio.h,
cpukit/libcsupport/src/malloc_deferred.c,
cpukit/libcsupport/src/mount.c,
cpukit/libcsupport/src/privateenv.c,
cpukit/libcsupport/src/unmount.c: Change to the new chains
interface.
* cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
score/src/threaddispatch.c, score/src/threadinitialize.c,
score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
period timing statistics. Also renamed related variables and
structure members so they are the same whether you are using
nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
granularity. This lays the groundwork for future cleanup.
|
|
|
|
|
| |
* libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
the target toolset uses init/fini sections.
|
|
|
|
|
|
| |
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
fini() as part of exit(). This avoids atexit() being a required
function.
|
|
|
|
|
|
| |
reduce size of data area.
IMFS: Fixed creation of symbolic links to avoid a compiler warning.
DOSFS: Use LibBlock instead of read() to read the boot record.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* libcsupport/src/termios_baud2index.c,
libcsupport/src/termios_baud2num.c,
libcsupport/src/termios_num2baud.c,
libcsupport/src/termios_setinitialbaud.c: New files.
|
|
|
|
|
|
|
|
| |
* libcsupport/Makefile.am, libcsupport/preinstall.am,
libcsupport/include/rtems/termiostypes.h: Move termios helper
routines from libchip to libcsupport. Add routine which makes it easy
for a termios device driver to inform termios of its default baud
rate. This avoids inconsistencies in later termios settings changes.
|
|
|
|
| |
* libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
|
|
|
|
|
|
| |
* libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
interface for Watchdog Driver.
* libcsupport/include/rtems/watchdogdrv.h: New file.
|
| |
|
| |
|
|
|
|
|
|
| |
* libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
rtems_termios_reserve_resources. It is obsolete.
* libcsupport/src/termiosreserveresources.c: Removed.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libmisc/shell/shell.c, libmisc/shell/shell.h,
libmisc/shell/shell_script.c: Add support to echo the commands to
stdout. This is useful with the -v script option to show commands
as the run. Also added support to chdir to the directory the task
invoking the script is in.
* libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
* libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
support.
|
|
|
|
|
| |
* libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
by gcc newer than the 4.3 release series.
|
|
|
|
| |
* libcsupport/src/chroot.c: Formatting.
|