2 * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 /************************************************************************/
21 /* PROJECT : exFAT & FAT12/16/32 File System */
22 /* FILE : exfat_data.c */
23 /* PURPOSE : exFAT Configuable Data Definitions */
25 /*----------------------------------------------------------------------*/
28 /*----------------------------------------------------------------------*/
29 /* REVISION HISTORY (Ver 0.9) */
31 /* - 2010.11.15 [Joosun Hahn] : first writing */
33 /************************************************************************/
35 #include "exfat_config.h"
36 #include "exfat_global.h"
37 #include "exfat_data.h"
38 #include "exfat_oal.h"
40 #include "exfat_blkdev.h"
41 #include "exfat_cache.h"
42 #include "exfat_nls.h"
43 #include "exfat_super.h"
46 /*======================================================================*/
48 /* GLOBAL VARIABLE DEFINITIONS */
50 /*======================================================================*/
52 /*----------------------------------------------------------------------*/
54 /*----------------------------------------------------------------------*/
56 /* file system volume table */
57 FS_STRUCT_T fs_struct
[MAX_DRIVE
];
60 /*----------------------------------------------------------------------*/
62 /*----------------------------------------------------------------------*/
66 BUF_CACHE_T FAT_cache_array
[FAT_CACHE_SIZE
];
67 BUF_CACHE_T FAT_cache_lru_list
;
68 BUF_CACHE_T FAT_cache_hash_list
[FAT_CACHE_HASH_SIZE
];
72 BUF_CACHE_T buf_cache_array
[BUF_CACHE_SIZE
];
73 BUF_CACHE_T buf_cache_lru_list
;
74 BUF_CACHE_T buf_cache_hash_list
[BUF_CACHE_HASH_SIZE
];
77 /* end of exfat_data.c */