diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-04 16:39:58 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-09 07:09:47 +0200 |
commit | 4b28d3c79729e582c3cde8392524a15f3e7923ca (patch) | |
tree | 726aab374bb374aeb96d3ca6334d011b5a1e511c /c/src/libchip/shmdr/initlq.c | |
parent | bsps: Move VME support to bsps (diff) | |
download | rtems-4b28d3c79729e582c3cde8392524a15f3e7923ca.tar.bz2 |
bsps: Move shmdr to bsps
This patch is a part of the BSP source reorganization.
Update #3285.
Diffstat (limited to 'c/src/libchip/shmdr/initlq.c')
-rw-r--r-- | c/src/libchip/shmdr/initlq.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/c/src/libchip/shmdr/initlq.c b/c/src/libchip/shmdr/initlq.c deleted file mode 100644 index 6d03f61109..0000000000 --- a/c/src/libchip/shmdr/initlq.c +++ /dev/null @@ -1,32 +0,0 @@ -/* void Shm_Locked_queue_Initialize( lq_cb, owner ) - * - * This routine initializes a shared memory locked queue. - * - * Input parameters: - * lq_cb - pointer to the control block of the queue - * to be initialized - * owner - unique idenitifier of who owns this queue. - * - * Output parameters: NONE - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * 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. - */ - -#include <rtems.h> -#include "shm_driver.h" - -void Shm_Locked_queue_Initialize( - Shm_Locked_queue_Control *lq_cb, - uint32_t owner -) -{ - Shm_Initialize_lock( lq_cb ); - lq_cb->front = Shm_Locked_queue_End_of_list; - lq_cb->rear = Shm_Locked_queue_End_of_list; - lq_cb->owner = Shm_Convert(owner); -} |