[PATCH] c-user: Sort POSIX configuration options

2018-08-06 Thread Sebastian Huber
--- c-user/configuring_a_system.rst | 120 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/c-user/configuring_a_system.rst b/c-user/configuring_a_system.rst index 4b5fe52..a22d321 100644 --- a/c-user/configuring_a_system.rst +++ b/c-user/con

[PATCH] c-user: CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE

2018-08-06 Thread Sebastian Huber
Close #3434. --- c-user/configuring_a_system.rst | 44 ++--- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/c-user/configuring_a_system.rst b/c-user/configuring_a_system.rst index a22d321..f35d2bb 100644 --- a/c-user/configuring_a_system.rst +++

[PATCH] CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE

2018-08-06 Thread Sebastian Huber
Make CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE configurable by the user. Update #3434. --- cpukit/include/rtems/confdefs.h | 5 + cpukit/include/rtems/posix/pthread.h | 2 ++ cpukit/include/rtems/posix/pthreadimpl.h | 2 +- testsuites/psxtests/psxconfig01/init.c | 17 +++

Re: Inlined code

2018-08-06 Thread Sebastian Huber
On 06/08/18 21:14, Joel Sherrill wrote: On Mon, Aug 6, 2018 at 1:21 AM, Chris Johns > wrote: On 06/08/2018 16:12, Christian Mauderer wrote: > Am 06.08.2018 um 07:31 schrieb Chris Johns: >> On 06/08/2018 10:51, Chris Johns wrote: >>> On 05/08/2018 19:39

Re: [PATCH] rfs: Remove erroneous call of rtems_disk_release()

2018-08-06 Thread Chris Johns
On 07/08/2018 15:30, Sebastian Huber wrote: > > Since multiple milestones per ticket are unrealistic in Trac and what you > wrote > above I think this plug-in is still useful: > > https://trac.edgewall.org/wiki/TicketClone > > The basic work flow is: > > 1. Add a ticket for the master. > > 2.

Re: [PATCH] rfs: Remove erroneous call of rtems_disk_release()

2018-08-06 Thread Sebastian Huber
On 07/08/18 03:18, Chris Johns wrote: On 06/08/2018 23:21, Sebastian Huber wrote: On 06/08/18 15:03, Joel Sherrill wrote: On Mon, Aug 6, 2018, 3:01 AM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote:     On 06/08/18 09:47, Chris Johns wrote:     > On 06/08/2018 16:13, Sebas

Re: How to Deal With Great SPARC Reference

2018-08-06 Thread Sebastian Huber
On 06/08/18 20:22, Joel Sherrill wrote: Hi For a long time I have had a bookmark with a link to someone's personal website which had a great discussion of SPARC v8 registers, calls, register windows, etc.  While looking for space on my bookmark bar, I realized this one has been dead a while. I

Re: [PATCH 01/21] ramdisk: Use rtems_blkdev_create()

2018-08-06 Thread Chris Johns
This patch series is a nice clean up. Thank you. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] rfs: Remove erroneous call of rtems_disk_release()

2018-08-06 Thread Chris Johns
On 06/08/2018 23:21, Sebastian Huber wrote: > On 06/08/18 15:03, Joel Sherrill wrote: >> On Mon, Aug 6, 2018, 3:01 AM Sebastian Huber >> > > wrote: >> >>     On 06/08/18 09:47, Chris Johns wrote: >>     > On 06/08/2018 16:13, Sebastian Huber wrote: >>    

Re: Inlined code

2018-08-06 Thread Chris Johns
On 07/08/2018 05:14, Joel Sherrill wrote: > > On Mon, Aug 6, 2018 at 1:21 AM, Chris Johns > wrote: > > On 06/08/2018 16:12, Christian Mauderer wrote: > > Am 06.08.2018 um 07:31 schrieb Chris Johns: > >> On 06/08/2018 10:51, Chris Johns wrote: > >>> On 05/

Re: [GSoC - x86_64] Interrupt manager and and port-specific glue - was Re: [GSoC - x86_64 - automake] Limit CFLAGS to specific source for librtemsbsp.a

2018-08-06 Thread Chris Johns
On 07/08/2018 09:27, Joel Sherrill wrote: > On Mon, Aug 6, 2018 at 8:13 AM, Amaan Cheval > wrote: > > Thanks for all the help! I have a simple test using the RTEMS > interrupt manager working successfully (tested by calling > rtems_interrupt_handler_inst

Re: [GSoC - x86_64] Interrupt manager and and port-specific glue - was Re: [GSoC - x86_64 - automake] Limit CFLAGS to specific source for librtemsbsp.a

2018-08-06 Thread Joel Sherrill
On Mon, Aug 6, 2018 at 8:13 AM, Amaan Cheval wrote: > Thanks for all the help! I have a simple test using the RTEMS > interrupt manager working successfully (tested by calling > rtems_interrupt_handler_install for vector 0, and then triggering a > divide-by-0 exception). > Yeah! > > Could someo

Re: Inlined code

2018-08-06 Thread Joel Sherrill
On Mon, Aug 6, 2018 at 1:21 AM, Chris Johns wrote: > On 06/08/2018 16:12, Christian Mauderer wrote: > > Am 06.08.2018 um 07:31 schrieb Chris Johns: > >> On 06/08/2018 10:51, Chris Johns wrote: > >>> On 05/08/2018 19:39, Christian Mauderer wrote: > Am 05.08.2018 um 04:00 schrieb Chris Johns:

How to Deal With Great SPARC Reference

2018-08-06 Thread Joel Sherrill
Hi For a long time I have had a bookmark with a link to someone's personal website which had a great discussion of SPARC v8 registers, calls, register windows, etc. While looking for space on my bookmark bar, I realized this one has been dead a while. I found it at archive.org. https://web.archi

Re: [PATCH] rfs: Remove erroneous call of rtems_disk_release()

2018-08-06 Thread Sebastian Huber
On 06/08/18 15:03, Joel Sherrill wrote: On Mon, Aug 6, 2018, 3:01 AM Sebastian Huber > wrote: On 06/08/18 09:47, Chris Johns wrote: > On 06/08/2018 16:13, Sebastian Huber wrote: >> this needs a back port to 4.11 and 4.10. >> > I

Re: [GSoC - x86_64] Interrupt manager and and port-specific glue - was Re: [GSoC - x86_64 - automake] Limit CFLAGS to specific source for librtemsbsp.a

2018-08-06 Thread Amaan Cheval
Thanks for all the help! I have a simple test using the RTEMS interrupt manager working successfully (tested by calling rtems_interrupt_handler_install for vector 0, and then triggering a divide-by-0 exception). Could someone shed any light on why the i386 only hooks the first 17 vectors as "RTEMS

Re: [PATCH] rfs: Remove erroneous call of rtems_disk_release()

2018-08-06 Thread Joel Sherrill
On Mon, Aug 6, 2018, 3:01 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 06/08/18 09:47, Chris Johns wrote: > > On 06/08/2018 16:13, Sebastian Huber wrote: > >> this needs a back port to 4.11 and 4.10. > >> > > I saw the ticket for 4.10 and assumed the patch was for 4.10. We

[PATCH] score: Fix _Addresses_Subtract()

2018-08-06 Thread Sebastian Huber
Use architecture-specific integer type for an address difference. Update #3486. --- cpukit/include/rtems/rtems/partimpl.h | 4 ++-- cpukit/include/rtems/score/address.h | 9 +++-- cpukit/rtems/src/dpmemexternal2internal.c | 8 cpukit/rtems/src/dpmeminternal2external.c | 8 ++

[PATCH] rtems: Parameter types in rtems_partition_create()

2018-08-06 Thread Sebastian Huber
Use uintptr_t to specify the length of the partition buffer area instead of uint32_t. This is in line with rtems_region_create(). On 64-bit targets, the length may exceed 4GiB. Use size_t for the buffer size, since on some targets the single object size is less than the overall address range, e.

[PATCH] bsp/atsam: Fix handling of slow SPI speeds.

2018-08-06 Thread Christian Mauderer
This patch fixes an overflow in the frequency calculation of the SPI driver for slow SPI speeds. --- bsps/arm/atsam/spi/atsam_spi_bus.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/bsps/arm/atsam/spi/atsam_spi_bus.c b/bsps/arm/atsam/spi/atsam_spi_bus.c

Re: [PATCH] rfs: Remove erroneous call of rtems_disk_release()

2018-08-06 Thread Sebastian Huber
On 06/08/18 09:47, Chris Johns wrote: On 06/08/2018 16:13, Sebastian Huber wrote: this needs a back port to 4.11 and 4.10. I saw the ticket for 4.10 and assumed the patch was for 4.10. We separate tickets for each branch. This makes the ticket handling a bit more complicated. Why is this ne

Re: [PATCH] rfs: Remove erroneous call of rtems_disk_release()

2018-08-06 Thread Chris Johns
On 06/08/2018 16:13, Sebastian Huber wrote: > > this needs a back port to 4.11 and 4.10. > I saw the ticket for 4.10 and assumed the patch was for 4.10. We separate tickets for each branch. Are you able to handle this or should I put it on the list? Chris __

[PATCH 14/21] libtests/block15: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- testsuites/libtests/block15/init.c | 42 ++ 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/testsuites/libtests/block15/init.c b/testsuites/libtests/block15/init.c index cf9ec5fc0c..925a772842 100644 --- a/testsuites/libtests/b

[PATCH 21/21] libblock: Add RTEMS_DEPRECATED

2018-08-06 Thread Sebastian Huber
Close #3358. --- cpukit/include/rtems/blkdev.h | 46 cpukit/include/rtems/diskdevs.h| 144 - cpukit/libblock/src/blkdev-imfs.c | 13 ++-- cpukit/libblock/src/blkdev-ops.c | 2 + cpukit/libblock/src/blkdev.c | 2 + cpukit/libb

[PATCH 10/21] libtests/block10: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- testsuites/libtests/block10/init.c | 69 -- 1 file changed, 28 insertions(+), 41 deletions(-) diff --git a/testsuites/libtests/block10/init.c b/testsuites/libtests/block10/init.c index 27c0bb5478..d5ac44ad53 100644 --- a/testsuites/libtests/b

[PATCH 16/21] libchip/ata: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- bsps/include/libchip/ata_internal.h | 2 -- bsps/shared/dev/ide/ata.c | 59 - 2 files changed, 13 insertions(+), 48 deletions(-) diff --git a/bsps/include/libchip/ata_internal.h b/bsps/include/libchip/ata_internal.h index 985b6f597

[PATCH 20/21] fileio: Avoid deprecated rtems_disk_obtain()

2018-08-06 Thread Sebastian Huber
Update #3358. --- testsuites/samples/fileio/init.c | 47 +--- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c index 6d30c41db0..f86593c46c 100644 --- a/testsuites/samples/fileio/

[PATCH 12/21] libtests/block13: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- testsuites/libtests/block13/init.c | 44 ++ 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/testsuites/libtests/block13/init.c b/testsuites/libtests/block13/init.c index afd7704026..0eb5d676ee 100644 --- a/testsuites/libtests/b

[PATCH 19/21] dosfs: Avoid deprecated routine

2018-08-06 Thread Sebastian Huber
Update #3358. --- cpukit/libfs/src/dosfs/fat.c| 2 ++ cpukit/libfs/src/dosfs/fat.h| 1 + cpukit/libfs/src/dosfs/msdos_dir.c | 2 +- cpukit/libfs/src/dosfs/msdos_file.c | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cpukit/libfs/src/dosfs/fat.c b/cpukit/libf

[PATCH 07/21] libtests/block06: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- testsuites/libtests/block06/block06.scn | 820 testsuites/libtests/block06/init.c | 234 - 2 files changed, 499 insertions(+), 555 deletions(-) diff --git a/testsuites/libtests/block06/block06.scn b/testsuites/libtests/block06/block

[PATCH 06/21] libtests/block05: Avoid uninitialized variable

2018-08-06 Thread Sebastian Huber
Update #3358. --- testsuites/libtests/block05/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/libtests/block05/init.c b/testsuites/libtests/block05/init.c index 6aafb0e5a6..9bc56af5d5 100644 --- a/testsuites/libtests/block05/init.c +++ b/testsuites/libtests/b

[PATCH 13/21] libtests/block14: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- testsuites/libtests/block14/init.c | 44 ++ 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/testsuites/libtests/block14/init.c b/testsuites/libtests/block14/init.c index 879582f214..36325f5892 100644 --- a/testsuites/libtests/b

[PATCH 03/21] flashdisk: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- cpukit/libblock/src/flashdisk.c| 69 +++--- testsuites/libtests/flashdisk01/init.c | 9 + 2 files changed, 23 insertions(+), 55 deletions(-) diff --git a/cpukit/libblock/src/flashdisk.c b/cpukit/libblock/src/flashdisk.c index 0543f301df..

[PATCH 18/21] tests: Avoid deprecated rtems_disk_io_initialize()

2018-08-06 Thread Sebastian Huber
Update #3358. --- testsuites/fstests/fsdosfsformat01/init.c | 3 --- testsuites/fstests/fsdosfssync01/init.c | 3 --- testsuites/fstests/fsdosfswrite01/init.c | 4 testsuites/libtests/block11/init.c| 9 - testsuites/libtests/block16/init.c| 3 --- testsuites/libtest

[PATCH 17/21] bsp/gen5200: Avoid deprecated routine

2018-08-06 Thread Sebastian Huber
Update #3358. --- bsps/powerpc/gen5200/ata/ata-instance.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bsps/powerpc/gen5200/ata/ata-instance.c b/bsps/powerpc/gen5200/ata/ata-instance.c index b2b26341f6..df753a5e58 100644 --- a/bsps/powerpc/gen5200/ata/ata-instance.c +++

[PATCH 05/21] bsp/smdk2410: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- bsps/arm/smdk2410/smc/smc.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/bsps/arm/smdk2410/smc/smc.c b/bsps/arm/smdk2410/smc/smc.c index 8291008336..459407f275 100644 --- a/bsps/arm/smdk2410/smc/smc.c +++ b/bsps/arm/smdk2410/smc/smc.c @@ -14

[PATCH 09/21] libtests/block09: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- testsuites/libtests/block09/init.c | 65 +++--- 1 file changed, 25 insertions(+), 40 deletions(-) diff --git a/testsuites/libtests/block09/init.c b/testsuites/libtests/block09/init.c index b25c4e4113..3e8b8cd83e 100644 --- a/testsuites/libtests/b

[PATCH 15/21] libblock: Use rtems_blkdev_create_partition()

2018-08-06 Thread Sebastian Huber
Update #3358. --- cpukit/include/rtems/ide_part_table.h | 2 -- cpukit/libblock/src/ide_part_table.c | 16 ++-- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/cpukit/include/rtems/ide_part_table.h b/cpukit/include/rtems/ide_part_table.h index 8b683b3ff5..9fd991ec5f

[PATCH 01/21] ramdisk: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- cpukit/include/rtems/ramdisk.h | 9 +-- cpukit/libblock/src/ramdisk-config.c | 11 +--- cpukit/libblock/src/ramdisk-register.c | 30 ++ testsuites/fstests/fsdosfsname01/init.c| 35 +-- testsuites/fstests/mdosfs_support/fs

[PATCH 08/21] libtests/block08: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- testsuites/libtests/block08/bdbuf_tests.c | 59 +-- testsuites/libtests/block08/bdbuf_tests.h | 7 +--- testsuites/libtests/block08/system.h | 9 ++--- testsuites/libtests/block08/test_disk.c | 29 +-- 4 files changed, 27 insertion

[PATCH 04/21] bsps/lm32: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- bsps/lm32/shared/milkymist_memcard/memcard.c | 36 +++- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/bsps/lm32/shared/milkymist_memcard/memcard.c b/bsps/lm32/shared/milkymist_memcard/memcard.c index 3e56303292..e93caa3a9f 100644 --- a/bs

[PATCH 11/21] libtests/block12: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- testsuites/libtests/block12/init.c | 43 ++ 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/testsuites/libtests/block12/init.c b/testsuites/libtests/block12/init.c index 036a4e92e6..ddc27958aa 100644 --- a/testsuites/libtests/b

[PATCH 02/21] nvdisk: Use rtems_blkdev_create()

2018-08-06 Thread Sebastian Huber
Update #3358. --- cpukit/libblock/src/nvdisk.c | 70 +++- testsuites/samples/fileio/init.c | 61 ++ 2 files changed, 22 insertions(+), 109 deletions(-) diff --git a/cpukit/libblock/src/nvdisk.c b/cpukit/libblock/src/nvdisk.c