Main Page | Modules | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

mount.c File Reference

#include "fat.h"

Defines

#define LOG_PRINTF(s)
#define ABORT_MOUNT(V, Res)   { free_volume(V); return Res; }

Functions

static DWORD first_root_dir_sector (tBpb *Bpb)
static DWORD root_dir_sectors (tBpb *Bpb)
static DWORD first_data_sector (tBpb *Bpb)
static DWORD data_clusters (tBpb *Bpb)
static tFatType determine_fat_type (tBpb *Bpb)
static int free_cluster_count (tVolume *V, DWORD *FreeClusters)
static void free_volume (tVolume *V)
int fat_unmount (tVolume *V)
static int check_bpb (BYTE *SecBuf, DWORD DskSz)
static int read_bpb (tVolume *V, tBpb *Bpb, tFatType *FatType)
int fat_mount (DWORD hDev, tVolume **NewV)
int fat_partcheck (BYTE PartSig)

Variables

struct {
   BYTE   Id
   char *   Name
PartitionTypes []

Define Documentation

#define ABORT_MOUNT V,
Res   )     { free_volume(V); return Res; }
 

#define LOG_PRINTF  ) 
 


Function Documentation

static int check_bpb BYTE SecBuf,
DWORD  DskSz
[static]
 

static DWORD data_clusters tBpb *  Bpb  )  [inline, static]
 

static tFatType determine_fat_type tBpb *  Bpb  )  [static]
 

int fat_mount DWORD  hDev,
tVolume **  NewV
 

int fat_partcheck BYTE  PartSig  ) 
 

int fat_unmount tVolume V  ) 
 

static DWORD first_data_sector tBpb *  Bpb  )  [inline, static]
 

static DWORD first_root_dir_sector tBpb *  Bpb  )  [inline, static]
 

static int free_cluster_count tVolume V,
DWORD FreeClusters
[static]
 

static void free_volume tVolume V  )  [static]
 

static int read_bpb tVolume V,
tBpb *  Bpb,
tFatType FatType
[static]
 

static DWORD root_dir_sectors tBpb *  Bpb  )  [inline, static]
 


Variable Documentation

BYTE Id
 

char* Name
 

const { ... } PartitionTypes[] [static]
 


Generated on Fri Feb 24 14:13:22 2006 for VDK Blacksheep by  doxygen 1.4.1