FS_DEV_RAM_CFG

typedef struct fs_dev_ram_cfg {
    FS_SEC_SIZE  SecSize; 
    FS_SEC_QTY   Size; 
    void        *DiskPtr; 
  } FS_DEV_RAM_CFG;

File

Used for

fs_dev_ramdisk.h

Second argument of FSDev_Open() (when opening a RAM disk)

Configures the properties of a RAM disk that will be opened. A pointer to this structure is passed as the second argument of FSDev_Open() for a RAM disk.

Members

SecSize

The sector size of RAM disk, either 512, 1024, 2048 or 4096.

Size

The size of the RAM disk, in sectors.

DiskPtr

The pointer to the RAM disk.

Notes

None.