GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCS / V1-2-1

Constituent: lcs     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

LTX_adaptCPU.c File Reference

LTX protocol adapter for CPU to CPU communications. More...

#include "PBI/TBD_id.h"
#include "PBS/FFS.ih"
#include "PBS/FORK.h"
#include "PBS/TBD.ih"
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_drvdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "LCS/LCS_drvdefs.h"
#include "LCS/LCS_msgs.h"
#include "LCS_prvdefs.h"

Include dependency graph for LTX_adaptCPU.c:

Include dependency graph

Functions

FORK_cb_status LTX_allocSync (LTX_Engine *txe)
 Allocation request synchronized, move to next step.

FORK_cb_status LTX_allocReply (FORK_cb_prm *prm, FORK_msg_hdr *msg)
 Process a reply to an allocation request.

void LTX_protocolCPU (LTX_Engine *txe, unsigned int siz)
 Form the protocol header for one packet of a CPU/CPU transaction.

FORK_cb_status LTX_sendReply (FORK_cb_prm *prm, FORK_msg_hdr *msg)
 Process a reply to the last packet of a message.

unsigned int LTX_startCPU2 (LTX_Engine *txe)
 Start a protocol 2 CPU to CPU transaction.

unsigned int LTX_startCPU3 (LTX_Engine *txe)
 Start a protocol 3 CPU to CPU transaction.


Detailed Description

LTX protocol adapter for CPU to CPU communications.

CVS $Id: LTX_adaptCPU.c,v 1.1 2005/09/08 03:54:14 apw Exp $
Author:
A.P.Waite

Function Documentation

FORK_cb_status LTX_allocReply FORK_cb_prm *  prm,
FORK_msg_hdr *  msg
 

Process a reply to an allocation request.

Parameters:
prm (in) User context parameter (unused)
msg (in) Fork message
Return values:
FORK_C_CONTINUE Always
LTX_allocReply() is the fork routine to process a memory allocation response.

Here is the call graph for this function:

FORK_cb_status LTX_allocSync LTX_Engine txe  )  [static]
 

Allocation request synchronized, move to next step.

Parameters:
txe (in) Transmit engine handle
Return values:
FORK_C_CONTINUE Continue fork
~FORK_C_CONTINUE Shut down fork
LTX_allocSync() continues the processing once a memory allocation request has been synchronized.

Here is the call graph for this function:

void LTX_protocolCPU LTX_Engine txe,
unsigned int  siz
 

Form the protocol header for one packet of a CPU/CPU transaction.

Parameters:
txe (in) LTX transmit engine
siz (in) Size (bytes) of packet payload

Here is the call graph for this function:

FORK_cb_status LTX_sendReply FORK_cb_prm *  prm,
FORK_msg_hdr *  msg
 

Process a reply to the last packet of a message.

Parameters:
prm (in) User context parameter (unused)
msg (in) Fork message
Return values:
FORK_C_CONTINUE Always
LTX_sendReply() is the fork routine to process a last packet response.

Here is the call graph for this function:

unsigned int LTX_startCPU2 LTX_Engine txe  ) 
 

Start a protocol 2 CPU to CPU transaction.

Parameters:
txe (in) LTX transmit engine
Return values:
LCS_SUCCESS Success
LCS_TXNGNSIZ Protocol 2 message size exceeds maximum

Here is the call graph for this function:

unsigned int LTX_startCPU3 LTX_Engine txe  ) 
 

Start a protocol 3 CPU to CPU transaction.

Parameters:
txe (in) LTX transmit engine
Return values:
LCS_SUCCESS Success

Here is the call graph for this function:


Generated on Tue Sep 20 21:39:45 2005 by doxygen 1.3.3