Rev 630 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 630 | Rev 636 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
7 | - | ||
8 | ; all exported kernel functions and data |
7 | macro kernel_export [name]{ |
9 | - | ||
10 | if used RegService |
- | |
11 | extrn RegService |
- | |
12 | end if |
- | |
13 | if used GetService |
- | |
14 | extrn GetService |
- | |
15 | end if |
- | |
16 | if used ServiceHandler |
- | |
17 | extrn ServiceHandler |
- | |
18 | end if |
- | |
19 | if used AttachIntHandler |
- | |
20 | extrn AttachIntHandler |
- | |
21 | end if |
- | |
22 | if used FpuSave |
- | |
23 | extrn FpuSave |
- | |
24 | end if |
- | |
25 | if used FpuRestore |
- | |
26 | extrn FpuRestore |
- | |
27 | end if |
- | |
28 | - | ||
29 | if used PciApi |
- | |
30 | extrn PciApi |
- | |
31 | end if |
- | |
32 | if used PciRead32 |
- | |
33 | extrn PciRead32 |
- | |
34 | end if |
- | |
35 | if used PciRead16 |
- | |
36 | extrn PciRead16 |
- | |
37 | end if |
- | |
38 | if used PciRead8 |
- | |
39 | extrn PciRead8 |
- | |
40 | end if |
- | |
41 | if used PciWrite8 |
- | |
42 | extrn PciWrite8 |
- | |
43 | end if |
- | |
44 | if used PciWrite16 |
- | |
45 | extrn PciWrite16 |
- | |
46 | end if |
- | |
47 | - | ||
48 | if used AllocPage |
- | |
49 | extrn AllocPage |
- | |
50 | end if |
- | |
51 | if used AllocPages |
- | |
52 | extrn AllocPages |
- | |
53 | end if |
- | |
54 | if used FreePage |
- | |
55 | extrn FreePage |
- | |
56 | end if |
- | |
57 | if used MapPage |
- | |
58 | extrn MapPage |
- | |
59 | end if |
- | |
60 | if used MapSpace |
- | |
61 | extrn MapSpace |
- | |
62 | end if |
- | |
63 | if used GetPgAddr |
- | |
64 | extrn GetPgAddr |
- | |
65 | end if |
- | |
66 | if used CommitPages |
- | |
67 | extrn CommitPages |
- | |
68 | end if |
8 | forward |
69 | if used ReleasePages |
- | |
70 | extrn ReleasePages |
9 | ;display `name,#13,#10 |
71 | end if |
- | |
72 | - | ||
73 | if used AllocKernelSpace |
- | |
74 | extrn AllocKernelSpace |
- | |
75 | end if |
- | |
76 | if used FreeKernelSpace |
- | |
77 | extrn FreeKernelSpace |
- | |
78 | end if |
- | |
79 | if used KernelAlloc |
- | |
80 | extrn KernelAlloc |
- | |
81 | end if |
- | |
82 | if used KernelFree |
- | |
83 | extrn KernelFree |
- | |
84 | end if |
- | |
85 | if used UserAlloc |
- | |
86 | extrn UserAlloc |
- | |
87 | end if |
- | |
88 | if used UserFree |
- | |
89 | extrn UserFree |
- | |
90 | end if |
- | |
91 | if used Kmalloc |
- | |
92 | extrn Kmalloc |
- | |
93 | end if |
- | |
94 | if used Kfree |
10 | if used name |
95 | extrn Kfree |
11 | extrn name |
96 | end if |
- | |
97 | if used CreateRingBuffer |
- | |
98 | extrn CreateRingBuffer |
- | |
99 | end if |
- | |
100 | - | ||
101 | if used GetPid |
- | |
102 | extrn GetPid |
- | |
103 | end if |
- | |
104 | if used CreateObject |
- | |
105 | extrn CreateObject |
- | |
106 | end if |
- | |
107 | if used DestroyObject |
- | |
108 | extrn DestroyObject |
- | |
109 | end if |
- | |
110 | if used CreateEvent |
- | |
111 | extrn CreateEvent |
- | |
112 | end if |
- | |
113 | if used RaiseEvent |
- | |
114 | extrn RaiseEvent |
- | |
115 | end if |
- | |
116 | if used WaitEvent |
- | |
117 | extrn WaitEvent |
- | |
118 | end if |
- | |
119 | if used DestroyEvent |
- | |
120 | extrn DestroyEvent |
- | |
121 | end if |
- | |
122 | if used ClearEvent |
- | |
123 | extrn ClearEvent |
- | |
124 | end if |
- | |
125 | - | ||
126 | if used LoadCursor |
- | |
127 | extrn LoadCursor |
- | |
128 | end if |
- | |
129 | - | ||
130 | if used SelectHwCursor |
- | |
131 | extrn SelectHwCursor |
- | |
132 | end if |
- | |
133 | if used SetHwCursor |
- | |
134 | extrn SetHwCursor |
- | |
135 | end if |
- | |
136 | if used HwCursorRestore |
- | |
137 | extrn HwCursorRestore |
- | |
138 | end if |
- | |
139 | if used HwCursorCreate |
- | |
140 | extrn HwCursorCreate |
- | |
141 | end if |
- | |
142 | - | ||
143 | if used SysMsgBoardStr |
- | |
144 | extrn SysMsgBoardStr |
- | |
145 | end if |
- | |
146 | if used GetCurrentTask |
- | |
147 | extrn GetCurrentTask |
- | |
148 | end if |
- | |
149 | if used LoadFile |
- | |
150 | extrn LoadFile |
- | |
151 | end if |
- | |
152 | if used SendEvent |
- | |
153 | extrn SendEvent |
- | |
154 | end if |
- | |
155 | if used SetMouseData |
- | |
156 | extrn SetMouseData |
- | |
157 | end if |
- | |
158 | if used Sleep |
- | |
159 | extrn Sleep |
- | |
160 | end if |
- | |
161 | if used GetTimerTicks |
- | |
162 | extrn GetTimerTicks |
- | |
163 | end if |
- | |
164 | - | ||
165 | if used strncat |
- | |
166 | extrn strncat |
- | |
167 | end if |
- | |
168 | if used strncpy |
- | |
169 | extrn strncpy |
- | |
170 | end if |
- | |
171 | if used strncmp |
- | |
172 | extrn strncmp |
- | |
173 | end if |
- | |
174 | if used strnlen |
- | |
175 | extrn strnlen |
- | |
176 | end if |
- | |
177 | if used strchr |
- | |
178 | extrn strchr |
- | |
179 | end if |
- | |
180 | if used strrchr |
- | |
181 | extrn strrchr |
- | |
182 | end if |
12 | end if |
- | 13 | } |
|
- | 14 | ; all exported kernel functions and data |
|
Line 183... | Line -... | ||
183 | - | ||
184 | if used LFBAddress |
- | |
185 | extrn LFBAddress |
- | |
Line -... | Line 15... | ||
- | 15 | ||
- | 16 | ||
- | 17 | kernel_export \ |
|
- | 18 | RegService,\ |
|
- | 19 | GetService,\ |
|
- | 20 | ServiceHandler,\ |
|
- | 21 | AttachIntHandler,\ |
|
- | 22 | FpuSave,\ |
|
- | 23 | FpuRestore,\ |
|
- | 24 | \ |
|
- | 25 | PciApi,\ |
|
- | 26 | PciRead32,\ |
|
- | 27 | PciRead16,\ |
|
- | 28 | PciRead8,\ |
|
- | 29 | PciWrite8,\ |
|
- | 30 | PciWrite16,\ |
|
- | 31 | \ |
|
- | 32 | AllocPage,\ |
|
- | 33 | AllocPages,\ |
|
- | 34 | FreePage,\ |
|
- | 35 | MapPage,\ |
|
- | 36 | MapSpace,\ |
|
- | 37 | GetPgAddr,\ |
|
- | 38 | CommitPages,\ |
|
- | 39 | ReleasePages,\ |
|
- | 40 | \ |
|
- | 41 | AllocKernelSpace,\ |
|
- | 42 | FreeKernelSpace,\ |
|
- | 43 | KernelAlloc,\ |
|
- | 44 | KernelFree,\ |
|
- | 45 | UserAlloc,\ |
|
- | 46 | UserFree,\ |
|
- | 47 | Kmalloc,\ |
|
- | 48 | Kfree,\ |
|
- | 49 | CreateRingBuffer,\ |
|
- | 50 | \ |
|
- | 51 | GetPid,\ |
|
- | 52 | CreateObject,\ |
|
- | 53 | DestroyObject,\ |
|
- | 54 | CreateEvent,\ |
|
- | 55 | RaiseEvent,\ |
|
- | 56 | WaitEvent,\ |
|
- | 57 | DestroyEvent,\ |
|
- | 58 | ClearEvent,\ |
|
- | 59 | \ |
|
- | 60 | LoadCursor,\ |
|
- | 61 | SelectHwCursor,\ |
|
- | 62 | SetHwCursor,\ |
|
- | 63 | HwCursorRestore,\ |
|
- | 64 | HwCursorCreate,\ |
|
- | 65 | \ |
|
- | 66 | SysMsgBoardStr,\ |
|
- | 67 | GetCurrentTask,\ |
|
- | 68 | LoadFile,\ |
|
- | 69 | SendEvent,\ |
|
- | 70 | SetMouseData,\ |
|
- | 71 | Sleep,\ |
|
- | 72 | GetTimerTicks,\ |
|
- | 73 | \ |
|
- | 74 | strncat,\ |
|
- | 75 | strncpy,\ |
|
- | 76 | strncmp,\ |
|
- | 77 | strnlen,\ |
|
- | 78 | strchr,\ |
|
- | 79 | strrchr,\ |