Subversion Repositories Kolibri OS

Rev

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

Rev 9222 Rev 9223
Line 75... Line 75...
75
format binary as "mnt"
75
format binary as "mnt"
Line 76... Line 76...
76
 
76
 
77
include 'macros.inc'
77
include 'macros.inc'
Line 78... Line 78...
78
include 'struct.inc'
78
include 'struct.inc'
Line 79... Line 79...
79
 
79
 
80
$Revision: 9222 $
80
$Revision: 9223 $
Line 5216... Line 5216...
5216
        test    ecx, 0x80000000
5216
        test    ecx, 0x80000000
5217
        jz      @f
5217
        jz      @f
5218
        mov     esi, 0
5218
        mov     esi, 0
5219
@@:
5219
@@:
5220
        stdcall is_region_userspace, edx, esi
5220
        stdcall is_region_userspace, edx, esi
5221
        jnz     .err
5221
        jnz     .err_1
5222
        pop     esi
5222
        pop     esi
Line 5223... Line 5223...
5223
 
5223
 
5224
        mov     eax, [TASK_BASE]
5224
        mov     eax, [TASK_BASE]
5225
        mov     ebp, [eax-twdw+WDATA.box.left]
5225
        mov     ebp, [eax-twdw+WDATA.box.left]
Line 5243... Line 5243...
5243
 
5243
 
5244
@@:     ;  check pointer
5244
@@:     ;  check pointer
5245
        stdcall is_region_userspace, edi, 0
5245
        stdcall is_region_userspace, edi, 0
5246
        jnz     .err
5246
        jnz     .err
-
 
5247
        jmp     dtext
-
 
5248
.err_1:
5247
        jmp     dtext
5249
        pop     esi
5248
.err:
5250
.err:
Line 5249... Line 5251...
5249
        ret
5251
        ret