* * $Log: phatvol.h,v $ * Revision 1.4 2006/10/08 16:42:56 haraldkipp * Not optimal, but simple and reliable exclusive access implemented. * Fixes bug #1486539. Furthermore, bug #1567790, which had been rejected, * had been reported correctly and is now fixed. * * Revision 1.3 2006/07/11 12:20:19 haraldkipp * PHAT file system failed when accessed from multiple threads. A mutual * exclusion semaphore fixes this. * * Revision 1.2 2006/02/23 15:47:18 haraldkipp * PHAT file system now supports configurable number of sector buffers. * * Revision 1.1 2006/01/05 16:33:10 haraldkipp * First check-in. * * *
#include <cfg/fs.h>
#include <sys/types.h>
#include <sys/file.h>
#include <sys/device.h>
Data Structures | |
struct | _PHATSECTBUF |
Sector buffer structure. More... | |
struct | _PHATVOL |
Volume info structure. More... | |
Typedefs | |
typedef _PHATSECTBUF | PHATSECTBUF |
Sector buffer structure. | |
typedef _PHATVOL | PHATVOL |
Volume info structure. | |
Functions | |
struct | __attribute__ ((packed)) _PHATVBR |
Operating system configuration type. | |
u_long | PhatClusterSector (NUTFILE *nfp, u_long clust) |
__BEGIN_DECLS int | PhatVolMount (NUTDEVICE *dev, NUTFILE *blkmnt, u_char part_type) |
Mount a PHAT volume. | |
int | PhatVolUnmount (NUTDEVICE *dev) |
Unmount a PHAT volume. | |
Variables | |
PHATVBR |