Documented GVF_SAVE_VAR alongside other flags, and removed a query/doubt
[AROS.git] / rom / card / card_init.c
blob803fde1f3e1372b0a28ab9120325ba9b4ca3425a
1 /*
2 Copyright © 2011-2014, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: dummy file
6 Lang: English
7 */
9 #include "card_intern.h"
11 AROS_LH1(struct CardHandle*, OwnCard,
12 AROS_LHA(struct CardHandle*, handle, A1),
13 struct CardResource*, CardResource, 1, Card)
15 AROS_LIBFUNC_INIT
17 return NULL;
19 AROS_LIBFUNC_EXIT
22 AROS_LH2(void, ReleaseCard,
23 AROS_LHA(struct CardHandle*, handle, A1),
24 AROS_LHA(ULONG, flags, D0),
25 struct CardResource*, CardResource, 2, Card)
27 AROS_LIBFUNC_INIT
29 AROS_LIBFUNC_EXIT
32 AROS_LH0(struct CardMemoryMap*, GetCardMap,
33 struct CardResource*, CardResource, 3, Card)
35 AROS_LIBFUNC_INIT
37 return &CardResource->cmm;
39 AROS_LIBFUNC_EXIT
42 AROS_LH1(BOOL, BeginCardAccess,
43 AROS_LHA(struct CardHandle*, handle, A1),
44 struct CardResource*, CardResource, 4, Card)
46 AROS_LIBFUNC_INIT
48 return FALSE;
50 AROS_LIBFUNC_EXIT
53 AROS_LH1(BOOL, EndCardAccess,
54 AROS_LHA(struct CardHandle*, handle, A1),
55 struct CardResource*, CardResource, 5, Card)
57 AROS_LIBFUNC_INIT
59 return FALSE;
61 AROS_LIBFUNC_EXIT
64 AROS_LH0(UBYTE, ReadCardStatus,
65 struct CardResource*, CardResource, 6, Card)
67 AROS_LIBFUNC_INIT
69 return 0;
71 AROS_LIBFUNC_EXIT
74 AROS_LH2(BOOL, CardResetRemove,
75 AROS_LHA(struct CardHandle*, handle, A1),
76 AROS_LHA(ULONG, flag, D0),
77 struct CardResource*, CardResource, 7, Card)
79 AROS_LIBFUNC_INIT
81 return FALSE;
83 AROS_LIBFUNC_EXIT
86 AROS_LH2(UBYTE, CardMiscControl,
87 AROS_LHA(struct CardHandle*, handle, A1),
88 AROS_LHA(UBYTE, control_bits, D1),
89 struct CardResource*, CardResource, 8, Card)
91 AROS_LIBFUNC_INIT
93 return 0;
95 AROS_LIBFUNC_EXIT
98 AROS_LH2(ULONG, CardAccessSpeed,
99 AROS_LHA(struct CardHandle*, handle, A1),
100 AROS_LHA(ULONG, nanoseconds, D0),
101 struct CardResource*, CardResource, 9, Card)
103 AROS_LIBFUNC_INIT
105 return 0;
107 AROS_LIBFUNC_EXIT
110 AROS_LH2(LONG, CardProgramVoltage,
111 AROS_LHA(struct CardHandle*, handle, A1),
112 AROS_LHA(ULONG, voltage, D0),
113 struct CardResource*, CardResource, 10, Card)
115 AROS_LIBFUNC_INIT
117 return -1;
119 AROS_LIBFUNC_EXIT
122 AROS_LH1(BOOL, CardResetCard,
123 AROS_LHA(struct CardHandle*, handle, A1),
124 struct CardResource*, CardResource, 11, Card)
126 AROS_LIBFUNC_INIT
128 return FALSE;
130 AROS_LIBFUNC_EXIT
133 AROS_LH4(BOOL, CopyTuple,
134 AROS_LHA(struct CardHandle*, handle, A1),
135 AROS_LHA(UBYTE*, buffer, A0),
136 AROS_LHA(ULONG, tuplecode, D1),
137 AROS_LHA(ULONG, size, D0),
138 struct CardResource*, CardResource, 12, Card)
140 AROS_LIBFUNC_INIT
142 return FALSE;
144 AROS_LIBFUNC_EXIT
147 AROS_LH2(BOOL, DeviceTuple,
148 AROS_LHA(UBYTE*, tuple_data, A0),
149 AROS_LHA(struct DeviceTData*, storage, A1),
150 struct CardResource*, CardResource, 13, Card)
152 AROS_LIBFUNC_INIT
154 return FALSE;
156 AROS_LIBFUNC_EXIT
159 AROS_LH1(struct Resident*, IfAmigaXIP,
160 AROS_LHA(struct CardHandle*, handle, A2),
161 struct CardResource*, CardResource, 14, Card)
163 AROS_LIBFUNC_INIT
165 return NULL;
167 AROS_LIBFUNC_EXIT
170 AROS_LH0(ULONG, CardChangeCount,
171 struct CardResource*, CardResource, 16, Card)
173 AROS_LIBFUNC_INIT
175 return 0;
177 AROS_LIBFUNC_EXIT
180 AROS_LH0(BOOL, CardForceChange,
181 struct CardResource*, CardResource, 15, Card)
183 AROS_LIBFUNC_INIT
185 return FALSE;
187 AROS_LIBFUNC_EXIT
190 AROS_LH0(ULONG, CardInterface,
191 struct CardResource*, CardResource, 17, Card)
193 AROS_LIBFUNC_INIT
195 return -1;
197 AROS_LIBFUNC_EXIT