vfs_xipfs_mount_s Struct Reference

xipfs descriptor for vfs integration More...

Detailed Description

xipfs descriptor for vfs integration

execution_mutex is taken by xipfs_extended_driver_execv and by deletion operations. mutex is taken by all operations except from xipfs_extended_driver_execv

This two mutexes scheme :

  • allows to call xipfs operation from within a code run by xipfs_extended_driver_execv,
  • prevents from deleting files or directories when operations are performed on them.

Definition at line 77 of file xipfs_fs.h.

#include <xipfs_fs.h>

Data Fields

vfs_mount_t vfs_mp
 VFS mount point

 
unsigned magic
 xipfs magic number

 
const char * mount_path
 mount point path

 
size_t page_num
 number of flash page

 
void * page_addr
 first flash page address
 
mutex_texecution_mutex
 For execution and deletion operations.
 
mutex_tmutex
 For regular and deletion operations.
 

The documentation for this struct was generated from the following file: