OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [libfs/] [src/] [dosfs/] [fat_fat_operations.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
2
 *  fat_fat_operations.h
3
 *
4
 *  Constants/data structures/prototypes for operations on Files Allocation
5
 *  Table
6
 *
7
 *  Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
8
 *  Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru>
9
 *
10
 *  The license and distribution terms for this file may be
11
 *  found in the file LICENSE in this distribution or at
12
 *  http://www.OARcorp.com/rtems/license.html.
13
 *
14
 *  @(#) fat_fat_operations.h,v 1.1 2002/02/28 20:43:50 joel Exp
15
 */
16
#ifndef __DOSFS_FAT_FAT_OPERATIONS_H__
17
#define __DOSFS_FAT_FAT_OPERATIONS_H__
18
 
19
#ifdef __cplusplus
20
extern "C" {
21
#endif
22
 
23
#include <rtems.h>
24
#include <rtems/libio_.h>
25
 
26
#include <rtems/bdbuf.h>
27
#include "fat.h"
28
 
29
int
30
fat_get_fat_cluster(rtems_filesystem_mount_table_entry_t *mt_entry,
31
                    unsigned32                            cln,
32
                    unsigned32                           *ret_val);
33
 
34
int
35
fat_set_fat_cluster(rtems_filesystem_mount_table_entry_t *mt_entry,
36
                    unsigned32                            cln,
37
                    unsigned32                            in_val);
38
 
39
int
40
fat_scan_fat_for_free_clusters(
41
    rtems_filesystem_mount_table_entry_t *mt_entry,
42
    unsigned32                           *chain,
43
    unsigned32                            count,
44
    unsigned32                           *cls_added,
45
    unsigned32                           *last_cl
46
);
47
 
48
int
49
fat_free_fat_clusters_chain(
50
    rtems_filesystem_mount_table_entry_t *mt_entry,
51
    unsigned32                            chain
52
);
53
 
54
#ifdef __cplusplus
55
}
56
#endif
57
 
58
#endif /* __DOSFS_FAT_FAT_OPERATIONS_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.