Re: How do we know what priority of the Init task is?

2021-02-22 Thread Heinz Junkes
I would have a similar question ;-) What is the priority of the POSIX_Init - Task (as Posix-Prio)? Danke Heinz > On 23. Feb 2021, at 06:43, Richi Dubey wrote: > > Hi, > > Just confirming, The initial priority is 1, and when converted to > _RTEMS_Priority_To_core, it becomes 2 (because of the

Re: How do we know what priority of the Init task is?

2021-02-22 Thread Richi Dubey
Hi, Just confirming, The initial priority is 1, and when converted to _RTEMS_Priority_To_core, it becomes 2 (because of the append indicator added by default map priority). Right? On Tue, Nov 17, 2020 at 11:19 PM Richi Dubey wrote: > Awesome, thanks! > > On Tue, Nov 17, 2020 at 9:53 PM Joel

Re: [PATCH v3 0/1] Resubmission of patch previously submitted Sept 2020

2021-02-22 Thread Chris Johns
Hi James, Thanks for the patch. It is close. Could I ask if all the source files from you please be updated to the latest template with the 2-clause BSD license? It will say us having to include them in the sweep when we get to that task. I see a mix in the files provided. Thanks Chris On

Re: [PATCH v3 0/1] Resubmission of patch previously submitted Sept 2020

2021-02-22 Thread James Fitzsimons
Thanks Christian, That's much appreciated. Cheers, James On Tue, 23 Feb 2021 at 08:01, Christian Mauderer wrote: > Hello James, > > thanks for the patch and sorry that it get lost on the first submission. > > The patch compiles fine and it doesn't seem to change interfaces a lot. > So I would

Re: [PATCH v3 0/1] Resubmission of patch previously submitted Sept 2020

2021-02-22 Thread Christian Mauderer
Hello James, thanks for the patch and sorry that it get lost on the first submission. The patch compiles fine and it doesn't seem to change interfaces a lot. So I would say it is OK. I'll give it two or three more days of review before pushing it. Please remind me again in a week in case I

Re: [PATCH rtems-docs] user/bsps: Mention fixed console baud rate for zynq

2021-02-22 Thread Gedare Bloom
On Mon, Feb 22, 2021 at 6:41 AM wrote: > > > > > -Original Message- > > From: Chris Johns > > Sent: Saturday, February 20, 2021 11:57 PM > > To: Gedare Bloom ; Sommer, Jan > > > > Cc: devel@rtems.org > > Subject: Re: [PATCH rtems-docs] user/bsps: Mention fixed console baud rate > > for

[PATCH v2 0/1] Enable baud rate selection for zynq uart

2021-02-22 Thread Jan Sommer
v2: - Use rtems_baud_to_number instead of duplicating baud table This patch allows to set the baud rate of the zynq-uart using the termios API. I could change the baud rate successfully on hardware using the termios application. Best regards, Jan Jan Sommer (1): bsps/shared: Allow

[PATCH v2 1/1] bsps/shared: Allow setting baud rate for zynq uart

2021-02-22 Thread Jan Sommer
--- bsps/shared/dev/serial/zynq-uart.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/bsps/shared/dev/serial/zynq-uart.c b/bsps/shared/dev/serial/zynq-uart.c index 8f17d3ca65..dd5a6e1cb8 100644 --- a/bsps/shared/dev/serial/zynq-uart.c +++

RE: [PATCH v1 1/1] bsps/shared: Allow setting baud rate for zynq uart

2021-02-22 Thread Jan.Sommer
> -Original Message- > From: Sebastian Huber > Sent: Monday, February 22, 2021 4:58 PM > To: Sommer, Jan ; devel@rtems.org > Subject: Re: [PATCH v1 1/1] bsps/shared: Allow setting baud rate for zynq > uart > > > On 22/02/2021 16:43, Jan Sommer wrote: > > + /* > > + * Determine the

Re: [PATCH v1 1/1] bsps/shared: Allow setting baud rate for zynq uart

2021-02-22 Thread Sebastian Huber
On 22/02/2021 16:43, Jan Sommer wrote: + /* + * Determine the baud rate + */ + switch (term->c_ospeed) { +case B0: baud = 0; break; +case B50: baud = 50; break I am pretty sure we already have a function for this. -- embedded brains GmbH Herr Sebastian HUBER

[PATCH v1 0/1] Enable baud rate selection for zynq uart

2021-02-22 Thread Jan Sommer
This patch allows to set the baud rate of the zynq-uart using the termios API. I could change the baud rate successfully on hardware using the termios application. Best regards, Jan Jan Sommer (1): bsps/shared: Allow setting baud rate for zynq uart bsps/shared/dev/serial/zynq-uart.c |

[PATCH v1 1/1] bsps/shared: Allow setting baud rate for zynq uart

2021-02-22 Thread Jan Sommer
--- bsps/shared/dev/serial/zynq-uart.c | 42 +++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/bsps/shared/dev/serial/zynq-uart.c b/bsps/shared/dev/serial/zynq-uart.c index 8f17d3ca65..124f9e032d 100644 --- a/bsps/shared/dev/serial/zynq-uart.c +++

RE: [PATCH rtems-docs] user/bsps: Mention fixed console baud rate for zynq

2021-02-22 Thread Jan.Sommer
> -Original Message- > From: Chris Johns > Sent: Saturday, February 20, 2021 11:57 PM > To: Gedare Bloom ; Sommer, Jan > > Cc: devel@rtems.org > Subject: Re: [PATCH rtems-docs] user/bsps: Mention fixed console baud rate > for zynq > > On 20/2/21 3:59 am, Gedare Bloom wrote: > > On

[PATCH 2/2] ehci_pci: Add to build system

2021-02-22 Thread Moyano, Gabriel
--- 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',

[PATCH 0/2] Import ehci_pci into 6-freebsd-12 branch

2021-02-22 Thread Moyano, Gabriel
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

[PATCH 1/2] ehci_pci: Import from freebsd-org

2021-02-22 Thread Moyano, Gabriel
--- 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

AW: [PATCH 0/2] Import ehci_pci

2021-02-22 Thread Gabriel.Moyano
Sorry, I have forgotten to mention that this patch is for the master -Ursprüngliche Nachricht- Von: Moyano Heredia, Victor Gabriel Gesendet: Montag, 22. Februar 2021 11:53 An: devel@rtems.org Cc: Moyano Heredia, Victor Gabriel Betreff: [PATCH 0/2] Import ehci_pci Import ehci_pci from

AW: [PATCH 0/2] ehci_pci - ticket #4263

2021-02-22 Thread Gabriel.Moyano
Sorry, I have forgotten to mention that this patch is for 5-freebsd-12 -Ursprüngliche Nachricht- Von: Moyano Heredia, Victor Gabriel Gesendet: Montag, 22. Februar 2021 11:49 An: devel@rtems.org Cc: Moyano Heredia, Victor Gabriel Betreff: [PATCH 0/2] ehci_pci - ticket #4263 Import

[PATCH 2/2] ehci_pci: Add to build system

2021-02-22 Thread Moyano, Gabriel
--- 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',

[PATCH 1/2] ehci_pci: Import from freebsd-org

2021-02-22 Thread Moyano, Gabriel
--- 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

[PATCH 0/2] Import ehci_pci

2021-02-22 Thread Moyano, Gabriel
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

[PATCH 2/2] ehci_pci: Add to build system

2021-02-22 Thread Moyano, Gabriel
--- 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',

[PATCH 1/2] ehci_pci: Import from freebsd-org

2021-02-22 Thread Moyano, Gabriel
--- 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

[PATCH 0/2] ehci_pci - ticket #4263

2021-02-22 Thread Moyano, Gabriel
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 ++

[PATCH] rtems: Move rtems_task_priority definition

2021-02-22 Thread Sebastian Huber
This type is not only used by Task Manager directives. This is a preparation to move the rtems_scheduler_*() directives from to a new . --- cpukit/include/rtems/rtems/sem.h | 1 - cpukit/include/rtems/rtems/timer.h | 1 - cpukit/include/rtems/rtems/types.h | 13 +++-- 3 files

[PATCH 2/6] score: Simplify core barrier

2021-02-22 Thread Sebastian Huber
Use the number of threads which must arrive at the barrier to trip the automatic release also to indicate if the barrier is a manual release barrier. --- cpukit/include/rtems/score/corebarrier.h | 56 +++- cpukit/include/rtems/score/corebarrierimpl.h | 56 +---

[PATCH 1/6] score: Remove _Objects_Open()

2021-02-22 Thread Sebastian Huber
Use the type safe _Objects_Open_u32() instead. Return the object identifier to enforce a common usage pattern. --- cpukit/include/rtems/score/objectimpl.h | 60 + cpukit/include/rtems/score/threadimpl.h | 4 +- cpukit/rtems/src/barriercreate.c| 9 +---

[PATCH 4/6] libtest: Add support to seize/surrender objects

2021-02-22 Thread Sebastian Huber
--- cpukit/include/rtems/test.h| 5 +++ cpukit/libtest/t-test-rtems-objs.c | 54 ++ 2 files changed, 59 insertions(+) diff --git a/cpukit/include/rtems/test.h b/cpukit/include/rtems/test.h index b42bf5f058..10ff665107 100644 --- a/cpukit/include/rtems/test.h

[PATCH 5/6] validation: Add missing barrier create test case

2021-02-22 Thread Sebastian Huber
--- testsuites/validation/tc-barrier-create.c | 345 ++ 1 file changed, 289 insertions(+), 56 deletions(-) diff --git a/testsuites/validation/tc-barrier-create.c b/testsuites/validation/tc-barrier-create.c index cc5e9bc758..82f860749d 100644 ---

[PATCH 6/6] validation: Simplify message queue construct tests

2021-02-22 Thread Sebastian Huber
--- .../validation/tc-message-construct-errors.c | 142 +++--- 1 file changed, 52 insertions(+), 90 deletions(-) diff --git a/testsuites/validation/tc-message-construct-errors.c b/testsuites/validation/tc-message-construct-errors.c index 5820855ac4..7fd77fcece 100644 ---

[PATCH 0/6] Simplify barrier implementation and create tests

2021-02-22 Thread Sebastian Huber
Sebastian Huber (6): score: Remove _Objects_Open() score: Simplify core barrier score: Remove _CORE_barrier_Do_flush() libtest: Add support to seize/surrender objects validation: Add missing barrier create test case validation: Simplify message queue construct tests

[PATCH 3/6] score: Remove _CORE_barrier_Do_flush()

2021-02-22 Thread Sebastian Huber
Call _Thread_queue_Flush_critical() directly. --- cpukit/Makefile.am | 1 - cpukit/include/rtems/score/corebarrierimpl.h | 23 cpukit/score/src/corebarrierrelease.c| 37 spec/build/cpukit/librtemscpu.yml| 1 - 4