Commit Graph

1272 Commits

Author SHA1 Message Date
Gabriel Moyano
5ccf9605dd timecounter.h: Add _Timecounter_Discipline()
Update #2349.
2022-05-23 09:09:03 +02:00
Gabriel Moyano
b3e4f5809d timepps.h: PPS_SYNC defined by default
Update #2349.
2022-05-23 09:09:01 +02:00
Gabriel Moyano
ac4ea53664 score: Rename tc_getfrequency()
Rename tc_getfrequency() to _Timecounter_Get_frequency().

Update #2349.
2022-05-23 09:08:52 +02:00
Gabriel Moyano
95c747d9e7 kern_tc.c: Replace FreeBSD event mechanism by adding pointers to function
Update #2349.
2022-05-23 09:08:50 +02:00
Gabriel Moyano
bf61753a92 kern_tc.c: Add atomic dependencies required by the PPS API
Update #2349.
2022-05-23 09:08:48 +02:00
Sebastian Huber
f49ef6b6cb Add file descriptions to kernel space headers 2022-05-18 10:01:29 +02:00
Sebastian Huber
b9926483b1 Fix copyright notice of kernel space headers
Use the copyright notice of the associated header file from FreeBSD if the
kernel space header file contains a substantial amount of imported code.
2022-05-18 10:01:29 +02:00
Sebastian Huber
81962136cc Add include guard checks to kernel space headers 2022-05-18 10:01:29 +02:00
Tian Ye
901bc146b0 score: Add SMP priority affinity scheduler yield 2022-05-12 09:02:26 +02:00
Ryan Long
ebfccb05b8 include: Add file headers and licenses
These files had no header, copyright, or license. Based on git history,
added appropriate copyrights and licenses.
2022-05-04 09:12:06 -05:00
Ryan Long
0c17d0e55d ftpd.h: Add file header and license
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:01 -05:00
Ryan Long
5cbad67bc8 include/pci: Add file header and license
This file had no header, copyright, or license. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:01 -05:00
Ryan Long
17c92ad829 cpukit/include/rtems: Add file headers and licenses
These files had no header, copyright, or licenses. Based on git history,
added appropriate copyright and license.
2022-05-04 09:12:01 -05:00
Ryan Long
47e84cbde2 cpukit/include: Adding file headers and licenses
These files had no file header, copyright, or license. Based on git
history, added appropriate copyright and license.
2022-05-04 09:11:50 -05:00
Sebastian Huber
8b18037f20 heap: Fix heap statistics with protection enabled
Close #4644.
2022-04-28 09:16:54 +02:00
Sebastian Huber
23426257c6 shell: Add rtems_shell_run_main_loop()
In contrast to rtems_shell_main_loop(), this new function does not
perform all sorts of initialization based on environment settings.  For
example, due to the use of isatty() in rtems_shell_main_loop() it is
impossible to run an interactive shell through a socket connection.
2022-04-06 16:26:52 +02:00
Joel Sherrill
5f8c41c389 Update email address of Fernando Ruiz Casas to <fruizcasas@gmail.com>
This was requested to be executed prior to relicensing to BSD-2.
2022-04-05 13:13:31 -05:00
Joel Sherrill
3a6c3c1bde cpukit/include; Remove SPDX from Gaisler files NOT changed to BSD-2 2022-04-02 14:15:16 -05:00
Joel Sherrill
54ec02640d cpukit/include/rtems/timespec.h: Change license to BSD-2
Permission received from Krzysztof Miesowicz.

Updates #3053.
2022-04-01 10:02:30 -05:00
Joel Sherrill
59fba6f520 cpukit/include/rtems/cbs.h: Change license to BSD-2
Permission received from Petr Benes

Updates #3053.
2022-04-01 10:02:30 -05:00
Sebastian Huber
9f9f1408a1 rtems: Clarify scheduler of created task 2022-03-29 17:19:42 +02:00
Joel Sherrill
9bbf4003f3 cpukit/include/rtems/confdefs/libpci.h: Manual file header clean up 2022-03-25 11:19:28 -05:00
Joel Sherrill
c35816aaa1 cpukit/include/pci: Manual header file clean up 2022-03-25 11:19:28 -05:00
Joel Sherrill
9982e8e4c1 cpukit/include/drvmgr: Manual header file clean up 2022-03-25 11:19:28 -05:00
Joel Sherrill
06c9ab3e2f cpukit/include/pci.h: Manual header clean up 2022-03-25 11:19:28 -05:00
Joel Sherrill
3d43589812 cpukit/include/*.h: Change license to BSD-2
Updates #3053.
2022-03-25 11:19:28 -05:00
Joel Sherrill
77d1ac6c22 cpukit/include/sys: Change license to BSD-2.
Updates #3053.
2022-03-25 11:19:28 -05:00
Joel Sherrill
fb5f575b9f cpukit/include/rtems: Change license to BSD-2
Updates #3053.
2022-03-25 11:19:28 -05:00
Joel Sherrill
3ec0b2676d cpukit/include/linux: Change license to BSD-2
Updates #3053.
2022-03-25 11:19:28 -05:00
Joel Sherrill
35d1f9a238 cpukit/include/dev: Change license to BSD-2
Updates #3053.
2022-03-25 11:19:28 -05:00
Joel Sherrill
628bd9b682 cpukit/: Update Eric Norum contact info and normalize file headers 2022-03-24 10:01:51 -05:00
Sebastian Huber
36615183d6 smp: Add fatal error
Add SMP-specifc SMP_FATAL_MULTITASKING_START_ON_NOT_ONLINE_PROCESSOR
fatal error.  This fatal error helps to diagnose a broken SMP startup
sequence.  Without this error a context switch using the NULL pointer
for the thread control block happens which may be difficult to debug.
2022-03-24 11:10:49 +01:00
Sebastian Huber
cc1c944042 libtest: Add scheduler test support
Add support to record scheduler operations.  This support is especially
important for tests in SMP configurations since the thread switch extension is
quite difficult to use due to the asynchronous nature of thread dispatching.
In contrast, the scheduler operations occur normally in a deterministic order.

Update #3716.
2022-03-24 11:10:48 +01:00
Sebastian Huber
d0de6fdfa8 score: Add _IO_Relax()
This function may be used to burn a couple of processor cycles with
minimum impact on the system bus.  It may be used in busy wait loops.
Since it is a global function, it is possible to wrap it in device
driver test code.
2022-03-24 11:10:48 +01:00
Sebastian Huber
7fe3c62329 thread.hpp: Fix redefinition of default argument
A default argument shall be defined only once.

Close #4632.
2022-03-18 16:13:04 +01:00
Sebastian Huber
f311caf984 bsps/irq: Improve affinity set handling
Restrict the affinity set to the set of online processors.  Make sure
the affinity set for an interrupt vector contains at least one online
processor.

Update #3269.
2022-03-16 07:29:27 +01:00
Christian Mauderer
bb2e149e0b cpukit: Automated IMD header file clean up
Use the same form of IMD in all copyright lines

Update #4625.
2022-03-10 09:15:19 +01:00
Christian Mauderer
d7955b245e bsps and cpukit: Manual file header clean up
Updates #4625.
2022-03-10 09:15:19 +01:00
Joel Sherrill
255fe433fd cpukit/: Scripted embedded brains header file clean up
Updates #4625.
2022-03-10 08:43:49 +01:00
Joel Sherrill
2fb29836b0 cpukit/include/adainclude: Change license to BSD-2
Updates #3053.
2022-02-28 10:28:05 -06:00
Joel Sherrill
46a16ada0c cpukit/include/rtems/posix/*.h: Change license to BSD-2
Updates #3053.
2022-02-28 10:28:05 -06:00
Joel Sherrill
a2ed06e38f cpukit/include/rtems/rtems/*.h: Change license to BSD-2
Updates #3053.
2022-02-28 10:28:05 -06:00
Joel Sherrill
7b85efb8c4 cpukit/include/rtems/score/[s-z]*.h: Change license to BSD-2
Updates #3053.
2022-02-28 10:28:04 -06:00
Joel Sherrill
7ebce35902 cpukit/include/rtems/score/[a-r]*.h: Change license to BSD-2
Updates #3053.
2022-02-28 10:28:04 -06:00
Sebastian Huber
8f1e8f8f26 kern_ntptime.c: Port to RTEMS
Remove previous adjtime() implementation.

Update #2348.
2022-02-21 14:16:41 +01:00
Sebastian Huber
d69acf87dc config: CONFIGURE_DISABLE_NEWLIB_REENTRANCY
Do not initialize Thread_Control::libc_reent if
CONFIGURE_DISABLE_NEWLIB_REENTRANCY is defined.  This helps to catch errors
with a NULL pointer exception rather than a corruption of the thread control
block.
2022-02-21 11:08:30 +01:00
Christian Mauderer
7b5948d4d2 termios: Pass number of sent chars to l_start
At the moment the line discipline start function (l_start) has no
possibility to get feedback about the number of characters that have
been sent. This patch passes that information via an additional
parameter.

The change might trigger a warning on existing code because of a pointer
mismatch but it shouldn't break it. An existing function with the old
API will just ignore the additional parameter.

Update #4493
2022-02-10 09:07:26 +01:00
Sebastian Huber
2145e0c7bf Remove obsolete rtems_gxx_*() implementation
GCC versions prior to 6.1 used a RTEMS thread model based on
rtems_gxx_*() functions. GCC version 6.1 or later uses the
self-contained synchronization objects of Newlib <sys/lock.h> for the
RTEMS thread model.

Remove the obsolete implementation.

Close #3143.
2022-01-27 11:06:46 +01:00
Sebastian Huber
d40477161e rtems: Fix Clock Manager parameter descriptions
Update #4572.
2021-12-22 08:17:50 +01:00
Vikram Garhwal
75b3f48aa3 libfdt: overlay: make overlay_get_target() public
This is done to get the target path for the overlay nodes which is very useful
in many cases. For example, Xen hypervisor needs it when applying overlays
because Xen needs to do further processing of the overlay nodes, e.g. mapping of
resources(IRQs and IOMMUs) to other VMs, creation of SMMU pagetables, etc.

Signed-off-by: Vikram Garhwal <fnu.vikram@xilinx.com>
Message-Id: <1637204036-382159-2-git-send-email-fnu.vikram@xilinx.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2021-12-14 16:00:44 +01:00