NetBurner 3.5.0
PDF Version
ramdrv_f.h
1
/*NB_REVISION*/
2
3
#ifndef _RAMDRV_F_H_
4
#define _RAMDRV_F_H_
5
6
/****************************************************************************
7
*
8
* Copyright (c) 2003 by HCC Embedded
9
*
10
* This software is copyrighted by and is the sole property of
11
* HCC. All rights, title, ownership, or other interests
12
* in the software remain the property of HCC. This
13
* software may only be used in accordance with the corresponding
14
* license agreement. Any unauthorized use, duplication, transmission,
15
* distribution, or disclosure of this software is expressly forbidden.
16
*
17
* This Copyright notice may not be removed or modified without prior
18
* written consent of HCC.
19
*
20
* HCC reserves the right to modify this software without notice.
21
*
22
* HCC Embedded
23
* Budapest 1132
24
* Victor Hugo Utca 11-15
25
* Hungary
26
*
27
* Tel: +36 (1) 450 1302
28
* Fax: +36 (1) 450 1303
29
* http: www.hcc-embedded.com
30
* email:
[email protected]
31
*
32
***************************************************************************/
33
34
#include <effs_fat/fat.h>
35
36
#ifdef __cplusplus
37
extern
"C"
38
{
39
#endif
40
41
extern
F_DRIVER *f_ramdrvinit(
unsigned
long
driver_param);
42
43
#define F_RAM_DRIVE0 0
44
#define F_RAM_DRIVE1 1
45
46
#define RAMDRV_CNT 2
// DO NOT CHANGE!
47
48
typedef
struct
49
{
50
char
*ramdrv;
51
unsigned
long
maxsector;
52
int
use;
53
F_DRIVER *driver;
54
} t_RamDrv;
55
56
extern
char
ramdrv0[];
57
extern
char
ramdrv1[];
58
extern
F_DRIVER t_drivers[];
59
extern
t_RamDrv RamDrv[];
60
61
enum
62
{
63
RAM_NO_ERROR,
64
RAM_ERR_SECTOR = 101,
65
RAM_ERR_NOTAVAILABLE
66
};
67
68
#ifdef __cplusplus
69
}
70
#endif
71
72
/******************************************************************************
73
*
74
* End of ramdrv.c
75
*
76
*****************************************************************************/
77
78
#endif
/* _RAMDRV_H_ */