GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > SBC / V1-4-1
Constituent: sbc_debug     Tag: rad750
#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "mv2600.h"
#include "sysLib.h"
#include "memDrv.h"
#include "Memmap.h"
#include "BootDiagnostics.h"
#include "FBS/FBS_pubrtos.h"
#include "SBC/SBC_msg.h"
#include "SBC/SBC_defs.h"
#include "SBC_private.h"
Include dependency graph for SBC_main.c:
Data Structures | |
struct | _SBC_memDir |
Description of the memory file directory. More... | |
Defines | |
#define | BOOT_DIAGS_ADDR() (&debugDiag) |
#define | MEM_DIR_ADDR MEMMAP_SBC_RAM_MOD0_ADRS |
#define | MEM_DIR_MAGIC "SAV" |
#define | MEM_DEVICE "/boot/d000" |
#define | MEM_NAME_LENG 12 |
Typedefs | |
typedef _SBC_memDir | SBC_memDir |
Description of the memory file directory. | |
Functions | |
void | SBC_parse (BOOT_Diagnostics *diag) |
void | SBC_mountMem (BOOT_Diagnostics *diag) |
void | SBC_umountMem (void) |
void | SBC_init (void) |
void | SBC_error (unsigned int status, unsigned int index, unsigned int data, BOOT_Diagnostics *diag) |
Variables | |
static BOOT_Diagnostics | debugDiag |
static MEM_DRV_DIRENTRY * | dirBase = NULL |
|
Get access to the boot diagnostics memory structure. For RAD750 targets, this is the real thing. Otherwise, it points to the local debug structure. |
|
Reports errors from the SBC initialization process.
|
|
The entry point for the secondary boot code. Initializes the system software and initializes the application software. |
|
Mounts the code blob in memory as device and directory /boot/d000. |
|
Reads the application database file. Loads all specified application ELF object modules. Calls all specified application initialization functions.
|
|
Unmounts the memory file system |
|
A fake diagnostics structure for non-RAD750 targets. |