From: Chris Johns
---
include/rtems/bsd/iface.h | 62 +++
netsources.py | 26 +++
rtems/rtems-bsd-iface.c | 154 ++
testsuites/wscript| 8 ++
wscript | 7 +-
5 files changed, 236 insertions(+), 21
On 12/4/2023 11:54 pm, Gabriel Moyano wrote:
> These commits are for porting PTPd to rtems-libbsd and are based on the
> master branch.
>
> This work is a joint effort with Chris Johns, which we started some time ago.
> Originally, we wanted to port some of the commits to PTPd upstream but
>
From: Chris Johns
- Export the BSP include path as a system include path so the order
of options on an application compiler command line does not matter.
Closes #4896
---
spec/build/bsps/makecustom.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Chris Johns
---
freebsd/contrib/ptpd/src/dep/sys.c | 16
1 file changed, 16 insertions(+)
diff --git a/freebsd/contrib/ptpd/src/dep/sys.c
b/freebsd/contrib/ptpd/src/dep/sys.c
index b5831701..6c93bf4c 100644
--- a/freebsd/contrib/ptpd/src/dep/sys.c
+++
From: Chris Johns
---
freebsd/contrib/ptpd/src/ptp_primitives.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/freebsd/contrib/ptpd/src/ptp_primitives.h
b/freebsd/contrib/ptpd/src/ptp_primitives.h
index 56ded20c..d70ae06e 100644
---
From: Chris Johns
---
freebsd/contrib/ptpd/src/ptpd.c | 4
1 file changed, 4 insertions(+)
diff --git a/freebsd/contrib/ptpd/src/ptpd.c b/freebsd/contrib/ptpd/src/ptpd.c
index 3462dd21..f1026f3b 100644
--- a/freebsd/contrib/ptpd/src/ptpd.c
+++ b/freebsd/contrib/ptpd/src/ptpd.c
@@ -75,7
---
freebsd/contrib/ptpd/src/ptpd.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/freebsd/contrib/ptpd/src/ptpd.h b/freebsd/contrib/ptpd/src/ptpd.h
index d8bb4b1e..e0e2b1ac 100644
--- a/freebsd/contrib/ptpd/src/ptpd.h
+++ b/freebsd/contrib/ptpd/src/ptpd.h
@@ -169,13
---
freebsd/contrib/ptpd/src/constants.h | 4
freebsd/contrib/ptpd/src/dep/datatypes_dep.h | 7 +++
freebsd/contrib/ptpd/src/dep/sys.c | 4
freebsd/contrib/ptpd/src/ptpd.h | 6 ++
freebsd/contrib/ptpd/src/timingdomain.c | 4
5 files
---
freebsd/contrib/ptpd/src/ptpd.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/freebsd/contrib/ptpd/src/ptpd.h b/freebsd/contrib/ptpd/src/ptpd.h
index 08090317..387d6525 100644
--- a/freebsd/contrib/ptpd/src/ptpd.h
+++ b/freebsd/contrib/ptpd/src/ptpd.h
@@ -183,12 +183,21 @@
From: Chris Johns
---
freebsd/contrib/ptpd/src/dep/datatypes_dep.h | 10 +
freebsd/contrib/ptpd/src/dep/eventtimer.h | 6 +-
.../contrib/ptpd/src/dep/eventtimer_kqueue.c | 184 ++
freebsd/contrib/ptpd/src/dep/kqueue.c | 80
From: Chris Johns
---
freebsd/contrib/ptpd/src/dep/startup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/freebsd/contrib/ptpd/src/dep/startup.c
b/freebsd/contrib/ptpd/src/dep/startup.c
index 97231d99..ace980fa 100644
--- a/freebsd/contrib/ptpd/src/dep/startup.c
+++
From: Chris Johns
---
freebsd/contrib/ptpd/src/dep/sys.c | 4
1 file changed, 4 insertions(+)
diff --git a/freebsd/contrib/ptpd/src/dep/sys.c
b/freebsd/contrib/ptpd/src/dep/sys.c
index bf459a62..b5831701 100644
--- a/freebsd/contrib/ptpd/src/dep/sys.c
+++
---
libbsd.py | 12 +++
rtemsbsd/include/machine/rtems-bsd-commands.h | 2 +
rtemsbsd/include/rtems/ptpd.h | 20 +
rtemsbsd/ptpd/ptpd.c | 78 +++
rtemsbsd/rtems/rtems-bsd-shell-ptpd.c | 66
From: Chris Johns
---
freebsd/contrib/ptpd/src/dep/constants_dep.h | 5 +++--
freebsd/contrib/ptpd/src/dep/net.c | 7 ++-
freebsd/contrib/ptpd/src/dep/ptpd_dep.h | 8
freebsd/contrib/ptpd/src/dep/startup.c | 2 ++
freebsd/contrib/ptpd/src/dep/sys.c |
From: Chris Johns
---
freebsd/contrib/ptpd/src/dep/net.c | 12
1 file changed, 12 insertions(+)
diff --git a/freebsd/contrib/ptpd/src/dep/net.c
b/freebsd/contrib/ptpd/src/dep/net.c
index edee5dc6..a0f44098 100644
--- a/freebsd/contrib/ptpd/src/dep/net.c
+++
From: Chris Johns
---
freebsd/contrib/ptpd/src/dep/iniparser/dictionary.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/freebsd/contrib/ptpd/src/dep/iniparser/dictionary.c
b/freebsd/contrib/ptpd/src/dep/iniparser/dictionary.c
index ffe35791..772ff8ce 100644
---
---
libbsd.py| 2 +
testsuite/ptpd01/test_main.c | 171 +++
2 files changed, 173 insertions(+)
create mode 100644 testsuite/ptpd01/test_main.c
diff --git a/libbsd.py b/libbsd.py
index 8b9b0c39..96f69c8c 100644
--- a/libbsd.py
+++ b/libbsd.py
---
buildset/default.ini | 1 +
libbsd.py| 47
2 files changed, 48 insertions(+)
diff --git a/buildset/default.ini b/buildset/default.ini
index 88379a96..9145be9b 100644
--- a/buildset/default.ini
+++ b/buildset/default.ini
@@ -40,6 +40,7
---
freebsd/contrib/ptpd/VERSION | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 freebsd/contrib/ptpd/VERSION
diff --git a/freebsd/contrib/ptpd/VERSION b/freebsd/contrib/ptpd/VERSION
new file mode 100644
index ..4c95e563
--- /dev/null
+++
These commits are for porting PTPd to rtems-libbsd and are based on the master
branch.
This work is a joint effort with Chris Johns, which we started some time ago.
Originally, we wanted to port some of the commits to PTPd upstream but
unfortunately the project is no longer maintained (our pull
20 matches
Mail list logo