| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* libmisc/mouse/serial_mouse.c (serial_mouse_initialize):
Remove unused var "status" (Avoid warnings).
|
|
|
|
|
|
| |
* libcsupport/src/termios.c,
libcsupport/include/rtems/termiostypes.h (rtems_termios_puts):
Use size_t for buffer size.
|
|
|
|
|
|
|
| |
* libfs/src/devfs/devfs_mknod.c: Remove const cast.
* libfs/src/imfs/ioman.c: Remove const cast.
* libfs/src/devfs/devfs.h: Make device_name a const char*.
* sapi/include/rtems/io.h: Make device_name a const char*.
|
|
|
|
| |
* libcsupport/src/termios.c: Remove meaningless typecast.
|
|
|
|
|
| |
* libmisc/serdbg/serdbg.h (putDebugChar, getDebugChar):
Remove duplicate decls.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1932/cpukit
* cpu_asm.S: At some point the interrupt trap handler causes a
window-overflow and the window overflow trap handler crashes when
writing to 0. I found that this is because the WIM was bad, to the
window overflow handler uses a uninitialized stack pointer in a
window never used.
* g3=CWP, not WIM
* CWP is incremented by done_flushing no need doing that here also
* I see no reason to create an additional stack frame (save)
* Must turn off traps when updating WIM (maybe already done by caller?)
|
|
|
|
|
|
| |
PR 1931/cpukit
* score/src/percpu.c: The stack must be aligned to CPU alignment
requirement.
|
|
|
|
|
| |
* score/src/threadhandler.c: Don't undefine __USE_INIT_FINI__ for
the avr.
|
|
|
|
|
| |
* libfs/src/imfs/memfile.c (memfile_ioctl): Remove unused var
"the_jnode".
|
|
|
|
|
| |
PR 1918/cpukit
* cpu.c: Initialize context with cleared g4 register.
|
| |
|
|
|
|
|
|
| |
PR 1922
* score/include/rtems/score/schedulercbs.h, score/src/schedulercbs.c:
EDF and CBS scheduler: extern declarations fix.
|
|
|
|
| |
* score/src/scheduleredfupdate.c: Remove unused var "the_node".
|
|
|
|
|
| |
* libmisc/uuid/gen_uuid.c: Introduce PRIutime_t, SCNutime_t and
"utime_t" for 64bit-time_t support.
|
|
|
|
|
| |
* libmisc/shell/main_time.c: Introduce PRIutime_t, SCNutime_t and
"utime_t" for 64bit-time_t support.
|
|
|
|
| |
* libmisc/shell/main_time.c: Introduce PRIdtime_t.
|
|
|
|
| |
* libnetworking/libc/res_comp.c: Eliminate unused var "ppch".
|
|
|
|
| |
* configure.ac: Check for size of time_t.
|
|
|
|
|
| |
* nios2-context-switch.S: Use small-data area access for
_Per_CPU_Information fields.
|
|
|
|
|
|
|
|
|
|
|
| |
* score/include/rtems/score/tod.h: Declare _TOD_Set_with_timestamp()
and _TOD_Get_as_timestamp().
* score/src/coretodset.c: Define _TOD_Set_with_timestamp().
* score/src/coretodget.c: Define _TOD_Get_as_timestamp().
* rtems/src/clockset.c: Use _TOD_Set_with_timestamp().
* score/include/rtems/score/timestamp64.h, score/src/ts64set.c:
Changed parameter types of _Timestamp64_Set().
* rtems/src/clocktodtoseconds.c: Year 2100 is not a leap year.
|
|
|
|
|
| |
* rtems/include/rtems/rtems/clock.h, rtems/src/clockset.c: Added const
qualifier in rtems_clock_set().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1914/cpukit
* score/src/timespecgreaterthan.c, score/src/ts64greaterthan.c:
Removed files.
* score/Makefile.am: Reflect changes above.
* score/include/rtems/score/timespec.h,
score/include/rtems/score/timestamp.h,
score/include/rtems/score/timestamp64.h, score/src/ts64addto.c,
score/src/ts64divide.c, score/src/ts64dividebyinteger.c,
score/src/ts64equalto.c, score/src/ts64getnanoseconds.c,
score/src/ts64getseconds.c, score/src/ts64lessthan.c,
score/src/ts64set.c, score/src/ts64settozero.c,
score/src/ts64subtract.c, score/src/ts64toticks.c,
score/src/ts64totimespec.c: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC,
CPU_TIMESTAMP_USE_INT64, and CPU_TIMESTAMP_USE_INT64_INLINE. Removed
copy and paste.
|
|
|
|
|
| |
PR 1914/cpukit
* rtems/score/cpu.h: Select timestamp implementation.
|
| |
|
|
|
|
|
| |
PR 1914/cpukit
* rtems/score/cpu.h: Select timestamp implementation.
|
|
|
|
|
| |
PR 1923/testing
* score/src/schedulercbsgetexecutiontime.c: Improve coverage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rtems/score/armv7m.h, armv7m-context-initialize.c,
armv7m-context-restore.c, armv7m-context-switch.c,
armv7m-exception-handler-get.c, armv7m-exception-handler-set.c,
armv7m-exception-priority-get.c, armv7m-exception-priority-set.c,
armv7m-initialize.c, armv7m-isr-dispatch.c, armv7m-isr-enter-leave.c,
armv7m-isr-level-get.c, armv7m-isr-level-set.c,
armv7m-isr-vector-install.c, armv7m-multitasking-start-stop.c: New
files.
* Makefile.am, preinstall.am: Reflect changes above.
* rtems/score/arm.h: Define ARM_MULTILIB_ARCH_V4 and
ARM_MULTILIB_ARCH_V7M.
* rtems/score/cpu.h, cpu_asm.S, cpu.c, arm_exc_abort.S,
arm_exc_handler_high.c, arm_exc_handler_low.S, arm_exc_interrupt.S:
Define CPU_HAS_HARDWARE_INTERRUPT_STACK to FALSE. Use
ARM_MULTILIB_ARCH_V4 and ARM_MULTILIB_ARCH_V7M.
|
|
|
|
|
|
|
| |
PR 1921/cpukit
* score/inline/rtems/score/thread.inl,
score/src/threadstartmultitasking.c: Allow CPU port to provide
optional multitasking start and stop.
|
|
|
|
|
|
| |
PR 1914/cpukit
* rtems/score/cpu.h: Document CPU_TIMESTAMP_USE_STRUCT_TIMESPEC,
CPU_TIMESTAMP_USE_INT64, and CPU_TIMESTAMP_USE_INT64_INLINE.
|
|
|
|
|
|
|
| |
PR 1916/testing
* rtems/src/ratemondelete.c, score/src/schedulercbsreleasejob.c,
score/src/scheduleredfupdate.c, score/src/scheduleredfyield.c: Rework
to improve coverage.
|
|
|
|
|
|
|
|
| |
* nios2-eic-il-low-level.S, nios2-eic-rsie-low-level.S: New files.
* Makefile.am: Reflect changes above.
* rtems/score/cpu.h, rtems/score/nios2-utility.h,
nios2-thread-dispatch-disabled.c, nios2-context-switch.S: Added
support for thread stack protection via the MPU.
|
|
|
|
| |
* rtems/score/arm.h: More CPU_MODEL_NAME variants.
|
|
|
|
|
|
| |
* libmisc/shell/shell-wait-for-input.c: New file.
* libmisc/Makefile.am: Reflect change above.
* libmisc/shell/shell.h: Declare rtems_shell_wait_for_input().
|
|
|
|
|
| |
* score/include/rtems/score/thread.h: Ensure CBS builds with POSIX
disabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1906/cpukit
* sapi/Makefile.am, sapi/preinstall.am, sapi/include/confdefs.h,
score/Makefile.am, score/preinstall.am: Add the CBS (Constant
Bandwidth Server) scheduler. This is a complex scheduling policy
built atop of the EDF scheduler. Unlike other schedulers, this one
provides a user API and handles not only deadlines of tasks but also
claimed budget per period. The main aim of the scheduler is isolation
of tasks so that each task is guaranteed to meet all deadlines
regardless of how other tasks behave.
* sapi/include/rtems/cbs.h, sapi/inline/rtems/cbs.inl,
score/include/rtems/score/schedulercbs.h, score/src/schedulercbs.c,
score/src/schedulercbsattachthread.c,
score/src/schedulercbscleanup.c,
score/src/schedulercbscreateserver.c,
score/src/schedulercbsdestroyserver.c,
score/src/schedulercbsdetachthread.c,
score/src/schedulercbsgetapprovedbudget.c,
score/src/schedulercbsgetexecutiontime.c,
score/src/schedulercbsgetparameters.c,
score/src/schedulercbsgetremainingbudget.c,
score/src/schedulercbsgetserverid.c,
score/src/schedulercbsreleasejob.c,
score/src/schedulercbssetparameters.c,
score/src/schedulercbsunblock.c: New files.
|
|
|
|
|
|
|
| |
* cpukit/libmisc/cpuuse/cpuuse.h,
cpukit/libmisc/cpuuse/cpuusagedata.c,
cpukit/libmisc/cpuuse/cpuusagereport.c,
cpukit/libmisc/cpuuse/cpuusagereset.c: Fixed timestamp usage.
|
|
|
|
|
| |
* rtems/score/cpu.h: Request cache alignment and small data area in
CPU_STRUCTURE_ALIGNMENT.
|
|
|
|
|
|
| |
PR 1898/cpukit
* score/include/rtems/score/percpu.h: Use CPU_STRUCTURE_ALIGNMENT for
_Per_CPU_Information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1896/cpukit
* sapi/include/confdefs.h, score/Makefile.am, score/preinstall.am: Add
Earliest Deadline First (EDF) Scheduling Algorithm implementation.
* score/include/rtems/score/scheduleredf.h, score/src/scheduleredf.c,
score/src/scheduleredfallocate.c, score/src/scheduleredfblock.c,
score/src/scheduleredfenqueue.c,
score/src/scheduleredfenqueuefirst.c,
score/src/scheduleredfextract.c, score/src/scheduleredffree.c,
score/src/scheduleredfprioritycompare.c,
score/src/scheduleredfreleasejob.c, score/src/scheduleredfschedule.c,
score/src/scheduleredfunblock.c, score/src/scheduleredfupdate.c,
score/src/scheduleredfyield.c: New files.
|
|
|
|
|
|
| |
PR 1901/cpukit
* score/src/threadhandler.c: Do not use internal tasks for global
initialization in MP configuration.
|
|
|
|
|
|
|
|
| |
PR 1844/cpukit
* rtems/include/rtems/rtems/msgmp.h: Define
MESSAGE_QUEUE_MP_PACKET_SIZE.
* rtems/src/msgmp.c, rtems/src/msgqcreate.c: Use
MESSAGE_QUEUE_MP_PACKET_SIZE.
|
|
|
|
|
|
|
| |
PR 1873/cpukit
* score/include/rtems/score/heap.h: Revert previous commit.
* sapi/include/confdefs.h: Use proper constants in
_Configure_From_workspace().
|
|
|
|
|
|
|
|
| |
* score/include/rtems/score/basedefs.h: Typo.
* score/src/mpci.c, rtems/src/eventmp.c, rtems/src/msgmp.c,
rtems/src/partmp.c, rtems/src/regionmp.c, rtems/src/semmp.c,
rtems/src/signalmp.c, rtems/src/taskmp.c: Use RTEMS_STATIC_ASSERT() to
ensure that the packet size is small enough.
|
|
|
|
|
| |
* nios2-thread-dispatch-disabled.c: Use offsetof() instead of
RTEMS_offsetof().
|
|
|
|
|
| |
* rtems/score/nios2-utility.h, nios2-isr-set-level.c,
nios2-isr-get-level.c: Renamed functions.
|
|
|
|
|
| |
* libmisc/monitor/mon-monitor.c: Removed "exit" and "quit" commands to
avoid confusion. They were an alias to the "fatal" command.
|
|
|
|
|
| |
* rtems/score/nios2-utility.h: Use the same values for defines used by
Altera HAL.
|
|
|
|
|
|
|
| |
* rtems/score/nios2-utility.h: Avoid redefines with Altera HAL.
Declare _Nios2_ISR_Set_level().
* nios2-context-initialize.c: Use _Nios2_ISR_Set_level().
* nios2-isr-set-level.c: Define _Nios2_ISR_Set_level().
|
|
|
|
|
|
|
| |
PR 1895/cpukit
* score/src/coretodmsecstoticks.c, score/src/coretodusectoticks.c,
score/src/timespectoticks.c: Ensure time conversions to ticks do not
ignore partial tick and return 1 less than desired.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1895/cpukit
* rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
rtems/src/ratemonperiod.c, sapi/include/confdefs.h,
score/Makefile.am, score/include/rtems/score/scheduler.h,
score/include/rtems/score/schedulerpriority.h,
score/include/rtems/score/schedulersimple.h,
score/include/rtems/score/schedulersimplesmp.h,
score/inline/rtems/score/scheduler.inl,
score/inline/rtems/score/schedulerpriority.inl,
score/src/coremutexseize.c: Add priority_compare and release_job
hooks interfaces to scheduler interface.
* score/src/schedulerpriorityprioritycompare.c,
score/src/schedulerpriorityreleasejob.c: New files.
|