Subversion Repositories Kolibri OS

Rev

Rev 2007 | Rev 2966 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2007 Rev 2169
1
.file   "export.s"
1
.file   "export.s"
2
    .intel_syntax
2
    .intel_syntax
3
 
3
 
4
    .text
4
    .text
5
 
5
 
6
    .global _AllocPage
6
    .global _AllocPage
7
    .global _AllocPages
7
    .global _AllocPages
8
 
8
 
9
    .global _AttachIntHandler
9
    .global _AttachIntHandler
10
 
10
 
11
    .global _CreateEvent
11
    .global _CreateEvent
12
 
12
    .global _CreateObject
13
    .global _CreateRingBuffer
-
 
-
 
13
    .global _CreateRingBuffer
14
    .global _Delay
14
 
-
 
15
    .global _Delay
15
    .global _DestroyObject
16
    .global _DestroyObject
16
 
17
 
17
    .global _FreeKernelSpace
18
    .global _FreeKernelSpace
18
 
19
 
19
    .global _GetDisplay
20
    .global _GetDisplay
20
    .global _GetEvent
21
    .global _GetEvent
21
    .global _GetPgAddr
22
    .global _GetPgAddr
22
    .global _GetService
23
    .global _GetPid
-
 
24
    .global _GetService
23
    .global _GetTimerTicks
25
    .global _GetTimerTicks
24
    .global _GetStackBase
26
    .global _GetStackBase
25
 
27
 
26
    .global _KernelAlloc
28
    .global _KernelAlloc
27
    .global _KernelFree
29
    .global _KernelFree
28
 
30
 
29
    .global _MapIoMem
31
    .global _MapIoMem
30
 
32
 
31
    .global _MutexInit
33
    .global _MutexInit
32
    .global _MutexLock
34
    .global _MutexLock
33
    .global _MutexUnlock
35
    .global _MutexUnlock
34
 
36
 
35
    .global _PciApi
37
    .global _PciApi
36
    .global _PciRead16
38
    .global _PciRead16
37
    .global _PciRead32
39
    .global _PciRead32
38
    .global _PciRead8
40
    .global _PciRead8
39
    .global _PciWrite16
41
    .global _PciWrite16
40
    .global _PciWrite32
42
    .global _PciWrite32
41
    .global _PciWrite8
43
    .global _PciWrite8
42
 
44
 
43
    .global _RaiseEvent
45
    .global _RaiseEvent
44
 
46
 
45
    .global _RegService
47
    .global _RegService
46
 
48
 
47
    .global _SetMouseData
49
    .global _SetMouseData
48
    .global _SetKeyboardData
50
    .global _SetKeyboardData
49
 
51
 
50
    .global _SetScreen
52
    .global _SetScreen
51
    .global _SysMsgBoardStr
53
    .global _SysMsgBoardStr
52
 
54
 
53
    .global _UserAlloc
55
    .global _UserAlloc
54
 
56
 
55
    .global _WaitEvent
57
    .global _WaitEvent
56
 
58
 
57
 
59
 
58
    .def  _AllocPage;         .scl  2;  .type 32; .endef
60
    .def  _AllocPage;         .scl  2;  .type 32; .endef
59
    .def  _AllocPages;        .scl  2;  .type 32; .endef
61
    .def  _AllocPages;        .scl  2;  .type 32; .endef
60
 
62
 
61
    .def  _AttachIntHandler;  .scl  2;  .type 32; .endef
63
    .def  _AttachIntHandler;  .scl  2;  .type 32; .endef
62
 
64
 
63
    .def  _CreateEvent;       .scl  2;  .type 32; .endef
65
    .def  _CreateEvent;       .scl  2;  .type 32; .endef
64
 
66
    .def  _CreateObject;      .scl  2;  .type 32; .endef
65
    .def  _CreateRingBuffer;  .scl  2;  .type 32; .endef
-
 
-
 
67
    .def  _CreateRingBuffer;  .scl  2;  .type 32; .endef
66
 
68
 
67
    .def  _Delay;             .scl  2;  .type 32; .endef
69
    .def  _Delay;             .scl  2;  .type 32; .endef
68
    .def  _DestroyObject;     .scl  2;  .type 32; .endef
70
    .def  _DestroyObject;     .scl  2;  .type 32; .endef
69
 
71
 
70
    .def  _FreeKernelSpace;   .scl  2;  .type 32; .endef
72
    .def  _FreeKernelSpace;   .scl  2;  .type 32; .endef
71
 
73
 
72
    .def  _GetDisplay;        .scl  2;  .type 32; .endef
74
    .def  _GetDisplay;        .scl  2;  .type 32; .endef
73
    .def  _GetEvent;          .scl  2;  .type 32; .endef
75
    .def  _GetEvent;          .scl  2;  .type 32; .endef
74
    .def  _GetPgAddr;         .scl  2;  .type 32; .endef
76
    .def  _GetPid;            .scl  2;  .type 32; .endef
-
 
77
    .def  _GetPgAddr;         .scl  2;  .type 32; .endef
75
    .def  _GetService;        .scl  2;  .type 32; .endef
78
    .def  _GetService;        .scl  2;  .type 32; .endef
76
    .def  _GetTimerTicks;     .scl  2;  .type 32; .endef
79
    .def  _GetTimerTicks;     .scl  2;  .type 32; .endef
77
    .def  _GetStackBase;      .scl  2;  .type 32; .endef
80
    .def  _GetStackBase;      .scl  2;  .type 32; .endef
78
 
81
 
79
    .def  _KernelAlloc;       .scl  2;  .type 32; .endef
82
    .def  _KernelAlloc;       .scl  2;  .type 32; .endef
80
    .def  _KernelFree;        .scl  2;  .type 32; .endef
83
    .def  _KernelFree;        .scl  2;  .type 32; .endef
81
 
84
 
82
    .def  _MapIoMem;          .scl  2;  .type 32; .endef
85
    .def  _MapIoMem;          .scl  2;  .type 32; .endef
83
 
86
 
84
    .def  _MutexInit;         .scl  2;  .type 32; .endef
87
    .def  _MutexInit;         .scl  2;  .type 32; .endef
85
    .def  _MutexLock;         .scl  2;  .type 32; .endef
88
    .def  _MutexLock;         .scl  2;  .type 32; .endef
86
    .def  _MutexUnlock;       .scl  2;  .type 32; .endef
89
    .def  _MutexUnlock;       .scl  2;  .type 32; .endef
87
 
90
 
88
    .def  _PciApi;            .scl  2;  .type 32; .endef
91
    .def  _PciApi;            .scl  2;  .type 32; .endef
89
    .def  _PciRead16;         .scl  2;  .type 32; .endef
92
    .def  _PciRead16;         .scl  2;  .type 32; .endef
90
    .def  _PciRead32;         .scl  2;  .type 32; .endef
93
    .def  _PciRead32;         .scl  2;  .type 32; .endef
91
    .def  _PciRead8;          .scl  2;  .type 32; .endef
94
    .def  _PciRead8;          .scl  2;  .type 32; .endef
92
    .def  _PciWrite16;        .scl  2;  .type 32; .endef
95
    .def  _PciWrite16;        .scl  2;  .type 32; .endef
93
    .def  _PciWrite32;        .scl  2;  .type 32; .endef
96
    .def  _PciWrite32;        .scl  2;  .type 32; .endef
94
    .def  _PciWrite8;         .scl  2;  .type 32; .endef
97
    .def  _PciWrite8;         .scl  2;  .type 32; .endef
95
 
98
 
96
    .def  _RaiseEvent;        .scl  2;  .type 32; .endef
99
    .def  _RaiseEvent;        .scl  2;  .type 32; .endef
97
 
100
 
98
    .def  _RegService;        .scl  2;  .type 32; .endef
101
    .def  _RegService;        .scl  2;  .type 32; .endef
99
 
102
 
100
    .def  _SetScreen;         .scl  2;  .type 32; .endef
103
    .def  _SetScreen;         .scl  2;  .type 32; .endef
101
    .def  _SetMouseData;      .scl  2;  .type 32; .endef
104
    .def  _SetMouseData;      .scl  2;  .type 32; .endef
102
    .def  _SetKeyboardData;   .scl  2;  .type 32; .endef
105
    .def  _SetKeyboardData;   .scl  2;  .type 32; .endef
103
    .def  _SysMsgBoardStr;    .scl  2;  .type 32; .endef
106
    .def  _SysMsgBoardStr;    .scl  2;  .type 32; .endef
104
 
107
 
105
    .def  _UserAlloc;         .scl  2;  .type 32; .endef
108
    .def  _UserAlloc;         .scl  2;  .type 32; .endef
106
 
109
 
107
    .def  _WaitEvent;         .scl  2;  .type 32; .endef
110
    .def  _WaitEvent;         .scl  2;  .type 32; .endef
108
 
111
 
109
 
112
 
110
 
113
 
111
_AllocPage:
114
_AllocPage:
112
_AllocPages:
115
_AllocPages:
113
 
116
 
114
_AttachIntHandler:
117
_AttachIntHandler:
115
 
118
 
116
_CreateEvent:
119
_CreateEvent:
117
 
120
_CreateObject:
118
_CreateRingBuffer:
121
_CreateRingBuffer:
119
 
122
 
120
_Delay:
123
_Delay:
121
 
124
 
122
_DestroyObject:
125
_DestroyObject:
123
 
126
 
124
_FreeKernelSpace:
127
_FreeKernelSpace:
125
 
128
 
126
_GetDisplay:
129
_GetDisplay:
127
_GetEvent:
130
_GetEvent:
128
_GetPgAddr:
131
_GetPid:
-
 
132
_GetPgAddr:
129
_GetService:
133
_GetService:
130
_GetTimerTicks:
134
_GetTimerTicks:
131
_GetStackBase:
135
_GetStackBase:
132
 
136
 
133
_KernelAlloc:
137
_KernelAlloc:
134
_KernelFree:
138
_KernelFree:
135
 
139
 
136
_MapIoMem:
140
_MapIoMem:
137
 
141
 
138
_MutexInit:
142
_MutexInit:
139
_MutexLock:
143
_MutexLock:
140
_MutexUnlock:
144
_MutexUnlock:
141
 
145
 
142
_PciApi:
146
_PciApi:
143
_PciRead16:
147
_PciRead16:
144
_PciRead32:
148
_PciRead32:
145
_PciRead8:
149
_PciRead8:
146
_PciWrite16:
150
_PciWrite16:
147
_PciWrite32:
151
_PciWrite32:
148
_PciWrite8:
152
_PciWrite8:
149
 
153
 
150
_RaiseEvent:
154
_RaiseEvent:
151
_RegService:
155
_RegService:
152
 
156
 
153
_SetMouseData:
157
_SetMouseData:
154
_SetKeyboardData:
158
_SetKeyboardData:
155
 
159
 
156
_SetScreen:
160
_SetScreen:
157
_SysMsgBoardStr:
161
_SysMsgBoardStr:
158
 
162
 
159
_UserAlloc:
163
_UserAlloc:
160
_WaitEvent:
164
_WaitEvent:
161
 
165
 
162
        ret
166
        ret
163
 
167
 
164
    .section .drectve
168
    .section .drectve
165
 
169
 
166
        .ascii " -export:AllocPage"            # gcc ABI
170
        .ascii " -export:AllocPage"            # gcc ABI
167
        .ascii " -export:AllocPages"           # gcc ABI
171
        .ascii " -export:AllocPages"           # gcc ABI
168
 
172
 
169
        .ascii " -export:AttachIntHandler"     # stdcall
173
        .ascii " -export:AttachIntHandler"     # stdcall
170
 
174
 
171
        .ascii " -export:CreateEvent"          #
175
        .ascii " -export:CreateEvent"          #
172
 
176
        .ascii " -export:CreateObject"         #
-
 
177
 
173
        .ascii " -export:CreateRingBuffer"     # stdcall
178
        .ascii " -export:CreateRingBuffer"     # stdcall
174
 
179
 
175
        .ascii " -export:Delay"                # stdcall
180
        .ascii " -export:Delay"                # stdcall
176
 
181
 
177
        .ascii " -export:DestroyObject"
182
        .ascii " -export:DestroyObject"
178
 
183
 
179
        .ascii " -export:FreeKernelSpace"      # stdcall
184
        .ascii " -export:FreeKernelSpace"      # stdcall
180
 
185
 
181
        .ascii " -export:GetDisplay"           # stdcall
186
        .ascii " -export:GetDisplay"           # stdcall
182
        .ascii " -export:GetEvent"             #
187
        .ascii " -export:GetEvent"             #
183
        .ascii " -export:GetPgAddr"            # stdcall
188
        .ascii " -export:GetPid"               #
-
 
189
        .ascii " -export:GetPgAddr"            # stdcall
184
        .ascii " -export:GetService"           # stdcall
190
        .ascii " -export:GetService"           # stdcall
185
        .ascii " -export:GetTimerTicks"        #
191
        .ascii " -export:GetTimerTicks"        #
186
        .ascii " -export:GetStackBase"         #
192
        .ascii " -export:GetStackBase"         #
187
 
193
 
188
 
194
 
189
        .ascii " -export:KernelAlloc"          # stdcall
195
        .ascii " -export:KernelAlloc"          # stdcall
190
        .ascii " -export:KernelFree"           # stdcall
196
        .ascii " -export:KernelFree"           # stdcall
191
 
197
 
192
        .ascii " -export:MapIoMem"             # stdcall
198
        .ascii " -export:MapIoMem"             # stdcall
193
 
199
 
194
        .ascii " -export:MutexInit"            # fastcall
200
        .ascii " -export:MutexInit"            # fastcall
195
        .ascii " -export:MutexLock"            # fastcall
201
        .ascii " -export:MutexLock"            # fastcall
196
        .ascii " -export:MutexUnlock"          # fastcall
202
        .ascii " -export:MutexUnlock"          # fastcall
197
 
203
 
198
        .ascii " -export:PciApi"               #
204
        .ascii " -export:PciApi"               #
199
        .ascii " -export:PciRead16"            # stdcall
205
        .ascii " -export:PciRead16"            # stdcall
200
        .ascii " -export:PciRead32"            # stdcall
206
        .ascii " -export:PciRead32"            # stdcall
201
        .ascii " -export:PciRead8"             # stdcall
207
        .ascii " -export:PciRead8"             # stdcall
202
        .ascii " -export:PciWrite16"           # stdcall
208
        .ascii " -export:PciWrite16"           # stdcall
203
        .ascii " -export:PciWrite32"           # stdcall
209
        .ascii " -export:PciWrite32"           # stdcall
204
        .ascii " -export:PciWrite8"            # stdcall
210
        .ascii " -export:PciWrite8"            # stdcall
205
 
211
 
206
        .ascii " -export:RaiseEvent"           #
212
        .ascii " -export:RaiseEvent"           #
207
 
213
 
208
        .ascii " -export:RegService"           # stdcall
214
        .ascii " -export:RegService"           # stdcall
209
 
215
 
210
        .ascii " -export:SetMouseData"         # stdcall
216
        .ascii " -export:SetMouseData"         # stdcall
211
        .ascii " -export:SetKeyboardData"      # stdcall
217
        .ascii " -export:SetKeyboardData"      # stdcall
212
 
218
 
213
        .ascii " -export:SetScreen"            # stdcall
219
        .ascii " -export:SetScreen"            # stdcall
214
        .ascii " -export:SysMsgBoardStr"       # stdcall
220
        .ascii " -export:SysMsgBoardStr"       # stdcall
215
 
221
 
216
        .ascii " -export:UserAlloc"            # stdcall
222
        .ascii " -export:UserAlloc"            # stdcall
217
 
223
 
218
        .ascii " -export:WaitEvent"            # stdcall
224
        .ascii " -export:WaitEvent"            # stdcall