Go to the documentation of this file. 1 #ifndef __FILE_SYSTEM_H_ 2 #define __FILE_SYSTEM_H_ 5 #define BYTE_PER_SECTOR (512) 6 #define SECTOR_PER_CLUSTER (1) 7 #define RESERVED_SECTOR (2) 8 #define NUMBER_OF_FAT (2) 9 #define ROOT_ENTRIES (512) 10 #define SECTOR_PER_FAT (4) 11 #define SECTOR_PER_TRACK (36) 12 #define NUMBER_OF_HEAD (2) 13 #define HIDDEN_SECTOR (1) 15 #define USER_PROGRAM_ADDRESS (0x6C00) 16 #define BPB_ADDRESS (0x7E0B) 17 #define FAT_TABLE_ADDRESS (0x8200) 18 #define ROOT_AREA_ADDRESS (0x8A00) 19 #define DATA_BLOCK_ADDRESS (0x9200) 20 #define KERNEL_ADDRESS 0xA200 22 #define _TO_STRING(X) #X 23 #define TO_STRING(X) _TO_STRING(X)