Subversion Repositories Kolibri OS

Rev

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

Rev 6927 Rev 6929
Line 86... Line 86...
86
        cmp     [ebp+FILED.magic], 'PIPE'
86
        cmp     [ebp+FILED.magic], 'PIPE'
87
        jne     .fail
87
        jne     .fail
88
        cmp     [ebp+FILED.handle], ecx
88
        cmp     [ebp+FILED.handle], ecx
89
        jne     .fail
89
        jne     .fail
Line -... Line 90...
-
 
90
 
-
 
91
        test    [ebp+FILED.mode], F_READ
-
 
92
        jz      .fail
90
 
93
 
91
        mov     ebp, [ebp+FILED.file]
94
        mov     ebp, [ebp+FILED.file]
92
        mov     eax, [ebp]
95
        mov     eax, [ebp]
93
        jmp     dword [eax+FILEOP_READ*4]
96
        jmp     dword [eax+FILEOP_READ*4]
94
.fail:
97
.fail:
Line 112... Line 115...
112
 
115
 
113
        cmp     [ebp+FILED.magic], 'PIPE'
116
        cmp     [ebp+FILED.magic], 'PIPE'
114
        jne     .fail
117
        jne     .fail
115
        cmp     [ebp+FILED.handle], ecx
118
        cmp     [ebp+FILED.handle], ecx
-
 
119
        jne     .fail
-
 
120
        test    [ebp+FILED.mode], F_WRITE
Line 116... Line 121...
116
        jne     .fail
121
        jz      .fail
117
 
122
 
118
        mov     ebp, [ebp+FILED.file]
123
        mov     ebp, [ebp+FILED.file]
119
        mov     eax, [ebp]
124
        mov     eax, [ebp]