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,
  • xipfs_extended_driver_safe_execv,
  • deletion operations.

mutex is taken by all operations except from:

  • xipfs_extended_driver_execv
  • xipfs_extended_driver_safe_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 126 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 132 of file xipfs_fs.h.

◆ magic

unsigned vfs_xipfs_mount_s::magic

xipfs magic number

Definition at line 128 of file xipfs_fs.h.

◆ mount_path

const char* vfs_xipfs_mount_s::mount_path

mount point path

Definition at line 129 of file xipfs_fs.h.

◆ mutex

mutex_t* vfs_xipfs_mount_s::mutex

For regular and deletion operations.

Definition at line 133 of file xipfs_fs.h.

◆ page_addr

void* vfs_xipfs_mount_s::page_addr

first flash page address

Definition at line 131 of file xipfs_fs.h.

◆ page_num

size_t vfs_xipfs_mount_s::page_num

number of flash page

Definition at line 130 of file xipfs_fs.h.

◆ vfs_mp

vfs_mount_t vfs_xipfs_mount_s::vfs_mp

VFS mount point.

Definition at line 127 of file xipfs_fs.h.


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