HIPC  0.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
hipcsvs_rt.c File Reference
#include <string.h>
#include <hipc/scfg.h>
#include <hipc/usoc.h>
#include <hipc/usocutils.h>
#include "CFGrt.h"
#include "CFGrt_scfg.h"
#include "hipcsvs_rt.h"
Include dependency graph for hipcsvs_rt.c:

Go to the source code of this file.

Macros

#define PBANK_PAGE_SIZE   sizeof(struct STRUprm)
 
#define QUEUE_ITEM_SIZE   sizeof(struct STRUlog)
 
#define QUEUE_N_SLOT   4
 

Functions

void hipcsvsRtInit (void)
 
static enum HIPC_errno send_cast (struct HIPC_usoc *const so_p)
 
enum HIPC_errno hipcsvsRtRun (struct HIPC_usoc *const so_p, hipc_msgd *const mdq_p)
 
void hipcMain (struct HIPC_usoc *const so_p)
 

Variables

struct HIPC_pbank hipcsvsRt_pbank
 
struct HIPC_queue hipcsvsRt_queue
 

Macro Definition Documentation

#define PBANK_PAGE_SIZE   sizeof(struct STRUprm)

Definition at line 11 of file hipcsvs_rt.c.

Referenced by hipcsvsRtInit(), and hipcsvsRtRun().

#define QUEUE_ITEM_SIZE   sizeof(struct STRUlog)

Definition at line 12 of file hipcsvs_rt.c.

Referenced by hipcsvsRtInit(), and send_cast().

#define QUEUE_N_SLOT   4

Definition at line 13 of file hipcsvs_rt.c.

Function Documentation

void hipcsvsRtInit ( void  )

Definition at line 18 of file hipcsvs_rt.c.

References hipcPbankInit(), hipcQueueInit(), hipcsvsRt_pbank, hipcsvsRt_queue, PBANK_PAGE_SIZE, and QUEUE_ITEM_SIZE.

Here is the call graph for this function:

static enum HIPC_errno send_cast ( struct HIPC_usoc *const  so_p)
static

Definition at line 32 of file hipcsvs_rt.c.

References HIPC_MESSAGE_TYPE_CAST, HIPC_MSGHDR_SIZE, HIPC_SUCCESS, hipcQueueEmpty(), hipcQueuePop(), hipcsvsRt_queue, hipcUsocWrite(), and QUEUE_ITEM_SIZE.

Referenced by hipcsvsRtRun().

Here is the call graph for this function:

Here is the caller graph for this function:

enum HIPC_errno hipcsvsRtRun ( struct HIPC_usoc *const  so_p,
hipc_msgd *const  mdq_p 
)
void hipcMain ( struct HIPC_usoc *const  so_p)

Variable Documentation

struct HIPC_pbank hipcsvsRt_pbank

Definition at line 15 of file hipcsvs_rt.c.

struct HIPC_queue hipcsvsRt_queue

Definition at line 16 of file hipcsvs_rt.c.

Referenced by hipcsvsRtInit(), runMockServer(), and send_cast().