Subversion Repositories Kolibri OS

Rev

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

Rev 5984 Rev 6240
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. 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: 5984 $
8
$Revision: 6240 $
Line 9... Line 9...
9
 
9
 
Line 938... Line 938...
938
        mov     esi, ebx
938
        mov     esi, ebx
939
        mov     edi, edx
939
        mov     edi, edx
940
        mov     ecx, 11
940
        mov     ecx, 11
941
        rep movsb             ;copy process name
941
        rep movsb             ;copy process name
Line 942... Line -...
942
 
-
 
943
        mov     eax, [ebx+APPDATA.process]
-
 
944
        mov     [edx+APPDATA.process], eax
-
 
945
 
-
 
946
        lea     ebx, [edx+APPDATA.list]
-
 
947
        lea     ecx, [eax+PROC.thr_list]
-
 
Line 948... Line 942...
948
        list_add_tail ebx, ecx               ;add thread to process child's list
942
 
949
 
943
 
950
        mov     eax, [ebx+APPDATA.tls_base]
944
        mov     eax, [ebx+APPDATA.tls_base]
Line 957... Line 951...
957
        test    eax, eax
951
        test    eax, eax
958
        jz      .failed1;eax=0
952
        jz      .failed1;eax=0
959
@@:
953
@@:
960
        mov     [edx+APPDATA.tls_base], eax
954
        mov     [edx+APPDATA.tls_base], eax
Line -... Line 955...
-
 
955
 
-
 
956
        mov     eax, [ebx+APPDATA.process]
-
 
957
        mov     [edx+APPDATA.process], eax
-
 
958
 
-
 
959
        lea     ebx, [edx+APPDATA.list]
-
 
960
        lea     ecx, [eax+PROC.thr_list]
-
 
961
        list_add_tail ebx, ecx               ;add thread to process child's list
961
 
962
 
962
        lea     eax, [app_cmdline]
963
        lea     eax, [app_cmdline]
963
        stdcall set_app_params , [slot], eax, dword 0, \
964
        stdcall set_app_params , [slot], eax, dword 0, \
Line 964... Line 965...
964
                dword 0, [flags]
965
                dword 0, [flags]