Subversion Repositories Kolibri OS

Rev

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

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