Subversion Repositories Kolibri OS

Rev

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

Rev 2385 Rev 2540
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2009. 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: 2385 $
8
$Revision $
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
 
Line 800... Line 814...
800
        jnz     @f
814
        jnz     @f
801
        cmp     dword [file_name+17], 'D.ob'
815
        cmp     dword [file_name+17], 'D.ob'
802
        jnz     @f
816
        jnz     @f
803
        cmp     word [file_name+21], 'j'
817
        cmp     word [file_name+21], 'j'
804
        jnz     @f
818
        jnz     @f
805
        mov     esi, aSis
819
        mov     esi, aHDA
806
        jmp     .redo
820
        jmp     .redo
807
@@:
821
@@:
808
        xor     eax, eax
822
        xor     eax, eax
809
        ret
823
        ret
810
.ok:
824
.ok: