fatvar.h File Reference

#include <libc.h>
#include <libide.h>
#include <libpart.h>
#include <libtimer.h>

Go to the source code of this file.

Data Structures

struct  s_fat_direntry
struct  s_fat16
struct  s_fat32
struct  s_fat_common
struct  s_fat_lookup
struct  s_fat_sb
struct  s_fat_cache
struct  s_fat_fs
struct  s_fat
struct  s_fat_fd

Defines

#define __FATVAR_H__   1
#define DEBUG_FAT
#define FAT_SIGNATURE   0x29
#define FAT_NAMESZ_BASE   0x8
#define FAT_NAMESZ_EXT   0x3
#define FAT_NAMESZ   (FAT_NAMESZ_BASE + FAT_NAMESZ_EXT)
#define FAT_PARENT_DIR   ".."
#define FAT_PATH_SEPARATOR   "/"
#define FAT_FREE_CLUSTER   0x00000000
#define FAT_CACHESZ   64
#define FAT_ATTR_READ_ONLY   0x01
#define FAT_ATTR_HIDDEN   0x02
#define FAT_ATTR_SYSTEM   0x04
#define FAT_ATTR_VOLUME_ID   0x08
#define FAT_ATTR_DIRECTORY   0x10
#define FAT_ATTR_ARCHIVE   0x20
#define FAT_ATTR_LONG_NAME
#define FAT_EATTR_UW   0x01
#define FAT_EATTR_UX   0x02
#define FAT_EATTR_GW   0x04
#define FAT_EATTR_GX   0x08
#define FAT_EATTR_OW   0x10
#define FAT_EATTR_OX   0x20
#define FAT_TYPE_UNKNOWN   0x0
#define FAT_TYPE_FAT12   0x1
#define FAT_TYPE_FAT16   0x2
#define FAT_TYPE_FAT32   0x3
#define FAT_MEDIA_UNKNOWN   0x0
#define FAT_MEDIA_FIXED   0x1
#define FAT_MEDIA_REMOVABLE   0x2

Typedefs

typedef s_fat_direntry t_fat_direntry
typedef s_fat16 t_fat16
typedef s_fat32 t_fat32
typedef s_fat_common t_fat_common
typedef s_fat_lookup t_fat_lookup
typedef s_fat_sb t_fat_sb
typedef s_fat_cache t_fat_cache
typedef s_fat_fs t_fat_fs
typedef s_fat t_fat
typedef s_fat_fd t_fat_fd

Functions

void sys_fat (void)


Define Documentation

#define __FATVAR_H__   1
 

#define DEBUG_FAT
 

#define FAT_ATTR_ARCHIVE   0x20
 

#define FAT_ATTR_DIRECTORY   0x10
 

#define FAT_ATTR_HIDDEN   0x02
 

#define FAT_ATTR_LONG_NAME
 

Value:

#define FAT_ATTR_READ_ONLY   0x01
 

#define FAT_ATTR_SYSTEM   0x04
 

#define FAT_ATTR_VOLUME_ID   0x08
 

#define FAT_CACHESZ   64
 

#define FAT_EATTR_GW   0x04
 

#define FAT_EATTR_GX   0x08
 

#define FAT_EATTR_OW   0x10
 

#define FAT_EATTR_OX   0x20
 

#define FAT_EATTR_UW   0x01
 

#define FAT_EATTR_UX   0x02
 

#define FAT_FREE_CLUSTER   0x00000000
 

#define FAT_MEDIA_FIXED   0x1
 

#define FAT_MEDIA_REMOVABLE   0x2
 

#define FAT_MEDIA_UNKNOWN   0x0
 

#define FAT_NAMESZ   (FAT_NAMESZ_BASE + FAT_NAMESZ_EXT)
 

#define FAT_NAMESZ_BASE   0x8
 

#define FAT_NAMESZ_EXT   0x3
 

#define FAT_PARENT_DIR   ".."
 

#define FAT_PATH_SEPARATOR   "/"
 

#define FAT_SIGNATURE   0x29
 

#define FAT_TYPE_FAT12   0x1
 

#define FAT_TYPE_FAT16   0x2
 

#define FAT_TYPE_FAT32   0x3
 

#define FAT_TYPE_UNKNOWN   0x0
 


Typedef Documentation

typedef struct s_fat t_fat
 

typedef struct s_fat16 t_fat16
 

typedef struct s_fat32 t_fat32
 

typedef struct s_fat_cache t_fat_cache
 

typedef struct s_fat_common t_fat_common
 

typedef struct s_fat_direntry t_fat_direntry
 

typedef struct s_fat_fd t_fat_fd
 

typedef struct s_fat_fs t_fat_fs
 

typedef struct s_fat_lookup t_fat_lookup
 

typedef struct s_fat_sb t_fat_sb
 


Function Documentation

void sys_fat void   ) 
 


Generated on Wed May 24 23:06:02 2006 for LSE/OS by  doxygen 1.4.6