Subversion Repositories Kolibri OS

Rev

Rev 8622 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8622 Rev 8623
Line 8... Line 8...
8
#include 
8
#include 
Line 9... Line 9...
9
 
9
 
10
#define asm_inline __asm__ __volatile__
10
#define asm_inline __asm__ __volatile__
Line -... Line 11...
-
 
11
#define not_optimized __attribute__((optimize("O0")))
-
 
12
 
-
 
13
#define _KOS_FS_ERR_SUCCESS 0  // Success
-
 
14
#define _KOS_FS_ERR_1       1  // Base and/or partition of a hard disk is not defined (fn21.7 & fn21.8)
-
 
15
#define _KOS_FS_ERR_2       2  // Function is not supported for the given file system
-
 
16
#define _KOS_FS_ERR_3       3  // Unknown file system
-
 
17
#define _KOS_FS_ERR_4       4  // Reserved, is never returned in the current implementation
-
 
18
#define _KOS_FS_ERR_5       5  // File not found
-
 
19
#define _KOS_FS_ERR_EOF     6  // End of file, EOF
-
 
20
#define _KOS_FS_ERR_7       7  // Pointer lies outside of application memory
-
 
21
#define _KOS_FS_ERR_8       8  // Disk is full
-
 
22
#define _KOS_FS_ERR_9       9  // FAT table is destroyed
-
 
23
#define _KOS_FS_ERR_10      10 // Access denied
11
#define not_optimized __attribute__((optimize("O0")))
24
#define _KOS_FS_ERR_11      11 // Device error
12
 
25
 
13
typedef struct {
26
typedef struct {
14
    unsigned char blue;
27
    unsigned char blue;
15
    unsigned char green;
28
    unsigned char green;