GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> SBC / V1-4-4 > sbc_shell / rad750
#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>
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) |
#define RAM_DISK_BLK_SIZE 512 |
The size in bytes of one emulated disk block for RAM disk devices.
Referenced by SBC_mountRAM().
#define RAM_DISK_NUM_DIR 16 |
The number of directories to create on disk when formatting.
Referenced by SBC_mountRAM().
#define RAM_DISK_PART_SIZE 0x100000 |
The size in bytes of the RAM disk partition.
Referenced by SBC_mountRAM().
#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.
Referenced by SBC_mountRAM().
#define TFFS_TASK_NAME "tTffsPTask" |
The name of the TFFS VxWorks system task.
Referenced by SBC_mount().
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.
diag | A pointer to the boot diagnostics area. |
References SBC_mountRAM(), SBC_SBF_MOUNT_EE0, SBC_SBF_MOUNT_EE1, and TFFS_TASK_NAME.
Referenced by SBC_initialize().
static unsigned int SBC_mountRAM | ( | char * | name, | |
unsigned int | index, | |||
BOOT_Diagnostics * | diag | |||
) | [static] |
Mounts the RAM disk partition.
name | The RAM disk partition name. | |
index | SBC progress index MSG code. | |
diag | A pointer to the boot diagnostics area. |
References RAM_DISK_BLK_SIZE, RAM_DISK_NUM_DIR, RAM_DISK_PART_SIZE, SBC_error(), and SBC_MOUNT_FILE_COUNT.
Referenced by SBC_mount().