Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-06-04 Thread Sebastian Huber
On 04/06/2020 14:53, Niteesh G. S. wrote: I have a few questions which I would like to resolve before sending in the patch. 1) Will the definitions for the wrapper functions go under cpukit/libtest like it is currently done for printf, puts, etc.? No, the wrapper function should be defined

Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-06-04 Thread Niteesh G. S.
I have a few questions which I would like to resolve before sending in the patch. 1) Will the definitions for the wrapper functions go under cpukit/libtest like it is currently done for printf, puts, etc.? And also why are we wrapping printf and puts? Is it to provide definitions for BSPs that

Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-06-04 Thread Sebastian Huber
On 04/06/2020 07:57, Chris Johns wrote: On 4/6/20 3:22 pm, Sebastian Huber wrote: This approach avoids the need to actively register a device tree. This could simplify the low level startup a bit. The draw back is that it needs a special feature of the linker for the tests. But we already use

Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-06-03 Thread Chris Johns
On 4/6/20 3:22 pm, Sebastian Huber wrote: > This approach avoids the need to actively register a device tree. This could > simplify the low level startup a bit. The draw back is that it needs a special > feature of the linker for the tests. But we already use this feature and need it for the

Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-06-03 Thread Sebastian Huber
On 01/06/2020 20:55, Niteesh G. S. wrote: On Fri, May 29, 2020 at 6:49 PM Sebastian Huber > wrote: On 29/05/2020 12:41, Niteesh G. S. wrote: Hello Sebastian, > Hello, > > On Fri, May 29, 2020 at 12:52 PM Sebastian Huber >

Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-06-03 Thread Niteesh G. S.
Hello, This email is a reminder since this thread has lost activity. Thanks, Niteesh. On Tue, Jun 2, 2020 at 12:25 AM Niteesh G. S. wrote: > On Fri, May 29, 2020 at 6:49 PM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> On 29/05/2020 12:41, Niteesh G. S. wrote: >> > Hello

Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-06-01 Thread Niteesh G. S.
On Fri, May 29, 2020 at 6:49 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 29/05/2020 12:41, Niteesh G. S. wrote: > Hello Sebastian, > > Hello, > > > > On Fri, May 29, 2020 at 12:52 PM Sebastian Huber > > > > wrote: > > > >

Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-05-29 Thread Sebastian Huber
On 29/05/2020 12:41, Niteesh G. S. wrote: Hello, On Fri, May 29, 2020 at 12:52 PM Sebastian Huber > wrote: Hello, since this code is not BSP-specific it should be located in cpukit. How many FreeBSD source files do you intend to

Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-05-29 Thread Niteesh G. S.
Hello, On Fri, May 29, 2020 at 12:52 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > since this code is not BSP-specific it should be located in cpukit. How > many FreeBSD source files do you intend to import within this project? > This code depends on a bsp that

Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-05-29 Thread Sebastian Huber
Hello, since this code is not BSP-specific it should be located in cpukit. How many FreeBSD source files do you intend to import within this project? ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-05-28 Thread G S Niteesh Babu
freebsd head: b8c57b4 The following files have been imported from FreeBSD to implement OF_* functions into RTEMS. 1) openfirm.h 2) openfirm.c 3) ofw_fdt.c --- bsps/shared/freebsd/dev/ofw/ofw_fdt.c | 479 ++ bsps/shared/freebsd/dev/ofw/openfirm.c | 848 +