GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LPA / V6-1-3

Constituent: lpa_epu     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

LPA_sbc.c.vx-ppc-rad750 File Reference

LPA SBC utility file. More...

#include <string.h>
#include "FBS/FBS_pubrtos.h"
#include "tffs/tffsDrv.h"
#include "Memmap.h"
#include "sysLib.h"
#include "BootDiagnostics.h"
#include "mv2600.h"
#include "MSG/MSG_pubdefs.h"
#include "LPA_sbc.h"
#include "LPA_utils.h"
#include "LPA/LPA_msgs.h"

Include dependency graph for LPA_sbc.c.vx-ppc-rad750:


Defines

#define BOOT_DIAGS_ADDR()   (sysDiagsGet())

Functions

static unsigned int LPA_parseRead (unsigned int addr, void *buf, unsigned int size, const BOOT_Diagnostics *diag)
unsigned int LPA_getSbcKey (void)
 Finds the file key for the SBC application database.

Detailed Description

LPA SBC utility file.

Author:
S.Maldonado - smaldona@slac.stanford.edu
    CVS $Id: LPA_sbc.c.vx-ppc-rad750,v 1.1 2006/07/10 15:49:13 smaldona Exp $
   

RAD750 implementation to get the SBC database file key

Define Documentation

 
#define BOOT_DIAGS_ADDR  )     (sysDiagsGet())
 

Get access to the boot diagnostics memory structure. For RAD750 targets, this is the real thing. Otherwise, it points to the local debug structure.


Function Documentation

unsigned int LPA_getSbcKey void   ) 
 

Finds the file key for the SBC application database.

Returns:
SBC file key

static unsigned int LPA_parseRead unsigned int  addr,
void *  buf,
unsigned int  size,
const BOOT_Diagnostics *  diag
[static]
 

Read in data from the SBC application database file.

Parameters:
addr The address or offset to read from.
buf The buffer to hold the read data.
size The number of bytes to read.
diag A pointer to the boot diagnostics area.
diag A pointer to the boot diagnostics area.
Returns:
An LPA MSG code


Generated on Thu Oct 18 02:00:08 2007 by  doxygen 1.4.4