Subversion Repositories Kolibri OS

Rev

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

Rev 2465 Rev 2987
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2012. 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: 2465 $
8
$Revision: 2987 $
9
 
9
 
Line 435... Line 435...
435
 
435
 
436
        test    eax, eax
436
        test    eax, eax
Line 437... Line 437...
437
        jz      .cleanup
437
        jz      .cleanup
-
 
438
 
438
 
439
        mov     [file2], eax
-
 
440
 
-
 
441
        pushad
439
        mov     [file2], eax
442
        mov     ecx, unpack_mutex
-
 
443
        call    mutex_lock
440
        pushfd
444
        popad
-
 
445
 
-
 
446
        stdcall unpack, [file], eax
-
 
447
 
-
 
448
        pushad
441
        cli
449
        mov     ecx, unpack_mutex
-
 
450
        call    mutex_unlock
442
        stdcall unpack, [file], eax
451
        popad
443
        popfd
452
 
444
        stdcall kernel_free, [file]
453
        stdcall kernel_free, [file]
445
        mov     eax, [file2]
454
        mov     eax, [file2]
446
        mov     ebx, [file_size]
455
        mov     ebx, [file_size]
Line 468... Line 477...
468
        pop     edi
477
        pop     edi
469
        pop     esi
478
        pop     esi
470
        ret
479
        ret
471
endp
480
endp
Line -... Line 481...
-
 
481
 
-
 
482
uglobal
-
 
483
align 4
-
 
484
unpack_mutex MUTEX
-
 
485
endg
472
 
486
 
473
align 4
487
align 4
Line 474... Line 488...
474
proc get_proc_ex stdcall, proc_name:dword, imports:dword
488
proc get_proc_ex stdcall, proc_name:dword, imports:dword
475
 
489