GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> FBS / V0-3-1 > fbs_rtos / rad750
#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. |
#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().
unsigned int FILE_sysRamCreate | ( | void * | addr, | |
int | size | |||
) |
Create, format, and mount a RAM disk partition.
addr | The memory address of the RAM disk partition. | |
size | The size in bytes of the 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.