fat.h File Reference

#include "routix/system.h"

Go to the source code of this file.

Classes

Defines

Typedefs

Functions


Define Documentation

#define BOOTSECTOR   0
 

Definition at line 14 of file fat.h.

Referenced by fat_12().

#define DIR_FAT_VIRTUAL   0xF8000000
 

Definition at line 136 of file fat.h.

Referenced by levantar_fat().

#define escribir_sector sec,
buf   )     leer_escribir(WRITE_SECTOR,sec,buf)
 

Definition at line 12 of file fat.h.

#define FAT_DELETED   0xE5
 

Definition at line 94 of file fat.h.

Referenced by fat_root_dir().

#define FAT_EMPTY   0
 

Definition at line 92 of file fat.h.

Referenced by fat_root_dir().

#define FAT_SUBDIR   0x2E
 

Definition at line 93 of file fat.h.

Referenced by fat_root_dir().

#define leer_sector sec,
buf   )     leer_escribir(READ_SECTOR,sec,buf)
 

Definition at line 11 of file fat.h.

#define MAX_PATH_LEN   29
 

Definition at line 74 of file fat.h.

Referenced by fat_file_find(), and fat_root_dir().

#define SECTOR_SIZE   512
 

Definition at line 96 of file fat.h.

Referenced by fat_12(), fat_file_find(), fat_root_dir(), lseek(), open_FAT12(), and read().


Typedef Documentation

typedef struct boot_sector_t boot_sector_t
 

typedef struct dev_fat_t dev_fat_t
 

typedef struct fat12_entry_ext_t fat12_entry_ext_t
 

typedef struct fat12_entry_t fat12_entry_t
 

typedef struct fat_t fat_t
 


Function Documentation

void fat_adapta_name byte nombre_fat,
byte adaptado
 

Definition at line 156 of file fat12.c.

Referenced by fat_file_find(), and fat_root_dir().

fat12_entry_t* fat_file_find char *  nombre,
fat12_entry_t datos_archivo
 

Definition at line 246 of file fat12.c.

Referenced by fat_test(), and open_FAT12().

int fat_next_sector dword  sector_inicial  ) 
 

Definition at line 180 of file fat12.c.

Referenced by fat_file_find(), fat_test(), and lseek().

void* floppy_cache dword  sector  ) 
 

Referenced by sys_show().

int init_floppy_fs void   ) 
 

Definition at line 142 of file fat12.c.

Referenced by fat_root_dir(), fat_test(), and open_FAT12().

int open_FAT12 char *  nombre,
int  fd
 

Definition at line 88 of file file.c.

Referenced by open().


Generated on Sun May 30 18:38:36 2004 for Routix OS by doxygen 1.3.6