Debian Codegraph @

common/fs_fat.h

raw
1 /** @file
2 * @brief FAT filesystem.
3 *
4 * Based on http://www.win.tue.nl/~aeb/linux/fs/fat/fat-1.html
5 */
6
7 /*
8 * Copyright (c) 2014 Flávio J. Saraiva <[email protected]>
9 */
10
11 #ifndef FS_FAT_H__
12 #define FS_FAT_H__
13
14 #include "dynamips_common.h"
15
16 #define FS_FAT_SECTOR_SIZE 512
17
18 int fs_fat_format16(int fd, m_uint32_t begin_lba, m_uint32_t nr_sectors,
19 m_uint16_t sects_per_track, m_uint16_t heads,
20 const char *volume_name);
21
22 #endif