Changeset 663 for soft/giet_vm/giet_fat32
- Timestamp:
- Jul 27, 2015, 5:56:15 PM (9 years ago)
- Location:
- soft/giet_vm/giet_fat32
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_fat32/fat32.h
r661 r663 9 9 #define _FAT32_H 10 10 11 #include "fat32_shared.h" 11 12 #include "giet_config.h" 12 13 #include "kernel_locks.h" … … 125 126 126 127 #define FAT_INITIALISED 0xBABEF00D 127 128 #ifndef _FAT32_SHARED129 #define _FAT32_SHARED130 typedef struct fat_file_info_s131 {132 unsigned int size;133 unsigned int offset;134 unsigned int is_dir;135 } fat_file_info_t;136 137 typedef struct fat_dirent_s138 {139 unsigned int cluster;140 unsigned int size;141 unsigned int is_dir;142 char name[36];143 } fat_dirent_t;144 145 #define SEEK_SET 0146 #define SEEK_CUR 1147 148 #define O_RDONLY 0x01149 #define O_TRUNC 0x10150 #define O_CREATE 0x20151 #endif // _FAT32_SHARED152 128 153 129 /********************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.