Import backup from 2004-05-21
This commit is contained in:
1 parent
38f009f2ca
commit
6b6e19effd
42 files changed
+251
-1669
No files matched your search
File renamed without changes.
@@ -128,7 +128,6 @@ FILE *vfat_open(char *fileName, dword attributes, Volume *vol);
|
||||
vfat_bpb *vfat_getBootSector(Volume *vol);
|
||||
int vfat_close(FILE *fp);
|
||||
byte *vfat_loadFAT(Volume *vol, vfat_bpb *bpb)
|
||||
vfat_getEntryInRoot(vol, bpb, fileName, 0);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
Volume *firstVolume = 0;
|
||||
Volume *rootVolume = 0;
|
||||
MountPoint *firstMountPoint = 0;
|
||||
|
||||
void vfs_init()
|
||||
{
|
||||
@@ -30,6 +30,13 @@ typedef struct
|
||||
Volume *vol; //what volume this file is on
|
||||
} FILE;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char *device;
|
||||
char *mount;
|
||||
void *mp;
|
||||
} MountPoint;
|
||||
|
||||
#define FILE_READ 1
|
||||
#define FILE_WRITE 2
|
||||
#define FILE_READ_WRITE 3
|
||||
|
||||
Reference in new issue
Block a user