GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > SBC / V1-3-2

Constituent: sbc_debug     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

SBC_main.c File Reference

Functions to start the LAT secondary boot code process. More...

#include "vxWorks.h"
#include "stdio.h"
#include "mv2600.h"
#include "sysLib.h"
#include "Memmap.h"
#include "BootDiagnostics.h"
#include "SBC/SBC_msg.h"
#include "SBC/SBC_defs.h"
#include "SBC_private.h"

Include dependency graph for SBC_main.c:


Defines

#define BOOT_DIAGS_ADDR()   (&debugDiag)

Functions

void SBC_parse (BOOT_Diagnostics *diag)
void SBC_init (void)
void SBC_error (unsigned int status, unsigned int index, unsigned int data, BOOT_Diagnostics *diag)

Variables

static BOOT_Diagnostics debugDiag

Detailed Description

Functions to start the LAT secondary boot code process.

Author:
D.L. Wood

Define Documentation

 
#define BOOT_DIAGS_ADDR  )     (&debugDiag)
 

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

void SBC_error unsigned int  status,
unsigned int  index,
unsigned int  data,
BOOT_Diagnostics *  diag
 

Reports errors from the SBC initialization process.

Parameters:
status An SBC MSG code indicating the error condition.
index An SBC MSG code indicating the progress index at time of error.
data Error specific data to help diagnosis.
diag A pointer to the boot diagnostics area.

void SBC_init void   ) 
 

The entry point for the secondary boot code. Initializes the system software and initializes the application software.

void SBC_parse BOOT_Diagnostics *  diag  ) 
 

Reads the application database file. Loads all specified application ELF object modules. Calls all specified application initialization functions.

Parameters:
diag A pointer to the boot diagnostics area.


Variable Documentation

debugDiag [static]
 

A fake diagnostics structure for non-RAD750 targets.


Generated on Thu Apr 20 20:32:59 2006 by  doxygen 1.4.4