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_mount.c File Reference

Functions to mount the LAT application filesystems. More...

#include "vxWorks.h"
#include "stdlib.h"
#include "taskLib.h"
#include "ioLib.h"
#include "dosFsLib.h"
#include "blkIo.h"
#include "cbioLib.h"
#include "ramDiskCbio.h"
#include "usrLib.h"
#include "tffs/tffsDrv.h"
#include "stdio.h"
#include "SBC/SBC_msg.h"
#include "SBC/SBC_defs.h"
#include "FBS/FBS_pubrtos.h"
#include "MSG/MSG_macdefs.h"
#include "SBC_private.h"

Include dependency graph for SBC_mount.c:


Defines

#define SBC_MOUNT_FILE_COUNT   32
#define RAM_DISK_NUM_DIR   16
#define RAM_DISK_BLK_SIZE   512
#define RAM_DISK_PART_SIZE   0x100000
#define TFFS_TASK_NAME   "tTffsPTask"
#define SBC_CHKDSK_VERB   DOS_CHK_VERB_SILENT

Functions

static unsigned int SBC_mountRAM (char *name, unsigned int index, BOOT_Diagnostics *diag)
unsigned int SBC_mount (BOOT_Diagnostics *diag)

Detailed Description

Functions to mount the LAT application filesystems.

Author:
D.L. Wood

Define Documentation

#define RAM_DISK_BLK_SIZE   512
 

The size in bytes of one emulated disk block for RAM disk devices.

#define RAM_DISK_NUM_DIR   16
 

The number of directories to create on disk when formatting.

#define RAM_DISK_PART_SIZE   0x100000
 

The size in bytes of the RAM disk partition.

#define SBC_CHKDSK_VERB   DOS_CHK_VERB_SILENT
 

Controls the verbosity levels of the VxWorks chkdsk() call.

#define SBC_MOUNT_FILE_COUNT   32
 

The number of open files specified for DOSFS partition mounts.

#define TFFS_TASK_NAME   "tTffsPTask"
 

The name of the TFFS VxWorks system task.


Function Documentation

unsigned int SBC_mount BOOT_Diagnostics *  diag  ) 
 

Mounts the RAM disk partition. Mounts the TFFS/EEPROM partitions. Creates any special files or directories needed by secondary boot process.

Parameters:
diag A pointer to the boot diagnostics area.

static unsigned int SBC_mountRAM char *  name,
unsigned int  index,
BOOT_Diagnostics *  diag
[static]
 

Mounts the RAM disk partition.

Parameters:
name The RAM disk partition name.
index SBC progress index MSG code.
diag A pointer to the boot diagnostics area.


Generated on Thu Apr 20 20:33:00 2006 by  doxygen 1.4.4