---
freebsd/sys/kern/kern_ntptime.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/freebsd/sys/kern/kern_ntptime.c b/freebsd/sys/kern/kern_ntptime.c
index f9465ea0..3a102b13 100644
--- a/freebsd/sys/kern/kern_ntptime.c
+++ b/freebsd/sys/kern/kern_ntptime.c
@@ -489,12 +489,1
---
freebsd/sys/kern/kern_ntptime.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/freebsd/sys/kern/kern_ntptime.c b/freebsd/sys/kern/kern_ntptime.c
index 518adab5..f9465ea0 100644
--- a/freebsd/sys/kern/kern_ntptime.c
+++ b/freebsd/sys/kern/kern_ntptime.c
@@ -52,6 +52,
From: Chris Johns
---
freebsd/sys/kern/kern_ntptime.c | 17 +
libbsd.py | 1 +
2 files changed, 18 insertions(+)
diff --git a/freebsd/sys/kern/kern_ntptime.c b/freebsd/sys/kern/kern_ntptime.c
index 116fb584..518adab5 100644
--- a/freebsd/sys/kern/kern_ntpt
From: Chris Johns
---
freebsd/sys/kern/kern_ntptime.c | 1077 +++
1 file changed, 1077 insertions(+)
create mode 100644 freebsd/sys/kern/kern_ntptime.c
diff --git a/freebsd/sys/kern/kern_ntptime.c b/freebsd/sys/kern/kern_ntptime.c
new file mode 100644
index
which were shared by Chris Johns some time ago
(that's why he appears as author of those commits).
Once the changes are accepted, I'll prepare the corresponding patches for
6-freebsd-12.
Chris Johns (2):
kern_ntptime: Import from freebsd-org
kern_ntptime: Port to rtems
Moy
The ticket #4549 for adding NTP support in rtems 5 was closed.
With this patch, the release notes file for rtems 5 is updated.
Moyano, Gabriel (1):
Update rtems-notes-5.md
rtems-notes-5.md | 9 +
1 file changed, 9 insertions(+)
--
2.17.1
---
rtems-notes-5.md | 9 +
1 file changed, 9 insertions(+)
diff --git a/rtems-notes-5.md b/rtems-notes-5.md
index 3737199..7697980 100644
--- a/rtems-notes-5.md
+++ b/rtems-notes-5.md
@@ -374,3 +374,12 @@ Obsoleted architectures:
* RTEMS Trace addition of a new trace record support for
From: Sebastian Huber
Allow the installation of an NTP update second handler which may be used by an
NTP service.
Update #4549.
---
cpukit/include/rtems/score/timecounter.h | 24 +++-
cpukit/score/src/kern_tc.c | 23 +--
2 files changed, 44
From: Sebastian Huber
---
cpukit/score/src/kern_tc.c| 25 ---
testsuites/sptests/sptimecounter01/init.c | 4 ++--
2 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 52ae6aa034..0064560
From: Sebastian Huber
In uniprocessor configurations, the timehand updates are done with
interrupts disabled. So, it is impossible to observe a generation
number of zero.
---
cpukit/score/src/kern_tc.c | 44 +++---
1 file changed, 36 insertions(+), 8 deletions(-)
From: Mark Johnston
Reported by:Sebastian Huber
Reviewed by:kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32729
---
cpukit/score/src/kern_tc.c | 23 ---
1 file changed, 16 insertions(+), 7 delet
From: Ed Maste
FreeBSD Foundation sys/ copyrights
These ones were unambiguous cases where the Foundation was the only
listed copyright holder (in the associated license block).
Sponsored by: The FreeBSD Foundation
---
cpukit/score/src/kern_tc.c | 1 -
1 file changed, 1 deletion(-)
diff --gi
From: Mark Johnston
Timecounter registration is dynamic, i.e., there is no requirement that
timecounters must be registered during single-threaded boot. Loadable
drivers may in principle register timecounters (which can be switched to
automatically). Timecounters cannot be unregistered, though
From: Sebastian Huber
This leads to a timehand generation overflow right at the system start
and helps to get code coverage in test programs.
---
cpukit/score/src/kern_tc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
From: Sebastian Huber
This change is a slight performance optimization for systems with a slow
64-bit division.
The th->th_scale and th->th_large_delta values only depend on the
timecounter frequency and the th->th_adjustment. The timecounter
frequency of a timehand only changes when a new timec
From: Mark Johnston
MFC after: 1 week
---
cpukit/score/src/kern_tc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 7ea38e2694..2b131bb423 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_t
From: Konstantin Belousov
Noted and reviewed by: kevans
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D29122
---
cpukit/score/src/kern_tc.c | 23 ++-
1 file changed, 18 insertions(+), 5 deletions(-)
diff --
From: Robert Watson
on freebsd/arm64:
- Implement a dtrace_getnanouptime(), matching the existing
dtrace_getnanotime(), to avoid DTrace calling out to a potentially
instrumentable function.
(These should probably both be under KDTRACE_HOOKS. Also, it's not clear
to me that they are cor
From: Konstantin Belousov
and fix possible overflow in bintime()/binuptime().
The algorithm to read the consistent snapshot of current timehand is
repeated in each accessor, including the details proper rollup
detection and synchronization with the writer. In fact there are only
two different k
From: Konstantin Belousov
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
---
cpukit/score/src/kern_tc.c | 32 +++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 6df3894caf..6f
From: Warner Losh
In FreeBSD, the current time is computed from uptime + boottime. Uptime
is a continuous, smooth function that's monotonically increasing. To
effect changes to the current time, boottime is adjusted. boottime is
mutable and shouldn't be cached against future need. Document the
c
From: Olivier Houchard
that uses 64bits time_t in 32bits mode, special case amd64, as i386 is
the only arch that still uses 32bits time_t.
---
cpukit/score/src/kern_tc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
From: Konstantin Belousov
to warm timecounters.
It seems that second call does not add any useful state change for all
implemented timecounters.
Discussed with: bde
Sponsored by: The FreeBSD Foundation
MFC after: 3 weeks
---
cpukit/score/src/kern_tc.c | 3 ---
1 file changed, 3 deletion
From: Pawel Biernacki
or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are
still not MPSAFE (or already are but aren’t properly marked).
Use it in preparation for a general review of all nodes.
This is non-functional change that adds annotat
From: Konstantin Belousov
Reported and tested by: trasz
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
cpukit/score/src/kern_tc.c | 34 ++
1 file changed, 22 insertions(+), 12 deletions(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/
From: Mateusz Guzik
No functional changes.
---
cpukit/score/src/kern_tc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 0051d49330..a72abaca35 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -1763,7 +1
From: Mateusz Guzik
---
cpukit/score/src/kern_tc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 6e517f9f17..28994d82b4 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -80,7 +80,6 @@
From: Konstantin Belousov
Tested by: O'Connor, Daniel
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D21563
This patch was modified by Sebastian Huber
to adjust it for RTEMS. See
comment in the patch.
---
cpukit/score/sr
From: Sebastian Huber
---
cpukit/score/src/kern_tc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 9e6602e478..f63e48d16b 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -46,7 +46,7 @@
From: Andrew Turner
On arm64 (and possible other architectures) we are unable to use static
DPCPU data in kernel modules. This is because the compiler will generate
PC-relative accesses, however the runtime-linker expects to be able to
relocate these.
In preparation to fix this create two macros
From: Brooks Davis
to opt_global.h.
opt_compat.h is mentioned in nearly 180 files. In-progress network
driver compabibility improvements may add over 100 more so this is
closer to "just about everywhere" than "only some files" per the
guidance in sys/conf/options.
Keep COMPAT_LINUX32 in opt_com
From: "Pedro F. Giffuni"
---
cpukit/score/src/kern_tc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index f004c9bf97..b17327a2f8 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -1,4 +1,6 @@
/*-
+ * SPD
From: Konstantin Belousov
In this case volatile qualifiers enusre that a compiler does not
optimize the accesses out.
Reviewed by:alc, jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D13534
---
cpukit/score/src/kern_tc.c
From: Sebastian Huber
This fix relates to a Coverity issue (PW.DECLARED_BUT_NOT_REFERENCED).
---
cpukit/score/src/kern_tc.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 1b65cf41ee..f004c9bf97 100644
--- a/cpukit/score/src/
These commits port to rtems 5 the last changes in kern_tc and timecounter
pushed by Sebastian Huber.
Additionally the last commit closes the ticket 4549, which is a clone of
2348(NTP support) for rtems 5.
Andrew Turner (1):
Create a new macro for static DPCPU data.
Brooks Davis (1):
Move mo
---
bsps/shared/grlib/irq/genirq.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bsps/shared/grlib/irq/genirq.c b/bsps/shared/grlib/irq/genirq.c
index 285416b0d3..ca80445c70 100644
--- a/bsps/shared/grlib/irq/genirq.c
+++ b/bsps/shared/grlib/irq/genirq.c
@@ -188,8 +188,8
Here the new patch as proposed by Daniel (thx btw).
It closes ticket 4385 (https://devel.rtems.org/ticket/4385#ticket).
Moyano, Gabriel (1):
grlib/genirq: Taking into account that it could be more than one ISR
enabled/disabled
bsps/shared/grlib/irq/genirq.c | 4 ++--
1 file changed, 2
---
bsps/shared/grlib/irq/genirq.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/bsps/shared/grlib/irq/genirq.c b/bsps/shared/grlib/irq/genirq.c
index 285416b0d3..f452f690ac 100644
--- a/bsps/shared/grlib/irq/genirq.c
+++ b/bsps/shared/grlib/irq/genirq.c
@@ -199,6 +199,11 @@ static int
led` can changed to 1 if it's greater
than 1 (see the patch) or maybe improve the search.
Thanks in advance,
Gabriel Moyano
Moyano, Gabriel (1):
grlib/genirq: Taking into account that it could be more than one ISR
enabled/disabled
bsps/shared/grlib/irq/genirq.c | 5 +
1 fi
---
libbsd.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libbsd.py b/libbsd.py
index 8bcb779d..28617d21 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -795,6 +795,7 @@ class dev_usb(builder.Module):
'sys/dev/usb/usb_ioctl.h',
'sys/dev/usb/usb_mbuf.h',
Import ehci_pci from freebsd-org in 6-freebsd-12.
Solve https://devel.rtems.org/ticket/4264
Moyano, Gabriel (2):
ehci_pci: Import from freebsd-org
ehci_pci: Add to build system
freebsd/sys/dev/usb/controller/ehci_pci.c | 592 ++
freebsd/sys/dev/usb/usb_pci.h
---
freebsd/sys/dev/usb/controller/ehci_pci.c | 592 ++
freebsd/sys/dev/usb/usb_pci.h | 43 ++
2 files changed, 635 insertions(+)
create mode 100644 freebsd/sys/dev/usb/controller/ehci_pci.c
create mode 100644 freebsd/sys/dev/usb/usb_pci.h
diff --git a/freebsd/s
---
libbsd.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libbsd.py b/libbsd.py
index bfe135f0..c745a877 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -925,6 +925,7 @@ class dev_usb(builder.Module):
'sys/dev/usb/usb_ioctl.h',
'sys/dev/usb/usb_mbuf.h',
---
freebsd/sys/dev/usb/controller/ehci_pci.c | 593 ++
freebsd/sys/dev/usb/usb_pci.h | 43 ++
2 files changed, 636 insertions(+)
create mode 100644 freebsd/sys/dev/usb/controller/ehci_pci.c
create mode 100644 freebsd/sys/dev/usb/usb_pci.h
diff --git a/freebsd/s
Import ehci_pci from freebsd-org using freebsd-to-rtems.py
Moyano, Gabriel (2):
ehci_pci: Import from freebsd-org
ehci_pci: Add to build system
freebsd/sys/dev/usb/controller/ehci_pci.c | 593 ++
freebsd/sys/dev/usb/usb_pci.h | 43 ++
libbsd.py
---
libbsd.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libbsd.py b/libbsd.py
index 334a7991..1a053433 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -785,6 +785,7 @@ class dev_usb(builder.Module):
'sys/dev/usb/usb_ioctl.h',
'sys/dev/usb/usb_mbuf.h',
---
freebsd/sys/dev/usb/controller/ehci_pci.c | 592 ++
freebsd/sys/dev/usb/usb_pci.h | 43 ++
2 files changed, 635 insertions(+)
create mode 100644 freebsd/sys/dev/usb/controller/ehci_pci.c
create mode 100644 freebsd/sys/dev/usb/usb_pci.h
diff --git a/freebsd/s
Import ehci_pci from freebsd-org.
Solve https://devel.rtems.org/ticket/4263
Moyano, Gabriel (2):
ehci_pci: Import from freebsd-org
ehci_pci: Add to build system
freebsd/sys/dev/usb/controller/ehci_pci.c | 592 ++
freebsd/sys/dev/usb/usb_pci.h | 43
---
testsuite/arphole/test_main.c| 6 ++--
testsuite/cdev01/test_main.c | 7 +
testsuite/commands01/test_main.c | 7 +
testsuite/condvar01/test_main.c | 7 +
testsuite/crypto01/test_main.c | 6
testsuite/debugger01/test_main.
I've moved the description before the copyright header and added some brief
tags where needed.
Moyano, Gabriel (1):
testsuite: A description for each test added
testsuite/arphole/test_main.c| 6 ++--
testsuite/cdev01/test_main.c | 7 +
testsuite/comma
I've tried to summarize what is tested in each case. Any feedback is welcome.
Moyano, Gabriel (1):
testsuite: A description for each test added
testsuite/arphole/test_main.c| 14 +++---
testsuite/cdev01/test_main.c | 7 +++
testsuite/commands01/test_m
---
testsuite/arphole/test_main.c| 14 +++---
testsuite/cdev01/test_main.c | 7 +++
testsuite/commands01/test_main.c | 6 ++
testsuite/condvar01/test_main.c | 7 +++
testsuite/crypto01/test_main.c | 6 ++
testsuite/debu
---
testsuite/arphole/test_main.c | 1 +
testsuite/debugger01/test_main.c | 1 +
testsuite/evdev01/init.c | 3 ++-
testsuite/foobarclient/test_main.c | 1 +
testsuite/foobarserver/test_main.c | 1 +
testsuite/ftpd01/test_main.c | 1 +
testsuite/ipsec01/test_main.c | 1 +
---
testsuite/dhcpcd01/test_main.c | 24 +---
testsuite/dhcpcd02/test_main.c | 19 +--
2 files changed, 38 insertions(+), 5 deletions(-)
diff --git a/testsuite/dhcpcd01/test_main.c b/testsuite/dhcpcd01/test_main.c
index 358b4ac8..f04c3270 100644
--- a/testsuite
puts() was replaced with rtems_test_begin() and rtems_test_end()
---
testsuite/evdev01/init.c| 5 -
testsuite/include/rtems/bsd/test/default-init.h | 5 +++--
testsuite/include/rtems/bsd/test/default-network-init.h | 5 +++--
testsuite/include/rtems/bsd/
Changes here follow the recomendation from:
https://www.mail-archive.com/devel@rtems.org/msg22029.html
Also testsuite/dhcpcd0x were automatized.
Moyano, Gabriel (3):
testsuite: Using RTEMS tester functions at beginning and at the end of
tests
testsuite: User input define added
56 matches
Mail list logo