On 06/04/17 03:11, Kevin Kirspel wrote:
---
rtemsbsd/include/machine/rtems-bsd-commands.h | 2 +
rtemsbsd/include/machine/rtems-bsd-kernel-space.h | 1 +
rtemsbsd/include/rtems/bsd/local/opt_gdb.h| 1 +
rtemsbsd/include/rtems/netcmds-config.h | 2 +
rtemsbsd/rt
Great! That looks like a cleaner, more standardized solution. I was just
hacking away until the warnings stopped. So can I go ahead and #include
or should I wait until is defined before
doing any more? Does this work for printk() too?
Thanks Joel.
___
I will revert the PPP changes. It will still uses RTEMS termios instead of
FREEBSD.
Kevin Kirspel
Electrical Engineer - Sr. Staff
Idexx Roswell
235 Hembree Park Drive
Roswell GA 30076
Tel: (770)-510- ext. 81642
Direct: (770)-688-1642
Fax: (770)-510-4445
-Original Message-
From: Seba
On Fri, Apr 7, 2017 at 4:15 AM, Cillian O'Donnell
wrote:
> Great! That looks like a cleaner, more standardized solution. I was just
> hacking away until the warnings stopped. So can I go ahead and #include
> or should I wait until is defined before
> doing any more? Does this work for printk()
---
cpukit/libdl/rtl-obj-cache.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/cpukit/libdl/rtl-obj-cache.c b/cpukit/libdl/rtl-obj-cache.c
index a4676cf..c859f60 100644
--- a/cpukit/libdl/rtl-obj-cache.c
+++ b/cpukit/libdl/rtl-obj-cache.c
@@ -22,6 +22,7
---
.../libcpu/powerpc/mpc5xx/vectors/vectors_init.c | 80 +++---
1 file changed, 41 insertions(+), 39 deletions(-)
diff --git a/c/src/lib/libcpu/powerpc/mpc5xx/vectors/vectors_init.c
b/c/src/lib/libcpu/powerpc/mpc5xx/vectors/vectors_init.c
index 4a6c5be..ff34a21 100644
--- a/c
On Fri, Apr 7, 2017 at 10:05 AM, Joel Sherrill wrote:
>
>
> On Fri, Apr 7, 2017 at 4:15 AM, Cillian O'Donnell
> wrote:
>>
>> Great! That looks like a cleaner, more standardized solution. I was just
>> hacking away until the warnings stopped. So can I go ahead and #include
>> or should I wait unt
On Fri, Apr 7, 2017 at 9:58 AM, Gedare Bloom wrote:
> On Fri, Apr 7, 2017 at 10:05 AM, Joel Sherrill wrote:
> >
> >
> > On Fri, Apr 7, 2017 at 4:15 AM, Cillian O'Donnell >
> > wrote:
> >>
> >> Great! That looks like a cleaner, more standardized solution. I was just
> >> hacking away until the w
---
rtemsbsd/include/machine/rtems-bsd-commands.h | 2 +
rtemsbsd/include/machine/rtems-bsd-kernel-space.h | 1 +
rtemsbsd/include/rtems/bsd/local/opt_gdb.h| 1 +
rtemsbsd/include/rtems/netcmds-config.h | 2 +
rtemsbsd/rtems/rtems-bsd-shell-stty.c | 40 +++
---
.../include/rtems/bsd/test/default-termios-init.h | 158
testsuite/termios/test_main.c | 856 +
testsuite/termios/test_termios_driver.c| 136
testsuite/termios/test_termios_driver.h| 32 +
testsuite/termios/test_termi
---
freebsd/sys/fs/devfs/devfs_int.h | 2 +-
freebsd/sys/fs/devfs/devfs_vnops.c | 18 ---
freebsd/sys/kern/kern_conf.c | 16 --
freebsd/sys/kern/subr_taskqueue.c | 10 --
freebsd/sys/kern/tty.c | 62 ++
freebsd/sys/kern/
---
freebsd/bin/stty/cchar.c | 9 ++
freebsd/bin/stty/gfmt.c | 6
freebsd/bin/stty/key.c | 9 ++
freebsd/bin/stty/modes.c | 9 ++
freebsd/bin/stty/print.c | 9 ++
freebs
---
libbsd.py | 77 ---
libbsd_waf.py | 97 +++
2 files changed, 163 insertions(+), 11 deletions(-)
mode change 100755 => 100644 libbsd.py
diff --git a/libbsd.py b/libbsd.py
old mode 100755
ne
---
freebsd/bin/stty/cchar.c | 142 ++
freebsd/bin/stty/extern.h | 45 +++
freebsd/bin/stty/gfmt.c | 129
freebsd/bin/stty/key.c| 296 ++
freebsd/bin/stty/modes.c | 248 +++
---
freebsd/sys/dev/ofw/openfirm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/freebsd/sys/dev/ofw/openfirm.c b/freebsd/sys/dev/ofw/openfirm.c
index 3e86d8d..9b39502 100644
--- a/freebsd/sys/dev/ofw/openfirm.c
+++ b/freebsd/sys/dev/ofw/openfirm.c
@@ -82,6 +82,9 @@ static void OF_putchar
---
libbsd.py | 6 +-
libbsd_waf.py | 30 ++
2 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/libbsd.py b/libbsd.py
index 3aa5610..3129266 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -796,7 +796,9 @@ def dev_usb_serial(mm):
mod.addKernelSpaceHe
---
freebsd/sys/dev/usb/uftdiio.h | 99 +++
1 file changed, 99 insertions(+)
create mode 100644 freebsd/sys/dev/usb/uftdiio.h
diff --git a/freebsd/sys/dev/usb/uftdiio.h b/freebsd/sys/dev/usb/uftdiio.h
new file mode 100644
index 000..b624483
--- /dev/nu
---
freebsd/sys/dev/usb/serial/usb_serial.c | 12
1 file changed, 12 insertions(+)
diff --git a/freebsd/sys/dev/usb/serial/usb_serial.c
b/freebsd/sys/dev/usb/serial/usb_serial.c
index b5d7ef7..f494b10 100644
--- a/freebsd/sys/dev/usb/serial/usb_serial.c
+++ b/freebsd/sys/dev/usb/ser
---
testsuite/usbserial01/init.c | 380 +++
1 file changed, 380 insertions(+)
create mode 100644 testsuite/usbserial01/init.c
diff --git a/testsuite/usbserial01/init.c b/testsuite/usbserial01/init.c
new file mode 100644
index 000..bbefb5f
--- /dev/null
The LIBBSD USB Serial patch depends on the LIBBSD TTY patch I sent out earlier.
Kevin Kirspel
Electrical Engineer - Sr. Staff
Idexx Roswell
235 Hembree Park Drive
Roswell GA 30076
Tel: (770)-510- ext. 81642
Direct: (770)-688-1642
Fax: (770)-510-4445
___
I'm OK with both these patches but not in a good
position to apply them right now.
Gedare/Chris.. can you apply these?
Thanks.
--joel
On Fri, Apr 7, 2017 at 9:11 AM, Cillian O'Donnell
wrote:
> ---
> cpukit/libdl/rtl-obj-cache.c | 21 -
> 1 file changed, 12 insertions(+),
Thanks!
I just went ahead and pushed these. Testing will
hopefully occur over the weekend.
Good eye for going for a file with a lot of warnings. :)
--joel
On Fri, Apr 7, 2017 at 3:29 PM, Joel Sherrill wrote:
> I'm OK with both these patches but not in a good
> position to apply them right now
---
c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c
b/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c
index 8601721..bef0173 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c
+++ b/c/s
---
c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c
b/c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c
index f063ad7..f52c2
---
c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c
b/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c
index fc2127e..423dc6f 100644
--- a/c/src/lib/l
When I got rid of the casts I was left with char * and couldn't find an
inttype to fit it so I left the casts in.
---
.../lib/libbsp/powerpc/virtex5/startup/bspstart.c | 25 +++---
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/virtex5/sta
Like virtex5 I couldn't get rid of the casts.
---
.../lib/libbsp/powerpc/virtex4/startup/bspstart.c | 25 +++---
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/virtex4/startup/bspstart.c
b/c/src/lib/libbsp/powerpc/virtex4/startup/bspstart
---
cpukit/score/cpu/i386/cpu.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c
index d839f1e..447d8ae 100644
--- a/cpukit/score/cpu/i386/cpu.c
+++ b/cpukit/score/cpu/i386/cpu.c
@@ -104,7 +104,8 @@ void _CPU_Initialize
---
c/src/libchip/network/dec21140.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/c/src/libchip/network/dec21140.c b/c/src/libchip/network/dec21140.c
index 3bfc91d..b76c02a 100644
--- a/c/src/libchip/network/dec21140.c
+++ b/c/src/libchip/network/dec21140.c
@@ -36,6 +36,7
Unfortunately I couldn't figure how to do this without casts. Either
32 or 64 bit was unhappy one way or the other. Type time_t seems to
be particularly tricky.
---
cpukit/rtems/src/ratemonreportstatistics.c | 36 +++---
1 file changed, 18 insertions(+), 18 deletions(-)
di
---
c/src/lib/libbsp/powerpc/haleakala/mmu/mmu_405.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/haleakala/mmu/mmu_405.c
b/c/src/lib/libbsp/powerpc/haleakala/mmu/mmu_405.c
index f57defb..38a0949 100644
--- a/c/src/lib/libbsp/p
---
c/src/lib/libbsp/m68k/mrm332/console/sci.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/c/src/lib/libbsp/m68k/mrm332/console/sci.c
b/c/src/lib/libbsp/m68k/mrm332/console/sci.c
index 1e92d6d..8e44f22 100644
--- a/c/src/lib/libbsp/m68k/mrm332/console/sci.c
+
Unfortunately I couldn't figure out how to do this without casts. Either
32 or 64 bit was unhappy one way or the other. Type time_t seems to
be particularly tricky.
---
cpukit/rtems/src/ratemonreportstatistics.c | 36 +++---
1 file changed, 18 insertions(+), 18 deletions(-)
Thanks Joel!
Plenty more were that came from below.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
IGNORE THIS ONE.
It's a duplicate, that still has warnings. I couldn't figure out how to get
rid of it. I'm new to git.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
On Fri, Apr 7, 2017 at 5:43 PM, Cillian O'Donnell
wrote:
> Thanks Joel!
>
No problem. The printf-format warnings are mostly easy to fix. But doing it
right can be tedious. I have had my share of them tossed away for missing
a detail.
>
> Plenty more were that came from below.
>
Nothing was at
On Fri, Apr 7, 2017 at 5:37 PM, Cillian O'Donnell
wrote:
> When I got rid of the casts I was left with char * and couldn't find an
> inttype to fit it so I left the casts in.
>
char * can be printed with %p. printk() should support that but check.
Do a simple test on Linux to see but I don't thi
Many of the values printed appear to be addresses. If they
are pointers, use %p.
--joel
On Fri, Apr 7, 2017 at 5:37 PM, Cillian O'Donnell
wrote:
> Like virtex5 I couldn't get rid of the casts.
> ---
> .../lib/libbsp/powerpc/virtex4/startup/bspstart.c | 25
> +++---
> 1 file ch
On Fri, Apr 7, 2017 at 5:50 PM, Cillian O'Donnell
wrote:
> IGNORE THIS ONE.
>
> It's a duplicate, that still has warnings. I couldn't figure out how to
> get rid of it. I'm new to git.
>
>
This might be one where PRItime_t needs to be defined in rtems/inttypes.h
and that
used. I think that's the
On Fri, Apr 7, 2017 at 7:05 PM, Joel Sherrill wrote:
>
>
> On Fri, Apr 7, 2017 at 5:50 PM, Cillian O'Donnell
> wrote:
>>
>> IGNORE THIS ONE.
>>
>> It's a duplicate, that still has warnings. I couldn't figure out how to
>> get rid of it. I'm new to git.
>>
>
> This might be one where PRItime_t nee
40 matches
Mail list logo