[PATCH 1/5] posix: add test case for shared memory objects

2016-08-20 Thread Gedare Bloom
--- testsuites/psxtests/Makefile.am | 4 +- testsuites/psxtests/configure.ac | 1 + testsuites/psxtests/psxshm01/Makefile.am | 22 testsuites/psxtests/psxshm01/init.c | 91 +++ testsuites/psxtests/psxshm01/psxshm01.scn | 0 testsuit

[PATCH 2/5] posix: shared memory support

2016-08-20 Thread Gedare Bloom
Add POSIX shared memory manager (Shm). --- cpukit/posix/Makefile.am | 3 + cpukit/posix/include/rtems/posix/config.h | 5 + cpukit/posix/include/rtems/posix/shm.h| 61 cpukit/posix/include/rtems/posix/shmimpl.h| 90 cpukit/posix/prei

[PATCH 0/5] POSIX Shared Memory Objects

2016-08-20 Thread Gedare Bloom
These patches start to add support for POSIX Shared Memory Objects, see http://pubs.opengroup.org/onlinepubs/9699919799/functions/shm_open.html This support aims to improve POSIX compliance. The approach taken is to use the existing score Object as the basis for each shm object, where the Object.N

[PATCH] DMA : Added DMA API for Raspberrypi

2016-08-20 Thread Mudit Jain
Brief API Description rpi_dma_init -> Initializes the channel structure and its members for that particular channel, gets the physical address of the control block structure and installs the interrupt handler. rpi_dma_allocate -> Allocates the channel if it is not busy rpi_dma_setup_dst &

[PATCH] Added interrupt handler for SD card

2016-08-20 Thread Mudit Jain
This is in accordance with the information in the datasheet and has been verified with the linux source code for RPi --- c/src/lib/libbsp/arm/raspberrypi/include/irq.h | 1 + c/src/lib/libbsp/arm/raspberrypi/irq/irq.c | 15 +++ 2 files changed, 16 insertions(+) diff --git a/c/src

[PATCH] Added interrupt handler for DMA channel 0, 1 & 2

2016-08-20 Thread Mudit Jain
Added macros for DMA channels 0-12 Added interrupt handlers for DMA 0, 1 & 2 The added IRQs are in accordance with the BCM Peripherals Datasheet and also have been verified with the linux source code for RPi --- c/src/lib/libbsp/arm/raspberrypi/include/irq.h | 17 ++ c/src/lib/libbsp/arm/

[PATCH 1/3] Mailbox : Adding functionality to get board serial

2016-08-20 Thread Mudit Jain
From: Mudit Jain --- c/src/lib/libbsp/arm/raspberrypi/include/vc.h | 7 +++ c/src/lib/libbsp/arm/raspberrypi/misc/vc.c | 24 ++ c/src/lib/libbsp/arm/raspberrypi/misc/vc_defines.h | 11 ++ 3 files changed, 42 insertions(+) diff --git a/c/src/lib/libb

Re: [PATCH 1/3] Mailbox : Adding functionality to get board serial

2016-08-20 Thread Mudit Jain
Kindly ignore this. I have rebased and pushed all the changes in one patch. Thanks Mudit ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH] Mailbox : Extending functionality

2016-08-20 Thread Mudit Jain
Adding functionality to get board serial, power state & clock rate --- c/src/lib/libbsp/arm/raspberrypi/include/vc.h | 17 + c/src/lib/libbsp/arm/raspberrypi/misc/vc.c | 75 ++ c/src/lib/libbsp/arm/raspberrypi/misc/vc_defines.h | 35 ++ 3 files changed,

[PATCH 3/3] Mailbox : Adding functionality to get clock rate

2016-08-20 Thread Mudit Jain
From: Mudit Jain --- c/src/lib/libbsp/arm/raspberrypi/include/vc.h | 8 +++ c/src/lib/libbsp/arm/raspberrypi/misc/vc.c | 26 ++ c/src/lib/libbsp/arm/raspberrypi/misc/vc_defines.h | 12 ++ 3 files changed, 46 insertions(+) diff --git a/c/src/lib/libb

[PATCH 2/3] Mailbox : Added functionality to get power state

2016-08-20 Thread Mudit Jain
From: Mudit Jain --- c/src/lib/libbsp/arm/raspberrypi/include/vc.h | 2 ++ c/src/lib/libbsp/arm/raspberrypi/misc/vc.c | 25 ++ c/src/lib/libbsp/arm/raspberrypi/misc/vc_defines.h | 12 +++ 3 files changed, 39 insertions(+) diff --git a/c/src/lib/libbsp/a