GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > FBS / V0-2-0

Constituent: fbs_rtos     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

FBS_tffs.c.xx-xxx-xxx File Reference

Function definitions for FBS system library, TFFS partitions. More...

#include "FBS/FBS_pubrtos.h"
#include "FBS/FBS_msgs.h"
#include "MDB/MDB_pubdefs.h"

Include dependency graph for FBS_tffs.c.xx-xxx-xxx:

This graph shows which files directly or indirectly include this file:


Functions

unsigned int FILE_sysTffsFormat (int drv, unsigned int offset)
unsigned int FILE_sysTffsMount (int drv)
unsigned int FILE_sysTffsCheck (int drv)
unsigned int FILE_sysTffsRepair (int drv)

Detailed Description

Function definitions for FBS system library, TFFS partitions.

Author:
D.L. Wood
These implementations are meant to work with targets that do not support the SIB board and TFFS. All functions simply return an appropriate status code.

Function Documentation

unsigned int FILE_sysTffsCheck int  drv  ) 
 

Runs the DOSFS chkdsk utility on the requested TFFS partition. Only the status is checked; no repairs to the partition file system are attempted.

Parameters:
drv The TFFS drive number for the bank to check.
Returns:
A FILE MSG code.

unsigned int FILE_sysTffsFormat int  drv,
unsigned int  offset
 

Formats a TFFS file system for a raw TFFS non-volatile memory bank. Both the TFFS/FTL layer and the DOSFS layer are written to the media. The offset parameter allows a portion of a media memory bank to be used by boot software.

Parameters:
drv The TFFS drive number for the bank to format.
offset The offset in bytes from the bank base address at which the TFFS/FTL formatting should begin.

unsigned int FILE_sysTffsMount int  drv  ) 
 

Mounts a TFFS/DOSFS filesytem for use. The non-volatile memory bank must have previously been formatted with both the TFFS and DOSFS layers.

Parameters:
drv The TFFS drive number for the bank to format.

unsigned int FILE_sysTffsRepair int  drv  ) 
 

Runs the DOSFS chkdsk utility on the requested TFFS partition. If an error is found by the utility, repairs to the partition file system are attempted.

Parameters:
drv The TFFS drive number for the bank to repair.
Returns:
A FILE MSG code.


Generated on Wed Nov 16 20:55:29 2005 by  doxygen 1.4.4