Loading...
Searching...
No Matches
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.
 

Field Documentation

◆ execution_mutex

mutex_t* vfs_xipfs_mount_s::execution_mutex

For execution and deletion operations.

Definition at line 83 of file xipfs_fs.h.

◆ magic

unsigned vfs_xipfs_mount_s::magic

xipfs magic number

Definition at line 79 of file xipfs_fs.h.

◆ mount_path

const char* vfs_xipfs_mount_s::mount_path

mount point path

Definition at line 80 of file xipfs_fs.h.

◆ mutex

mutex_t* vfs_xipfs_mount_s::mutex

For regular and deletion operations.

Definition at line 84 of file xipfs_fs.h.

◆ page_addr

void* vfs_xipfs_mount_s::page_addr

first flash page address

Definition at line 82 of file xipfs_fs.h.

◆ page_num

size_t vfs_xipfs_mount_s::page_num

number of flash page

Definition at line 81 of file xipfs_fs.h.

◆ vfs_mp

vfs_mount_t vfs_xipfs_mount_s::vfs_mp

VFS mount point.

Definition at line 78 of file xipfs_fs.h.


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