Subversion Repositories Kolibri OS

Rev

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

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