Subversion Repositories Kolibri OS

Rev

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

Rev 7968 Rev 8869
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2020. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2020. 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: 7968 $
8
$Revision: 8869 $
9
 
9
 
10
 
10
 
Line 1394... Line 1394...
1394
        cmp     eax, [esi + SMEM.access]
1394
        cmp     eax, [esi + SMEM.access]
1395
        mov     [access], eax
1395
        mov     [access], eax
1396
        mov     edx, E_ACCESS
1396
        mov     edx, E_ACCESS
1397
        ja      .fail
1397
        ja      .fail
Line 1398... Line 1398...
1398
 
1398
 
1399
        mov     ebx, [CURRENT_TASK]
1399
        mov     ebx, [current_slot_idx]
1400
        shl     ebx, 5
1400
        shl     ebx, BSF sizeof.TASKDATA
1401
        mov     ebx, [CURRENT_TASK + ebx + 4]
1401
        mov     ebx, [TASK_TABLE + ebx + TASKDATA.pid]
Line 1402... Line 1402...
1402
        mov     eax, sizeof.SMAP
1402
        mov     eax, sizeof.SMAP
1403
 
1403
 
1404
        call    create_kernel_object
1404
        call    create_kernel_object