| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* context_switch.S, cpu_asm.c, rtems/score/cpu.h: Add support for
restarting the currently executing thread. Fine tune alignment factor
as two-byte aligned and use this for critical structures.
|
|
|
|
|
|
| |
rtems_bsdnet_parse_driver_name() if namep is NULL.
include/rtems/status-checks.h: Added prefix "RTEMS" for all macros. Doxygen style comments. Cleanup.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 _.
|
|
|
|
|
| |
* score/cpu/Makefile.am: Add new M32R port. It is just a beginning but
the BSP is functional enough to initialize and shutdown RTEMS.
|
|
|
|
|
|
| |
* .cvsignore, ChangeLog, Makefile.am, preinstall.am, rtems/asm.h,
rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/m32r.h,
rtems/score/types.h: New files.
|
|
|
|
| |
* configure.ac: Revert trash committed. Shell builds with m32c now.
|
|
|
|
|
| |
* configure.ac, score/cpu/Makefile.am: Initial addition of M32C port.
This is still a work in process but most tests do run on simulator.
|
|
|
|
|
|
|
| |
* .cvsignore, ChangeLog, Makefile.am, context_init.c, context_switch.S,
cpu.c, cpu_asm.c, preinstall.am, varvects.S, varvects.h, rtems/asm.h,
rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/m32c.h,
rtems/score/types.h: New files.
|
|
|
|
| |
* libmisc/shell/utils-cp.c: Do not put a 64K buffer on the stack.
|
|
|
|
|
| |
* score/inline/rtems/score/priority.inl: Use simple integer as loop
counter.
|
|
|
|
|
|
| |
* libmisc/monitor/mon-monitor.c, rtems/include/rtems/rtems/types.h: Do
not have fp context type when no hardware or software floating point
is available.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* cpu_asm.c, rtems/score/cpu.h, rtems/score/types.h: Corrections and
updates.
|
|
|
|
|
|
|
|
| |
* libmisc/shell/main_cp.c, libmisc/shell/main_ls.c,
libmisc/shell/main_mv.c, libmisc/shell/main_netstats.c,
libmisc/shell/main_rm.c, libmisc/shell/shell_script.c: Newlib >
1.16.0 requires __need_getopt_newlib to be defined to get visibility
on the reentrancy extensions.
|
|
|
|
|
|
| |
PR 1328/cpukit
* libmisc/shell/main_mdump.c, libmisc/shell/main_mwdump.c: Fix printing
of more than 256 bytes.
|
|
|
|
|
| |
* cpu.c: Fine tune conditional so _CPU_ISR_install_vector is in CPU Kit
now.
|
| |
|
|
|
|
|
|
| |
PR 1316/cpukit
* score/src/coremsgbroadcast.c: Give error when message is too large
like when sending a message. This was the documented behavior.
|
| |
|
|
|
|
| |
* libnetworking/lib/rtems_bsdnet_ntp.c: Revert previous patch.
|
|
|
|
| |
* libnetworking/lib/rtems_bsdnet_ntp.c: Revert previous patch.
|
|
|
|
|
|
| |
* Makefile.am: Move duplicated context switch code to score/cpu. This
has been used to run tests on the simulator BSP as SH1, SH2, and SH4.
* context.c: New file.
|
|
|
|
| |
* libfs/src/imfs/deviceio.c: Eliminate duplicate implementation.
|
|
|
|
|
|
| |
PR 1326/cpukit
* libi2c/libi2c.c: Use int for return value when negative values
possible.
|
|
|
|
|
| |
* libnetworking/lib/ftpfs.c: Use ssize_t for read retval (Fix
comparision of unsigned < 0).
|
|
|
|
|
| |
* libnetworking/lib/rtems_bsdnet_ntp.c: Let TCP/IP stack pick port
rather than hard coding selection.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* rtems/include/rtems/rtems/types.h: Do not define rtems_boolean,
rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given.
|
|
|
|
|
|
| |
* libmisc/shell/main_mallocinfo.c, libmisc/shell/main_wkspaceinfo.c:
Include information on whether C Program Heap and RTEMS Workspace are
separate.
|
|
|
|
|
| |
* rtems/score/m68k.h: Move set cacr, acr0, acr1 routines here to get
them out of a BSP.
|
|
|
|
| |
* libfs/Makefile.am: Do not build nfsclient if no networking.
|
|
|
|
|
|
| |
* libfs/src/devfs/devclose.c, libfs/src/devfs/devfs_eval.c,
libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c,
libfs/src/devfs/devread.c, libfs/src/devfs/devwrite.c: Fix warnings.
|
|
|
|
|
|
| |
* Doxyfile.in, rtems/mainpage.h, score/include/rtems/system.h: Move to
generating Doxygen for more of CPU Kit.
* rtems/Doxyfile, score/Doxyfile, score/mainpage.h: Removed.
|
|
|
|
|
|
| |
* configure.ac: Add generated Doxyfile which can process entire set of
preinstalled .h files.
* Doxyfile.in: New file.
|
|
|
|
|
| |
* sapi/include/confdefs.h: Rename STACK_CHECKER_ON to more appropriate
CONFIGURE_STACK_CHECKER_ENABLED.
|
|
|
|
|
|
|
| |
* libfs/src/devfs/devclose.c, libfs/src/devfs/devfs_init.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/devwrite.c: Fix warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* sapi/include/confdefs.h: Revert previous patch. Does not apply to
head.
|
|
|
|
|
|
| |
PR 564/cpukit
* sapi/include/confdefs.h: Fix incorrect name. Was missed in an earlier
renaming sweep.
|
|
|
|
|
| |
* rtems/score/cpu.h: Move extern of bsp_clicks_per_usec so it is not
nested inside braces.
|
|
|
|
|
| |
* rtems/include/rtems/rtems/types.h: Do not define rtems_boolean,
rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given.
|
|
|
|
|
| |
* rtems/score/types.h: Do not define boolean, single_precision,
double_precision unless RTEMS_DEPRECATED_TYPES is given.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac, aclocal/canonical-target-name.m4: Readd NIOS2 and TI
C4x. Accidentally not done on 4.9 branch. :(
* score/cpu/c4x/.cvsignore, score/cpu/c4x/ChangeLog,
score/cpu/c4x/Makefile.am, score/cpu/c4x/cpu.c,
score/cpu/c4x/cpu_asm.S, score/cpu/c4x/irq.c,
score/cpu/c4x/preinstall.am, score/cpu/c4x/rtems/asm.h,
score/cpu/c4x/rtems/score/c4x.h, score/cpu/c4x/rtems/score/cpu.h,
score/cpu/c4x/rtems/score/cpu_asm.h,
score/cpu/c4x/rtems/score/types.h, score/cpu/c4x/rtems/tic4x/c4xio.h,
score/cpu/nios2/.cvsignore, score/cpu/nios2/ChangeLog,
score/cpu/nios2/Makefile.am, score/cpu/nios2/cpu.c,
score/cpu/nios2/cpu_asm.S, score/cpu/nios2/irq.c,
score/cpu/nios2/preinstall.am, score/cpu/nios2/rtems/asm.h,
score/cpu/nios2/rtems/score/cpu.h,
score/cpu/nios2/rtems/score/cpu_asm.h,
score/cpu/nios2/rtems/score/nios2.h,
score/cpu/nios2/rtems/score/types.h: New files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac, aclocal/canonical-target-name.m4,
score/cpu/Makefile.am: Remove TI C4x and NIOS2 ports from 4.9 branch.
* score/cpu/c4x/.cvsignore, score/cpu/c4x/ChangeLog,
score/cpu/c4x/Makefile.am, score/cpu/c4x/cpu.c,
score/cpu/c4x/cpu_asm.S, score/cpu/c4x/irq.c,
score/cpu/c4x/preinstall.am, score/cpu/c4x/rtems/asm.h,
score/cpu/c4x/rtems/score/c4x.h, score/cpu/c4x/rtems/score/cpu.h,
score/cpu/c4x/rtems/score/cpu_asm.h,
score/cpu/c4x/rtems/score/types.h, score/cpu/c4x/rtems/tic4x/c4xio.h,
score/cpu/nios2/.cvsignore, score/cpu/nios2/ChangeLog,
score/cpu/nios2/Makefile.am, score/cpu/nios2/cpu.c,
score/cpu/nios2/cpu_asm.S, score/cpu/nios2/irq.c,
score/cpu/nios2/preinstall.am, score/cpu/nios2/rtems/asm.h,
score/cpu/nios2/rtems/score/cpu.h,
score/cpu/nios2/rtems/score/cpu_asm.h,
score/cpu/nios2/rtems/score/nios2.h,
score/cpu/nios2/rtems/score/types.h: Removed.
|
|
|
|
|
|
|
| |
* sapi/include/confdefs.h: Add debug information for
per task allocations.
* score/src/objectextendinformation.c: Do not allocate memory for name
tables because we do not use name tables any longer.
|
|
|
|
|
| |
* score/src/threadinitialize.c: _Stack_Ensure_minimum was being called
here and in _Thread_Stack_Allocate.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* cpu.c: Remove extraneous spaces.
|