GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > VXW / V7-1-0
Constituent: vxw_flight     Tag: rad750
#include "vxWorks.h"
#include "config.h"
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "ioLib.h"
#include "memDrv.h"
#include "loadLib.h"
#include "symLib.h"
#include "sysLib.h"
#include "tffs/tffsDrv.h"
#include "mv2600.h"
#include "Memmap.h"
#include "BootDiagnostics.h"
#include "VXW/VXW_msg.h"
#include "ZLIB/zlib.h"
#include "FBS/FBS_pubrtos.h"
#include "MDB/MDB_macdefs.h"
Include dependency graph for VXW_AppInit.c.vx-ppc-cpci:
Defines | |
#define | SBC_DEV_NAME "/mem/sbc" |
#define | SBC_ENTRY_NAME "SBC_init" |
#define | BOOT_DIAGS_ADDR() (&debugDiag) |
Functions | |
static int | VXW_AppInitRead (unsigned int addr, void *buf, unsigned int size, const BOOT_Diagnostics *diag) |
static void | VXW_AppInitError (unsigned int status, unsigned int index, unsigned int data, BOOT_Diagnostics *diag) |
void | VXW_AppInit (void) |
Variables | |
SYMTAB_ID | sysSymTbl |
int | sysStartType |
static BOOT_Diagnostics | 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. |
|
The name to use for the loader memory device. |
|
The symbol name of the SBC executable entry function. |
|
Start LAT application initialization by executing secondary boot code module. The goal is to get and load the secondary boot executable (SBC module 0). The secondary boot flags indicate the location to get the source image. The file header and file checksum are verified, and the file data is inflated if necessary. The module is loaded using loadModule(), and the SBC entry point is called. The symbol SBC_init() should be defined in the SBC module. |
|
Reports errors from the SBC initialization process. The relevant information is stored in the boot diagnostics structure. For flight configurations, the error is considered fatal, and the system is rebooted. Otherwise, the error information is simply printed.
|
|
Read in data from the SBC executable module file.
|
|
Initial value: { 0, (BOOT_DIAGS_SBF_RTOS_SOURCE_EE0 | BOOT_DIAGS_SBF_MOD0_SOURCE_EE0 | BOOT_DIAGS_SBF_MOD1_SOURCE_EE0), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0}, 0, {0, 0, 0, 0, 0, 0, 0, 0} } |
|
The system start type value. |
|
The VxWorks system symbol table. |