Subversion Repositories Kolibri OS

Rev

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

Rev 5130 Rev 5202
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: 5130 $
8
$Revision: 5202 $
Line 9... Line 9...
9
 
9
 
Line 470... Line 470...
470
        test    eax, eax
470
        test    eax, eax
471
        jz      .fail
471
        jz      .fail
472
        mov     [process], eax
472
        mov     [process], eax
Line 473... Line 473...
473
 
473
 
474
        lea     edi, [eax+PROC.heap_lock]
474
        lea     edi, [eax+PROC.heap_lock]
Line 475... Line 475...
475
        mov     ecx, (4096-PROC.heap_lock)/4
475
        mov     ecx, (PROC.ht_next-PROC.heap_lock)/4
476
 
476
 
477
        list_init eax
477
        list_init eax
Line 478... Line 478...
478
        add     eax, PROC.thr_list
478
        add     eax, PROC.thr_list
479
        list_init eax
479
        list_init eax
480
 
480
 
Line -... Line 481...
-
 
481
        xor     eax, eax
-
 
482
        cld
-
 
483
        rep stosd
-
 
484
 
-
 
485
        mov     ecx, (PROC.pdt_0 - PROC.htab)/4
-
 
486
@@:
-
 
487
        stosd
-
 
488
        inc     eax
481
        xor     eax, eax
489
        cmp     eax, ecx
482
        cld
490
        jbe     @B
483
        rep stosd
491
 
Line 484... Line 492...
484
 
492
        mov     [edi-4096+PROC.ht_next], 3      ;reserve handles for stdin stdout and stderr