nut/fs/phatio.c File Reference


Detailed Description

PHAT File System.

 *
 * $Log: phatio.c,v $
 * Revision 1.4  2006/07/11 12:20:19  haraldkipp
 * PHAT file system failed when accessed from multiple threads. A mutual
 * exclusion semaphore fixes this.
 *
 * Revision 1.3  2006/02/23 15:45:22  haraldkipp
 * PHAT file system now supports configurable number of sector buffers.
 * This dramatically increased write rates of no-name cards.
 * AVR compile errors corrected.
 *
 * Revision 1.2  2006/01/22 17:38:43  haraldkipp
 * *** empty log message ***
 *
 * Revision 1.1  2006/01/05 16:31:45  haraldkipp
 * First check-in.
 *
 *
 * 

#include <errno.h>
#include <fs/fs.h>
#include <fs/phatfs.h>
#include <fs/phatvol.h>
#include <dev/blockdev.h>
#include <fs/phatio.h>
#include <sys/event.h>

Functions

int PhatSectorFlush (NUTDEVICE *dev, int bufnum)
 Flush sector buffers.
int PhatSectorLoad (NUTDEVICE *dev, u_long sect)
int PhatSectorRead (NUTFILE *blkmnt, u_long sect, u_char *buf)
 Read sector.


Generated on Tue Jan 23 21:12:25 2007 for BTnut System Software by doxygen 1.4.7