Rev 6809 | Rev 6848 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6809 | Rev 6845 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2013-2016. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2013-2016. 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: 6809 $ |
8 | $Revision: 6845 $ |
9 | 9 | ||
10 | ; EXT external functions |
10 | ; EXT external functions |
11 | ; in: |
11 | ; in: |
Line 1751... | Line 1751... | ||
1751 | call fs_write32_sys |
1751 | call fs_write32_sys |
1752 | pop ebx |
1752 | pop ebx |
1753 | ret |
1753 | ret |
Line 1754... | Line 1754... | ||
1754 | 1754 | ||
1755 | extfsWritingInit: |
- | |
1756 | movi eax, ERROR_ACCESS_DENIED |
- | |
1757 | cmp byte [esi], 0 |
- | |
1758 | jz @f |
1755 | extfsWritingInit: |
1759 | movi eax, ERROR_UNSUPPORTED_FS |
1756 | movi eax, ERROR_UNSUPPORTED_FS |
1760 | test [ebp+EXTFS.mountType], READ_ONLY |
1757 | test [ebp+EXTFS.mountType], READ_ONLY |
1761 | jnz @f |
1758 | jnz @f |
1762 | ext_lock: |
1759 | ext_lock: |
Line 1985... | Line 1982... | ||
1985 | jmp .error_ret |
1982 | jmp .error_ret |
Line 1986... | Line 1983... | ||
1986 | 1983 | ||
1987 | ;---------------------------------------------------------------- |
1984 | ;---------------------------------------------------------------- |
1988 | ext_ReadFile: |
1985 | ext_ReadFile: |
1989 | call ext_lock |
- | |
1990 | pushd 0 ERROR_ACCESS_DENIED |
- | |
1991 | cmp byte [esi], 0 |
- | |
1992 | jz .ret ; root |
1986 | call ext_lock |
1993 | mov [esp], ebx |
1987 | pushd 0 ebx |
1994 | call findInode |
1988 | call findInode |
1995 | pop ebx |
1989 | pop ebx |
1996 | push eax |
1990 | push eax |
1997 | jc .ret |
1991 | jc .ret |