Subversion Repositories Kolibri OS

Rev

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

Rev 8284 Rev 8869
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2018. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2018. 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: 8284 $
8
$Revision: 8869 $
9
 
9
 
10
 
10
 
Line 420... Line 420...
420
@@:
420
@@:
421
        push    ebx
421
        push    ebx
422
        push    esi
422
        push    esi
423
        push    edi
423
        push    edi
Line 424... Line 424...
424
 
424
 
425
        mov     eax, [CURRENT_TASK]
425
        mov     eax, [current_slot_idx]
426
        shl     eax, 5
426
        shl     eax, 5
427
        mov     eax, [CURRENT_TASK+eax+4]
427
        mov     eax, [TASK_TABLE+eax+4]
428
        mov     ebx, [src]
428
        mov     ebx, [src]
429
        mov     ecx, [flags]
429
        mov     ecx, [flags]
430
        call    create_cursor    ;eax, ebx, ecx
430
        call    create_cursor    ;eax, ebx, ecx
Line 457... Line 457...
457
        mov     esi, [hcursor]
457
        mov     esi, [hcursor]
Line 458... Line 458...
458
 
458
 
459
        cmp     [esi+CURSOR.magic], 'CURS'
459
        cmp     [esi+CURSOR.magic], 'CURS'
Line 460... Line 460...
460
        jne     .fail
460
        jne     .fail
461
 
461
 
462
        mov     ebx, [CURRENT_TASK]
462
        mov     ebx, [current_slot_idx]
463
        shl     ebx, 5
463
        shl     ebx, 5
464
        mov     ebx, [CURRENT_TASK+ebx+4]
464
        mov     ebx, [TASK_TABLE+ebx+4]
Line 465... Line 465...
465
        cmp     ebx, [esi+CURSOR.pid]
465
        cmp     ebx, [esi+CURSOR.pid]
466
        jne     .fail
466
        jne     .fail