forked from dorimanx/exfat-nofuse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexfat_config.h
89 lines (75 loc) · 4.54 KB
/
exfat_config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/************************************************************************/
/* */
/* PROJECT : exFAT & FAT12/16/32 File System */
/* FILE : exfat_config.h */
/* PURPOSE : Header File for exFAT Configuable Policies */
/* */
/*----------------------------------------------------------------------*/
/* NOTES */
/* */
/*----------------------------------------------------------------------*/
/* REVISION HISTORY (Ver 0.9) */
/* */
/* - 2010.11.15 [Joosun Hahn] : first writing */
/* */
/************************************************************************/
#ifndef _EXFAT_CONFIG_H
#define _EXFAT_CONFIG_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/*======================================================================*/
/* */
/* FFS CONFIGURATIONS */
/* (CHANGE THIS PART IF REQUIRED) */
/* */
/*======================================================================*/
/*----------------------------------------------------------------------*/
/* Target OS Platform */
/*----------------------------------------------------------------------*/
#define OS_NONOS 1
#define OS_LINUX 2
#define FFS_CONFIG_OS OS_LINUX
/*----------------------------------------------------------------------*/
/* Set this definition to 1 if the target CPU is little-endian */
/*----------------------------------------------------------------------*/
#define FFS_CONFIG_LITTLE_ENDIAN 1
/*----------------------------------------------------------------------*/
/* Set this definition to 1 to support APIs with pointer parameters */
/* to 32-bit variables (e.g. read, write, seek, get_filesize) */
/*----------------------------------------------------------------------*/
#define FFS_CONFIG_LEGACY_32BIT_API 0
/*----------------------------------------------------------------------*/
/* Set this definition to 1 to support APIs with pointer parameters */
/* to 32-bit variables (e.g. read, write, seek, get_filesize) */
/*----------------------------------------------------------------------*/
#define FFS_CONFIG_LEGACY_32BIT_API 0
/*----------------------------------------------------------------------*/
/* Set appropriate definitions to 1's to support the languages */
/*----------------------------------------------------------------------*/
#define FFS_CONFIG_SUPPORT_CP1250 1 // Central Europe
#define FFS_CONFIG_SUPPORT_CP1251 1 // Cyrillic
#define FFS_CONFIG_SUPPORT_CP1252 1 // Latin I
#define FFS_CONFIG_SUPPORT_CP1253 1 // Greek
#define FFS_CONFIG_SUPPORT_CP1254 1 // Turkish
#define FFS_CONFIG_SUPPORT_CP1255 1 // Hebrew
#define FFS_CONFIG_SUPPORT_CP1256 1 // Arabic
#define FFS_CONFIG_SUPPORT_CP1257 1 // Baltic
#define FFS_CONFIG_SUPPORT_CP1258 1 // Vietnamese
#define FFS_CONFIG_SUPPORT_CP874 1 // Thai
#define FFS_CONFIG_SUPPORT_CP932 1 // Japanese
#define FFS_CONFIG_SUPPORT_CP936 1 // Simplified Chinese
#define FFS_CONFIG_SUPPORT_CP949 1 // Korean
#define FFS_CONFIG_SUPPORT_CP950 1 // Traditional Chinese
#define FFS_CONFIG_SUPPORT_UTF8 1 // UTF8 encoding
/*----------------------------------------------------------------------*/
/* Feature Config */
/*----------------------------------------------------------------------*/
#define EXFAT_CONFIG_DISCARD 1 // mount option -o discard support
#define EXFAT_CONFIG_KERNEL_DEBUG 1 // kernel debug features via ioctl
#define EXFAT_CONFIG_DEBUG_MSG 0 // debugging message on/off
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _EXFAT_CONFIG_H */
/* end of exfat_config.h */