GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> FBS / V0-3-1 > fbs_rtos / rad750


Interface   Data Structures   File List   Data Fields   Globals  

FBS_ram.c.vx-ppc-xxx File Reference

Function definitions for FBS system library, RAM disk partitions. More...

#include <vxWorks.h>
#include <string.h>
#include <errno.h>
#include <dosFsLib.h>
#include <cbioLib.h>
#include <ramDiskCbio.h>
#include <fioLibX.h>
#include <iosLib.h>
#include <sys/stat.h>
#include <FBS/FBS_pubrtos.h>
#include <FBS/FBS_msgs.h>
#include <MDB/MDB_pubdefs.h>
#include <FBS_prvrtos.h>

Defines

#define RAM_DISK_BLK_SIZE   512
#define RAM_DISK_NUM_DIR   16

Functions

unsigned int FILE_sysRamCreate (void *addr, int size)
 Create, format, and mount a RAM disk partition.


Detailed Description

Function definitions for FBS system library, RAM disk partitions.

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.

Referenced by FILE_sysRamCreate().

#define RAM_DISK_NUM_DIR   16

The number of directories to create on disk when formatting.

Referenced by FILE_sysRamCreate().


Function Documentation

unsigned int FILE_sysRamCreate ( void *  addr,
int  size 
)

Create, format, and mount a RAM disk partition.

Parameters:
addr The memory address of the RAM disk partition.
size The size in bytes of the RAM disk partition.
Creates, formats, and mounts a RAM disk partition.

References FILE_PATH_STR_SIZE, FILE_PATH_STR_SIZE_USR, FILE_SYS_MAX_FILES, RAM_DISK_BLK_SIZE, and RAM_DISK_NUM_DIR.


Generated on Wed Nov 21 17:55:21 2012 by  doxygen 1.5.8