Rev 9441 | Rev 9692 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9441 | Rev 9442 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2020. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2020. 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 9441 $ |
8 | $Revision: 9442 $ |
9 | 9 | ||
Line 1278... | Line 1278... | ||
1278 | @@: |
1278 | @@: |
1279 | dec ecx |
1279 | dec ecx |
1280 | jnz .fail ; 2 - get info for SRV structure |
1280 | jnz .fail ; 2 - get info for SRV structure |
Line 1281... | Line 1281... | ||
1281 | 1281 | ||
1282 | mov eax, -1 |
1282 | mov eax, -1 |
1283 | cmp ecx, OS_BASE ; ecx = pointer on structure |
1283 | cmp edx, OS_BASE ; edx = pointer on structure |
1284 | jbe .fail |
1284 | jbe .fail |
1285 | stdcall is_region_userspace, edx, 40 ;16+4*6=40 <-max size buffer |
1285 | stdcall is_region_userspace, edi, 40 ;16+4*6=40 <-max size buffer |
1286 | jnz .fail ; edx = pointer on buffer |
1286 | jnz .fail ; edi = pointer on buffer |
1287 | cmp [ecx+SRV.magic], ' SRV' |
1287 | cmp [edx+SRV.magic], ' SRV' |
1288 | jne .fail |
1288 | jne .fail |
1289 | cmp [ecx+SRV.size], sizeof.SRV |
1289 | cmp [edx+SRV.size], sizeof.SRV |
Line 1290... | Line -... | ||
1290 | jne .fail |
- | |
1291 | 1290 | jne .fail |
|
1292 | mov edi, edx |
1291 | |
1293 | mov esi, ecx |
1292 | mov esi, edx |
1294 | movsd ; name service 16 byte |
1293 | movsd ; name service 16 byte |
1295 | movsd |
1294 | movsd |
1296 | movsd |
1295 | movsd |
1297 | movsd |
1296 | movsd |
1298 | lea esi, [ecx+SRV.fd] |
1297 | lea esi, [edx+SRV.fd] |
1299 | movsd ; SRV.fd |
1298 | movsd ; SRV.fd |
1300 | movsd ; SRV.bk |
1299 | movsd ; SRV.bk |
1301 | movsd ; SRV.base |
1300 | movsd ; SRV.base |