[PATCH] Fixed issue with searching mapped addresses

2017-07-19 Thread Kevin Kirspel
The loop that checks if the current address is already mapped uses the same local variable for the chanin node as the newly allocated chain node so the allocated chain node gets over written. Added a new local variable for the loop that checks the address --- cpukit/posix/src/mmap.c | 7 ---

[PATCH v5 2/2] psxtests: Add a mmap dedicated test case

2017-06-29 Thread Kevin Kirspel
* The following test does not work on RTEMS because /dev/zero does not + * implemented the mmap handler. + */ + puts( "Init: mmap - /dev/zero shared" ); + mmap_dev_zero_shared(); + + TEST_END(); + + rtems_test_exit(0); + return 0; +} diff --git a/testsuites/psxte

[PATCH v4 1/2] posix/mmap: Add support for file handler and MAP_ANON

2017-06-28 Thread Kevin Kirspel
mode 100644 index 000..08534ee --- /dev/null +++ b/cpukit/libfs/src/defaults/default_mmap.c @@ -0,0 +1,40 @@ +/** + * @file + * + * @brief Default MMAP Handler + * + * @ingroup LibIOFSHandler + */ + +/* + * Copyright (c) 2017 Kevin Kirspel (kirs...@gmail.com) + * + * The license

[PATCH v4 2/2] psxtests: Add a mmap dedicated test case

2017-06-28 Thread Kevin Kirspel
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +/* + * Copyright (c) 2017 Kevin Kirspel. + * + * The license and distribution terms for this file may

[PATCH] Add RTEMS port of Linux FB user-space API

2017-05-24 Thread Kevin Kirspel
/null +++ b/cpukit/dev/include/linux/fb.h @@ -0,0 +1,1188 @@ +/** + * @file + * + * @brief RTEMS Port of Linux FB API + * + * @ingroup FBLinux + */ + +/* + * Copyright (c) 2017 Kevin Kirspel. + * + * The license and distribution terms for this file may be + * found in the file LICENSE

[PATCH 2/2] Add test case for character device mmap handler

2017-05-22 Thread Kevin Kirspel
--- testsuite/cdev01/test_cdev.c | 20 +++- testsuite/cdev01/test_cdev01.h | 2 ++ testsuite/cdev01/test_main.c | 7 +++ 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/testsuite/cdev01/test_cdev.c b/testsuite/cdev01/test_cdev.c index 19fb1a5..9b0c46f

[PATCH 1/2] Add support for MMAP handler for file operations

2017-05-22 Thread Kevin Kirspel
--- freebsd/sys/sys/conf.h | 4 ++-- freebsd/sys/sys/file.h | 20 + rtemsbsd/sys/fs/devfs/devfs_devs.c | 46 ++ 3 files changed, 68 insertions(+), 2 deletions(-) diff --git a/freebsd/sys/sys/conf.h

[PATCH v3 1/2] Add support for a mmap file handler. Add support for MAP_ANON in mmap().

2017-05-22 Thread Kevin Kirspel
/default_mmap.c new file mode 100644 index 000..08534ee --- /dev/null +++ b/cpukit/libfs/src/defaults/default_mmap.c @@ -0,0 +1,40 @@ +/** + * @file + * + * @brief Default MMAP Handler + * + * @ingroup LibIOFSHandler + */ + +/* + * Copyright (c) 2017 Kevin Kirspel (kirs...@gmail.com) + * + * The license

[PATCH v3 2/2] Add a mmap dedicated test case

2017-05-22 Thread Kevin Kirspel
ITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +/* + * Copyright (c) 2017 Kevin Kirspel. + * + * The license and distribution terms for this file may be + * found

[PATCH v2 1/2] Add support for a mmap file handler. Add support for MAP_ANON in mmap().

2017-05-20 Thread Kevin Kirspel
+ */ + +/* + * Copyright (c) 2017 Kevin Kirspel (kirs...@gmail.com) + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + +#if HAVE_CONFIG_H + #include "config.h" +#endif + +#inclu

[PATCH 1/2] Add support for a mmap file handler

2017-05-20 Thread Kevin Kirspel
(c) 2017 Kevin Kirspel (kirs...@gmail.com) + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + +#if HAVE_CONFIG_H + #include "config.h" +#endif + +#inclu

[PATCH 2/2] Add a mmap dedicated test case

2017-05-20 Thread Kevin Kirspel
ITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +/* + * Copyright (c) 2017 Kevin Kirspel. + * + * The license and distribution terms for this file may be + * found

[PATCH] Update 3001 broke build for non SMP BSPs. Build failed when compiling default-configuration.c

2017-05-15 Thread Kevin Kirspel
--- cpukit/sapi/include/confdefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 cpukit/sapi/include/confdefs.h diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h old mode 100755 new mode 100644 index 5cba1a8..06938b1 ---

[PATCH 11/11] Update scripts to include support for input devices - USB Keyboard, USB mouse, touch, and EVDEV

2017-05-15 Thread Kevin Kirspel
--- libbsd.py | 79 +++ libbsd_waf.py | 43 2 files changed, 101 insertions(+), 21 deletions(-) diff --git a/libbsd.py b/libbsd.py index 3129266..de94304 100644 --- a/libbsd.py +++ b/libbsd.py @@ -151,6

[PATCH 09/11] Add keyboard driver set variable

2017-05-15 Thread Kevin Kirspel
--- rtemsbsd/rtems/rtems-kernel-init.c | 4 1 file changed, 4 insertions(+) diff --git a/rtemsbsd/rtems/rtems-kernel-init.c b/rtemsbsd/rtems/rtems-kernel-init.c index e647224..c42e35a 100644 --- a/rtemsbsd/rtems/rtems-kernel-init.c +++ b/rtemsbsd/rtems/rtems-kernel-init.c @@ -49,6 +49,9 @@

[PATCH 10/11] Add tests for USB keyboard and mouse as well as EVDEV

2017-05-15 Thread Kevin Kirspel
testsuite/usbkbd01/init.c create mode 100644 testsuite/usbmouse01/init.c diff --git a/testsuite/evdev01/init.c b/testsuite/evdev01/init.c new file mode 100644 index 000..6daf581 --- /dev/null +++ b/testsuite/evdev01/init.c @@ -0,0 +1,764 @@ +/*- + * COPYRIGHT (c) 2017 Kevin Kirspel + * All rights

[PATCH 07/11] Add bitcount inlinesfor RTEMS. These are found in FREEBSDs types.h

2017-05-15 Thread Kevin Kirspel
--- freebsd/sys/sys/bitstring.h | 3 + rtemsbsd/include/machine/bitstring.h | 107 +++ 2 files changed, 110 insertions(+) create mode 100644 rtemsbsd/include/machine/bitstring.h diff --git a/freebsd/sys/sys/bitstring.h b/freebsd/sys/sys/bitstring.h

[PATCH 05/11] Modify FREEBSD USB keyboard drivers for use in RTEMS

2017-05-15 Thread Kevin Kirspel
--- freebsd/sys/dev/usb/input/ukbd.c| 6 ++ rtemsbsd/include/rtems/bsd/local/opt_kbd.h | 1 + rtemsbsd/include/rtems/bsd/local/opt_ukbd.h | 1 + 3 files changed, 8 insertions(+) create mode 100644 rtemsbsd/include/rtems/bsd/local/opt_kbd.h create mode 100644

[PATCH 08/11] Add LPC32XX touch screen driver

2017-05-15 Thread Kevin Kirspel
--- rtemsbsd/include/bsp/nexus-devices.h | 1 + rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 22 ++ rtemsbsd/sys/dev/input/touchscreen/tsc_lpc32xx.c | 403 +++ 3 files changed, 426 insertions(+) mode change 100755 => 100644

[PATCH 04/11] Add USB UGEN support for RTEMS

2017-05-15 Thread Kevin Kirspel
--- freebsd/sys/dev/usb/usb_dev.c | 10 ++ rtemsbsd/include/rtems/bsd/local/opt_usb.h | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/freebsd/sys/dev/usb/usb_dev.c b/freebsd/sys/dev/usb/usb_dev.c index fe249c2..da96a99 100644 ---

[PATCH 01/11] Adding EVDEV FREEBSD files

2017-05-15 Thread Kevin Kirspel
--- freebsd/sys/dev/evdev/cdev.c | 863 +++ freebsd/sys/dev/evdev/evdev.c | 939 ++ freebsd/sys/dev/evdev/evdev.h | 210 +++ freebsd/sys/dev/evdev/evdev_mt.c | 294 ++

[PATCH 06/11] Modify FREEBSD EVDEV driver for use in RTEMS

2017-05-15 Thread Kevin Kirspel
--- freebsd/sys/dev/evdev/evdev.c| 4 rtemsbsd/include/rtems/bsd/local/opt_evdev.h | 19 +++ 2 files changed, 23 insertions(+) create mode 100644 rtemsbsd/include/rtems/bsd/local/opt_evdev.h diff --git a/freebsd/sys/dev/evdev/evdev.c

[PATCH 02/11] Add FREEBSD keyboard driver files

2017-05-15 Thread Kevin Kirspel
--- freebsd/sys/dev/kbd/kbd.c | 1477 +++ freebsd/sys/dev/kbd/kbdreg.h| 307 freebsd/sys/dev/kbd/kbdtables.h | 238 +++ freebsd/sys/sys/kbio.h | 269 +++ 4 files changed, 2291 insertions(+) create mode 100644

[PATCH] Updating default termios initialization for dedicated input/output baud rates

2017-04-10 Thread Kevin Kirspel
--- cpukit/libcsupport/src/termios.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index 6557135..2fb9d4f 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -578,10

[PATCH 05/05] Updating scripts for USB Serial Drivers

2017-04-07 Thread Kevin Kirspel
--- 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):

[PATCH 03/05] Update USB Serial Driver for use with RTEMS

2017-04-07 Thread Kevin Kirspel
--- 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 +++

[PATCH 04/05] Adding USB Serial test

2017-04-07 Thread Kevin Kirspel
--- 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 ---

[PATCH 01/01] Undefine stdout in case a BSP includes stdio.h

2017-04-07 Thread Kevin Kirspel
--- 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

[PATCH v2 3/7] Updating STTY command for use in RTEMS shell

2017-04-07 Thread Kevin Kirspel
--- 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 ++

[PATCH v2 1/7] Adding stty command files from FREEBSD tree

2017-04-07 Thread Kevin Kirspel
--- 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

[PATCH v2 5/7] Adding RTEMS support for FREEBSD TTY

2017-04-07 Thread Kevin Kirspel
--- 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

[PATCH v2 6/7] Adding test cases for FREEBSD termios support through tty

2017-04-07 Thread Kevin Kirspel
--- .../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 +

[PATCH 7/7] Updating scripts for FREEBSD TTY support

2017-04-05 Thread Kevin Kirspel
--- 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

[PATCH 5/7] Adding RTEMS support for FREEBSD TTY

2017-04-05 Thread Kevin Kirspel
--- 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

[PATCH 1/7] Adding stty command files from FREEBSD tree

2017-04-05 Thread Kevin Kirspel
--- 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

[PATCH 6/7] Adding test cases for FREEBSD termios support through tty

2017-04-05 Thread Kevin Kirspel
--- .../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 +

[PATCH 3/7] Updating STTY command for use in RTEMS shell

2017-04-05 Thread Kevin Kirspel
--- 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 ++

[PATCH 4/7] Updating FREEBSD for tty support

2017-04-05 Thread Kevin Kirspel
--- freebsd/sys/fs/devfs/devfs_int.h | 2 +- freebsd/sys/kern/kern_conf.c | 16 -- freebsd/sys/kern/subr_taskqueue.c | 10 --- freebsd/sys/kern/tty.c| 62 +++ freebsd/sys/kern/tty_ttydisc.c| 2 ++ freebsd/sys/sys/conf.h

[PATCH v3 4/5] Updated tools to use dedicated input and output baud rates in termios structure

2017-03-21 Thread Kevin Kirspel
--- tools/cpu/sh/sci.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/tools/cpu/sh/sci.c b/tools/cpu/sh/sci.c index a092bce..2b68612 100644 --- a/tools/cpu/sh/sci.c +++ b/tools/cpu/sh/sci.c @@ -43,10 +43,15 @@ static unsigned int bitrate [] = {

[PATCH v3 5/5] Updated termios testsuites to use dedicated input and output baud rates in termios structure

2017-03-21 Thread Kevin Kirspel
--- testsuites/libtests/termios/init.c | 341 + testsuites/libtests/termios01/init.c | 143 +++-- testsuites/libtests/termios01/termios01.scn| 270 testsuites/libtests/termios01/termios_testdriver.c | 6 +-

[PATCH v3 1/5] Adding modified FREEBSD headers to sync RTEMS termios with FREEBSD

2017-03-21 Thread Kevin Kirspel
--- cpukit/libcsupport/include/sys/_termios.h| 264 +++ cpukit/libcsupport/include/sys/ttydefaults.h | 111 +++ cpukit/libcsupport/src/cfmakesane.c | 66 +++ 3 files changed, 441 insertions(+) create mode 100644

[PATCH v3 2/5] Modify termios to support dedicated input and output baud rates for termios structure

2017-03-21 Thread Kevin Kirspel
--- cpukit/libcsupport/Makefile.am | 2 +- cpukit/libcsupport/include/rtems/termiostypes.h | 8 +- cpukit/libcsupport/include/sys/ioccom.h | 11 - cpukit/libcsupport/include/sys/termios.h| 280 +++- cpukit/libcsupport/include/sys/ttycom.h

[PATCH v3 3/5] Updated BSPs to use dedicated input and output baud rates in termios structure

2017-03-21 Thread Kevin Kirspel
--- c/src/lib/libbsp/arm/csb336/console/uart.c | 2 +- c/src/lib/libbsp/arm/lpc32xx/console/hsu.c | 2 +- c/src/lib/libbsp/i386/shared/comm/tty_drv.c| 2 +- .../libbsp/lm32/shared/milkymist_console/console.c | 2 +- c/src/lib/libbsp/m68k/av5282/console/console.c |

[PATCH 4/5] Updated tools to use dedicated input and output baud rates in termios structure

2017-03-14 Thread Kevin Kirspel
--- tools/cpu/sh/sci.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/tools/cpu/sh/sci.c b/tools/cpu/sh/sci.c index a092bce..2b68612 100644 --- a/tools/cpu/sh/sci.c +++ b/tools/cpu/sh/sci.c @@ -43,10 +43,15 @@ static unsigned int bitrate [] = {

[PATCH 5/5] Updated termios testsuites to use dedicated input and output baud rates in termios structure

2017-03-14 Thread Kevin Kirspel
--- testsuites/libtests/termios/init.c | 341 + testsuites/libtests/termios01/init.c | 143 +++-- testsuites/libtests/termios01/termios01.scn| 270 testsuites/libtests/termios01/termios_testdriver.c | 6 +-

[PATCH 2/5] Modify termios to support dedicated input and output baud rates for termios structure

2017-03-14 Thread Kevin Kirspel
--- cpukit/libcsupport/Makefile.am | 2 +- cpukit/libcsupport/include/rtems/termiostypes.h | 8 +- cpukit/libcsupport/include/sys/ioccom.h | 11 - cpukit/libcsupport/include/sys/termios.h| 280 +++- cpukit/libcsupport/include/sys/ttycom.h

[PATCH 1/5] Adding modified FREEBSD headers to sync RTEMS termios with FREEBSD

2017-03-14 Thread Kevin Kirspel
--- cpukit/libcsupport/include/sys/_termios.h| 264 +++ cpukit/libcsupport/include/sys/ttydefaults.h | 111 +++ cpukit/libcsupport/src/cfmakesane.c | 66 +++ 3 files changed, 441 insertions(+) create mode 100644

[PATCH 2/5] Modify termios to support dedicated input and output baud rates for termios structure

2017-03-13 Thread Kevin Kirspel
--- cpukit/libcsupport/Makefile.am | 2 +- cpukit/libcsupport/include/rtems/termiostypes.h | 8 +- cpukit/libcsupport/include/sys/ioccom.h | 11 - cpukit/libcsupport/include/sys/termios.h| 280 +++- cpukit/libcsupport/include/sys/ttycom.h

[PATCH 3/5] Updated BSPs to use dedicated input and output baud rates in termios structure

2017-03-13 Thread Kevin Kirspel
--- c/src/lib/libbsp/arm/csb336/console/uart.c | 2 +- c/src/lib/libbsp/arm/lpc32xx/console/hsu.c | 2 +- c/src/lib/libbsp/i386/shared/comm/tty_drv.c| 2 +- .../libbsp/lm32/shared/milkymist_console/console.c | 2 +- c/src/lib/libbsp/m68k/av5282/console/console.c |

[PATCH 5/5] Updated termios testsuites to use dedicated input and output baud rates in termios structure

2017-03-13 Thread Kevin Kirspel
--- testsuites/libtests/termios/init.c | 341 + testsuites/libtests/termios01/init.c | 143 +++-- testsuites/libtests/termios01/termios01.scn| 270 testsuites/libtests/termios01/termios_testdriver.c | 6 +-

[PATCH 1/5] Adding modified FREEBSD headers to sync RTEMS termios with FREEBSD

2017-03-13 Thread Kevin Kirspel
--- cpukit/libcsupport/include/sys/_termios.h| 264 +++ cpukit/libcsupport/include/sys/ttydefaults.h | 111 +++ cpukit/libcsupport/src/cfmakesane.c | 66 +++ 3 files changed, 441 insertions(+) create mode 100644

[PATCH 4/5] Updated tools to use dedicated input and output baud rates in termios structure

2017-03-13 Thread Kevin Kirspel
--- tools/cpu/sh/sci.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/tools/cpu/sh/sci.c b/tools/cpu/sh/sci.c index a092bce..2b68612 100644 --- a/tools/cpu/sh/sci.c +++ b/tools/cpu/sh/sci.c @@ -43,10 +43,15 @@ static unsigned int bitrate [] = {

[PATCH 9/9] Updating script files for USB serial devices

2017-02-08 Thread Kevin Kirspel
--- libbsd.py | 67 +- libbsd_waf.py | 86 +++ 2 files changed, 134 insertions(+), 19 deletions(-) diff --git a/libbsd.py b/libbsd.py index 7264ac4..a690a00 100755 --- a/libbsd.py +++

[PATCH 8/9] Patching USB serial drivers and Termios for use in RTEMS

2017-02-08 Thread Kevin Kirspel
--- freebsd/sys/dev/usb/serial/uplcom.c| 22 freebsd/sys/dev/usb/serial/usb_serial.c| 24 freebsd/sys/dev/usb/usb_dev.c | 18 +++ freebsd/sys/fs/devfs/devfs_int.h | 2 +- freebsd/sys/kern/kern_conf.c | 16 +--

[PATCH 1/9] Adding Prolific USB Serial driver

2017-02-08 Thread Kevin Kirspel
--- freebsd/sys/dev/usb/serial/uplcom.c | 936 + freebsd/sys/dev/usb/serial/usb_serial.c | 1719 +++ freebsd/sys/dev/usb/serial/usb_serial.h | 221 3 files changed, 2876 insertions(+) create mode 100644 freebsd/sys/dev/usb/serial/uplcom.c

[PATCH 2/9] Adding files to support FREEBSD termios which is needed for the USB serial drivers

2017-02-08 Thread Kevin Kirspel
--- freebsd/sys/kern/tty.c | 2299 freebsd/sys/kern/tty_inq.c | 491 + freebsd/sys/kern/tty_outq.c| 341 ++ freebsd/sys/kern/tty_ttydisc.c | 1267 ++ freebsd/sys/sys/_termios.h | 222

[PATCH 7/9] Patching STTY command for use in RTEMS

2017-02-08 Thread Kevin Kirspel
--- freebsd/bin/stty/cchar.c | 11 freebsd/bin/stty/gfmt.c | 22 freebsd/bin/stty/key.c| 21 freebsd/bin/stty/modes.c | 9 freebsd/bin/stty/print.c | 14 +

[PATCH 6/9] Adding USB serial driver test cases

2017-02-08 Thread Kevin Kirspel
--- .../include/rtems/bsd/test/default-usb-init.h | 158 + testsuite/usbserial/init.c | 373 testsuite/usbserial01/test_main.c | 666 + testsuite/usbserial02/test_main.c | 252

[PATCH 5/9] Adding RTEMS support for FREEBSD virtual device operations

2017-02-08 Thread Kevin Kirspel
--- rtemsbsd/sys/fs/devfs/devfs_vnops.c | 136 1 file changed, 136 insertions(+) create mode 100755 rtemsbsd/sys/fs/devfs/devfs_vnops.c diff --git a/rtemsbsd/sys/fs/devfs/devfs_vnops.c b/rtemsbsd/sys/fs/devfs/devfs_vnops.c new file mode 100755 index

[PATCH 4/9] Adding RTEMS termios FREEBSD support

2017-02-08 Thread Kevin Kirspel
--- rtemsbsd/include/machine/rtems-bsd-termios.h | 68 + rtemsbsd/rtems/rtems-bsd-termios.c | 213 +++ 2 files changed, 281 insertions(+) create mode 100755 rtemsbsd/include/machine/rtems-bsd-termios.h create mode 100755

[PATCH 3/9] Adding files for stty command

2017-02-08 Thread Kevin Kirspel
--- 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

[PATCH] Disable defining _CONFIGURE_SMP_APPLICATION if RTEMS_SMP is not defined

2017-02-02 Thread Kevin Kirspel
--- cpukit/sapi/include/confdefs.h | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 cpukit/sapi/include/confdefs.h diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h old mode 100644 new mode 100755 index c931fda..adccc72 ---

[PATCH 03/10] Adding LPC32XX Ethernet and USB OHCI files to script

2017-01-30 Thread Kevin Kirspel
--- libbsd.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libbsd.py b/libbsd.py index 7264ac4..43107ee 100755 --- a/libbsd.py +++ b/libbsd.py @@ -148,6 +148,7 @@ def rtems(mm): 'pppd/utils.c', 'sys/dev/usb/controller/ehci_mpc83xx.c',

[PATCH 06/10] Add support for LPC32XX USB driver

2017-01-30 Thread Kevin Kirspel
--- freebsd/sys/dev/usb/controller/ohci.h | 2 - rtemsbsd/sys/dev/usb/controller/ohci_lpc.c | 93 +- rtemsbsd/sys/dev/usb/usb_otg_transceiver.h | 1 + 3 files changed, 3 insertions(+), 93 deletions(-) mode change 100644 => 100755

[PATCH 01/10] Adding LPC32XX ethernet driver support

2017-01-30 Thread Kevin Kirspel
--- freebsd/sys/arm/lpc/if_lpe.c| 1234 +++ freebsd/sys/arm/lpc/if_lpereg.h | 208 +++ freebsd/sys/arm/lpc/lpc_pwr.c | 131 + freebsd/sys/arm/lpc/lpcreg.h| 665 + freebsd/sys/arm/lpc/lpcvar.h| 69 +++ 5 files

[PATCH 08/10] Add LPC32XX LPE0 network driver name

2017-01-30 Thread Kevin Kirspel
--- testsuite/include/rtems/bsd/test/network-config.h.in | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 testsuite/include/rtems/bsd/test/network-config.h.in diff --git a/testsuite/include/rtems/bsd/test/network-config.h.in

[PATCH 09/10] Add nexus device entries

2017-01-30 Thread Kevin Kirspel
--- rtemsbsd/include/bsp/nexus-devices.h | 12 + rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 75 ++ 2 files changed, 87 insertions(+) mode change 100644 => 100755 rtemsbsd/include/bsp/nexus-devices.h mode change 100644 => 100755

[PATCH 07/10] Add nexus device entries and upate waf files

2017-01-30 Thread Kevin Kirspel
--- libbsd_waf.py | 5 - 1 file changed, 4 insertions(+), 1 deletions(-) diff --git a/libbsd_waf.py b/libbsd_waf.py index ecd87af..ef3150b 100644 --- a/libbsd_waf.py +++ b/libbsd_waf.py @@ -722,7 +722,9 @@ def build(bld): source = objs07_source) libbsd_use += ["objs07"]

[PATCH 10/10] Add support for LPC32XX cache

2017-01-30 Thread Kevin Kirspel
--- rtemsbsd/include/machine/rtems-bsd-cache.h | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) mode change 100644 => 100755 rtemsbsd/include/machine/rtems-bsd-cache.h diff --git a/rtemsbsd/include/machine/rtems-bsd-cache.h b/rtemsbsd/include/machine/rtems-bsd-cache.h old mode

[PATCH 05/10] Adding support for LPC32XX network driver and phy

2017-01-30 Thread Kevin Kirspel
--- freebsd/sys/arm/lpc/if_lpe.c | 178 + freebsd/sys/arm/lpc/lpc_pwr.c | 8 ++ freebsd/sys/dev/mii/icsphy.c | 3 + rtemsbsd/include/rtems/bsd/local/miidevs.h | 2 + 4 files changed, 191 insertions(+) mode change 100644

[PATCH 04/10] Add support for ordering the initialization of Nexus devices. This can be used to make sure a device is initialized before a dependant device.

2017-01-30 Thread Kevin Kirspel
--- freebsd/sys/sys/linker_set.h | 6 +- rtemsbsd/include/rtems/bsd/bsd.h | 6 ++ 2 files changed, 11 insertions(+), 1 deletion(-) mode change 100644 => 100755 freebsd/sys/sys/linker_set.h mode change 100644 => 100755 rtemsbsd/include/rtems/bsd/bsd.h diff --git

[PATCH 02/10] Adding LPC32XX USB OHCI support

2017-01-30 Thread Kevin Kirspel
--- rtemsbsd/sys/dev/usb/controller/ohci_lpc32xx.c | 499 + 1 file changed, 499 insertions(+) create mode 100755 rtemsbsd/sys/dev/usb/controller/ohci_lpc32xx.c diff --git a/rtemsbsd/sys/dev/usb/controller/ohci_lpc32xx.c b/rtemsbsd/sys/dev/usb/controller/ohci_lpc32xx.c

[PATCH 1/8] Adding LPC32XX ethernet driver support

2017-01-26 Thread Kevin Kirspel
--- freebsd/sys/arm/lpc/if_lpe.c| 1234 +++ freebsd/sys/arm/lpc/if_lpereg.h | 208 +++ freebsd/sys/arm/lpc/lpc_pwr.c | 131 + freebsd/sys/arm/lpc/lpcreg.h| 665 + freebsd/sys/arm/lpc/lpcvar.h| 69 +++ 5 files

[PATCH 6/8] Add support for LPC32XX USB driver

2017-01-26 Thread Kevin Kirspel
--- freebsd/sys/dev/usb/controller/ohci.h | 2 -- rtemsbsd/sys/dev/usb/controller/lpc_ohci.c | 19 --- rtemsbsd/sys/dev/usb/usb_otg_transceiver.h | 1 + 3 files changed, 17 insertions(+), 5 deletions(-) mode change 100644 => 100755 freebsd/sys/dev/usb/controller/ohci.h

[PATCH 4/8] Add support for ordering the initialization of Nexus devices. This can be used to make sure a device is initialized before a dependant device.

2017-01-26 Thread Kevin Kirspel
--- rtemsbsd/include/rtems/bsd/bsd.h| 13 - rtemsbsd/rtems/rtems-kernel-nexus.c | 12 +--- 2 files changed, 21 insertions(+), 4 deletions(-) mode change 100644 => 100755 rtemsbsd/include/rtems/bsd/bsd.h mode change 100644 => 100755 rtemsbsd/rtems/rtems-kernel-nexus.c

[PATCH 8/8] Add LPC32XX LPE0 network driver name

2017-01-26 Thread Kevin Kirspel
--- testsuite/include/rtems/bsd/test/network-config.h.in | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 testsuite/include/rtems/bsd/test/network-config.h.in diff --git a/testsuite/include/rtems/bsd/test/network-config.h.in

[PATCH 3/8] Adding LPC32XX Ethernet and USB OHCI files to script

2017-01-26 Thread Kevin Kirspel
--- libbsd.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libbsd.py b/libbsd.py index 53461fa..66606f1 100755 --- a/libbsd.py +++ b/libbsd.py @@ -146,7 +146,7 @@ def rtems(mm): 'pppd/upap.c', 'pppd/utils.c',

[PATCH 7/8] Add nexus device entries and upate waf files

2017-01-26 Thread Kevin Kirspel
--- libbsd_waf.py | 6 ++- rtemsbsd/include/bsp/nexus-devices.h | 12 + rtemsbsd/include/machine/rtems-bsd-cache.h | 7 +-- rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 75 ++ 4 files changed, 93 insertions(+), 7

[PATCH 5/8] Adding support for LPC32XX network driver

2017-01-26 Thread Kevin Kirspel
--- freebsd/sys/arm/lpc/if_lpe.c | 178 + freebsd/sys/arm/lpc/lpc_pwr.c | 8 ++ freebsd/sys/dev/mii/icsphy.c | 3 + rtemsbsd/include/rtems/bsd/local/miidevs.h | 2 + 4 files changed, 191 insertions(+) mode change 100644

[PATCH 2/8] Adding LPC32XX USB OHCI support

2017-01-26 Thread Kevin Kirspel
--- rtemsbsd/sys/dev/usb/controller/lpc_ohci.c | 495 + 1 file changed, 495 insertions(+) create mode 100755 rtemsbsd/sys/dev/usb/controller/lpc_ohci.c diff --git a/rtemsbsd/sys/dev/usb/controller/lpc_ohci.c b/rtemsbsd/sys/dev/usb/controller/lpc_ohci.c new file mode

[PATCH] Adding ARM VFP V2 support

2017-01-24 Thread Kevin Kirspel
--- c/src/lib/libbsp/arm/shared/start/start.S | 4 cpukit/score/cpu/arm/rtems/score/arm.h| 6 ++ 2 files changed, 10 insertions(+) mode change 100644 => 100755 c/src/lib/libbsp/arm/shared/start/start.S mode change 100644 => 100755 cpukit/score/cpu/arm/rtems/score/arm.h diff --git

[PATCH 1/2] Adding ARM VFP V2 support

2017-01-23 Thread Kevin Kirspel
--- c/src/lib/libbsp/arm/shared/start/start.S | 14 -- cpukit/score/cpu/arm/rtems/score/arm.h| 6 ++ 2 files changed, 18 insertions(+), 2 deletions(-) mode change 100644 => 100755 c/src/lib/libbsp/arm/shared/start/start.S mode change 100644 => 100755

[PATCH 2/2] Enable/Disable vector routines now check for a valid vector. Without these guards, the Enable/Disable vector routines will not work with the interrupt server

2017-01-23 Thread Kevin Kirspel
--- c/src/lib/libbsp/arm/lpc32xx/irq/irq.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) mode change 100644 => 100755 c/src/lib/libbsp/arm/lpc32xx/irq/irq.c diff --git a/c/src/lib/libbsp/arm/lpc32xx/irq/irq.c b/c/src/lib/libbsp/arm/lpc32xx/irq/irq.c old mode

[PATCH 8/8] Adding pipe support

2016-12-21 Thread Kevin Kirspel
--- testsuite/selectpollkqueue01/test_main.c | 183 ++- 1 file changed, 181 insertions(+), 2 deletions(-) mode change 100644 => 100755 testsuite/selectpollkqueue01/test_main.c diff --git a/testsuite/selectpollkqueue01/test_main.c

[PATCH 1/8] Adding pipe support

2016-12-21 Thread Kevin Kirspel
--- freebsd/sys/kern/sys_pipe.c | 1689 +++ 1 file changed, 1689 insertions(+) create mode 100644 freebsd/sys/kern/sys_pipe.c diff --git a/freebsd/sys/kern/sys_pipe.c b/freebsd/sys/kern/sys_pipe.c new file mode 100644 index 000..f1efd09 --- /dev/null

[PATCH 4/8] Adding pipe support

2016-12-21 Thread Kevin Kirspel
--- libbsd_waf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libbsd_waf.py b/libbsd_waf.py index 7ea6a36..c440015 100644 --- a/libbsd_waf.py +++ b/libbsd_waf.py @@ -836,6 +836,7 @@ def build(bld): 'freebsd/sys/kern/subr_uio.c',

[PATCH 7/8] Adding pipe support

2016-12-21 Thread Kevin Kirspel
--- rtemsbsd/sys/fs/devfs/devfs_devs.c | 29 + 1 file changed, 29 insertions(+) mode change 100644 => 100755 rtemsbsd/sys/fs/devfs/devfs_devs.c diff --git a/rtemsbsd/sys/fs/devfs/devfs_devs.c b/rtemsbsd/sys/fs/devfs/devfs_devs.c old mode 100644 new mode 100755 index

[PATCH 5/8] Adding pipe support

2016-12-21 Thread Kevin Kirspel
--- freebsd/sys/sys/pipe.h | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 freebsd/sys/sys/pipe.h diff --git a/freebsd/sys/sys/pipe.h b/freebsd/sys/sys/pipe.h old mode 100644 new mode 100755 index 20b1092..c59ecc7 --- a/freebsd/sys/sys/pipe.h +++ b/freebsd/sys/sys/pipe.h @@

[PATCH 3/8] Adding pipe support

2016-12-21 Thread Kevin Kirspel
--- libbsd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libbsd.py b/libbsd.py index 3685191..d7a0a5f 100755 --- a/libbsd.py +++ b/libbsd.py @@ -258,6 +258,7 @@ def base(mm): 'sys/sys/_null.h', 'sys/sys/osd.h', 'sys/sys/pcpu.h', +

[PATCH 2/8] Adding pipe support

2016-12-21 Thread Kevin Kirspel
--- freebsd/sys/sys/pipe.h | 142 + 1 file changed, 142 insertions(+) create mode 100644 freebsd/sys/sys/pipe.h diff --git a/freebsd/sys/sys/pipe.h b/freebsd/sys/sys/pipe.h new file mode 100644 index 000..20b1092 --- /dev/null +++

[PATCH 6/8] Adding pipe support

2016-12-21 Thread Kevin Kirspel
--- freebsd/sys/kern/sys_pipe.c | 271 1 file changed, 271 insertions(+) mode change 100644 => 100755 freebsd/sys/kern/sys_pipe.c diff --git a/freebsd/sys/kern/sys_pipe.c b/freebsd/sys/kern/sys_pipe.c old mode 100644 new mode 100755 index

[PATCH 7/7] Adding pipe support

2016-12-13 Thread Kevin Kirspel
--- testsuite/selectpollkqueue01/test_main.c | 186 ++- 1 file changed, 183 insertions(+), 3 deletions(-) mode change 100644 => 100755 testsuite/selectpollkqueue01/test_main.c diff --git a/testsuite/selectpollkqueue01/test_main.c

[PATCH 5/7] Adding pipe support

2016-12-13 Thread Kevin Kirspel
--- freebsd/sys/sys/pipe.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 freebsd/sys/sys/pipe.h diff --git a/freebsd/sys/sys/pipe.h b/freebsd/sys/sys/pipe.h old mode 100644 new mode 100755 index 20b1092..c59ecc7 --- a/freebsd/sys/sys/pipe.h +++

[PATCH 6/7] Adding pipe support

2016-12-13 Thread Kevin Kirspel
--- rtemsbsd/sys/fs/devfs/devfs_devs.c | 29 + 1 file changed, 29 insertions(+) mode change 100644 => 100755 rtemsbsd/sys/fs/devfs/devfs_devs.c diff --git a/rtemsbsd/sys/fs/devfs/devfs_devs.c b/rtemsbsd/sys/fs/devfs/devfs_devs.c old mode 100644 new mode 100755 index

[PATCH 3/7] Adding pipe support

2016-12-13 Thread Kevin Kirspel
--- libbsd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libbsd.py b/libbsd.py index 3685191..d7a0a5f 100755 --- a/libbsd.py +++ b/libbsd.py @@ -258,6 +258,7 @@ def base(mm): 'sys/sys/_null.h', 'sys/sys/osd.h', 'sys/sys/pcpu.h', +

[PATCH 4/7] Adding pipe support

2016-12-13 Thread Kevin Kirspel
--- freebsd/sys/kern/sys_pipe.c | 273 +++- 1 file changed, 272 insertions(+), 1 deletion(-) mode change 100644 => 100755 freebsd/sys/kern/sys_pipe.c diff --git a/freebsd/sys/kern/sys_pipe.c b/freebsd/sys/kern/sys_pipe.c old mode 100644 new mode 100755

[PATCH 2/7] Adding pipe support

2016-12-13 Thread Kevin Kirspel
--- freebsd/sys/sys/pipe.h | 142 + 1 file changed, 142 insertions(+) create mode 100644 freebsd/sys/sys/pipe.h diff --git a/freebsd/sys/sys/pipe.h b/freebsd/sys/sys/pipe.h new file mode 100644 index 000..20b1092 --- /dev/null +++

[PATCH 7/7] Adding pipe support

2016-12-09 Thread Kevin Kirspel
--- testsuite/selectpollkqueue01/test_main.c | 186 ++- 1 file changed, 182 insertions(+), 4 deletions(-) mode change 100644 => 100755 testsuite/selectpollkqueue01/test_main.c diff --git a/testsuite/selectpollkqueue01/test_main.c

[PATCH 6/7] Adding pipe support

2016-12-09 Thread Kevin Kirspel
--- rtemsbsd/sys/fs/devfs/devfs_devs.c | 29 + 1 file changed, 29 insertions(+) mode change 100644 => 100755 rtemsbsd/sys/fs/devfs/devfs_devs.c diff --git a/rtemsbsd/sys/fs/devfs/devfs_devs.c b/rtemsbsd/sys/fs/devfs/devfs_devs.c old mode 100644 new mode 100755 index

[PATCH 1/7] Adding pipe support

2016-12-09 Thread Kevin Kirspel
--- freebsd/sys/kern/sys_pipe.c | 1689 +++ 1 file changed, 1689 insertions(+) create mode 100644 freebsd/sys/kern/sys_pipe.c diff --git a/freebsd/sys/kern/sys_pipe.c b/freebsd/sys/kern/sys_pipe.c new file mode 100644 index 000..f1efd09 --- /dev/null

  1   2   >