Subversion Repositories Kolibri OS

Rev

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

Rev 1316 Rev 1345
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2009. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2009. 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: 1316 $
8
$Revision: 1345 $
9
 
9
 
Line 331... Line 331...
331
	   not eax
331
	   not eax
332
	   ret
332
	   ret
333
endp
333
endp
Line 334... Line 334...
334
 
334
 
335
; param
335
; param
336
;  ebx= io_control
336
;  ecx= io_control
337
;
337
;
338
; retval
338
; retval
Line 339... Line 339...
339
;  eax= error code
339
;  eax= error code
340
 
340
 
341
align 4
341
align 4
342
srv_handlerEx:
342
srv_handlerEx:
Line 343... Line 343...
343
	   cmp ebx, OS_BASE
343
	   cmp ecx, OS_BASE
344
	   jae .fail
344
	   jae .fail
345
 
345
 
Line 346... Line 346...
346
	   mov eax, [ebx+handle]
346
	   mov eax, [ecx+handle]
347
	   cmp [eax+SRV.magic], ' SRV'
347
	   cmp [eax+SRV.magic], ' SRV'
Line 348... Line 348...
348
	   jne .fail
348
	   jne .fail
349
 
349
 
350
       cmp [eax+SRV.size], SRV.sizeof
350
       cmp [eax+SRV.size], SRV.sizeof
351
	   jne .fail
351
	   jne .fail
352
 
352