RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
tfsDriver.c File Reference

MicroMonitor TFS Hookup to RTEMS FS. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/libio_.h>
#include <rtems/seterr.h>
#include <rtems/bspIo.h>
#include <rtems/umon.h>
#include <umon/tfs.h>
#include <umon/monlib.h>

Data Structures

struct  tfdinfo
 

Macros

#define RTEMS_TFS_DEBUG   0
 
#define MAXFILESIZE   0x4000
 
#define MAXTFDS   15
 
#define newlib_tfdlock()
 
#define newlib_tfdunlock()
 

Functions

int rtems_initialize_tfs_filesystem (const char *path)
 Initialize the TFS-RTEMS file system.
 

Variables

struct tfdinfo tfdtable [MAXTFDS]
 
char TFS_PATHNAME_PREFIX [128]
 

Detailed Description

MicroMonitor TFS Hookup to RTEMS FS.

Function Documentation

◆ rtems_initialize_tfs_filesystem()

int rtems_initialize_tfs_filesystem ( const char *  path)

Initialize the TFS-RTEMS file system.

This method initializes and mounts the TFS-RTEMS file system.

Parameters
[in]pathis the mount point
Returns
This method returns 0 on success.