Subversion Repositories Kolibri OS

Rev

Rev 9432 | Rev 9567 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9432 Rev 9440
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: 9432 $
8
$Revision: 9440 $
9
 
9
 
Line 172... Line 172...
172
        jae     .fail
172
        jae     .fail
Line 173... Line 173...
173
 
173
 
Line 174... Line 174...
174
        mov     eax, [ecx+handle]
174
        mov     eax, [ecx+handle]
175
 
-
 
176
        cmp     eax, OS_BASE
175
 
177
        jae     @f
-
 
Line 178... Line 176...
178
        jmp     .fail
176
        cmp     eax, OS_BASE
179
@@:
177
        jbe     .fail
Line 180... Line 178...
180
 
178
 
Line 307... Line 305...
307
        mov     [ebx+SRV.fd], eax
305
        mov     [ebx+SRV.fd], eax
308
        mov     [edx+SRV.bk], eax
306
        mov     [edx+SRV.bk], eax
Line 309... Line 307...
309
 
307
 
310
        mov     ecx, [handler]
308
        mov     ecx, [handler]
-
 
309
        mov     [eax+SRV.srv_proc], ecx
311
        mov     [eax+SRV.srv_proc], ecx
310
        ;dec     [count_services]
312
        pop     ebx
311
        pop     ebx
313
        ret
312
        ret
314
.fail:
313
.fail:
315
        xor     eax, eax
314
        xor     eax, eax