Rev 887 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 887 | Rev 897 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. 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: 887 $ |
8 | $Revision: 897 $ |
9 | 9 | ||
10 | 10 | ||
Line 138... | Line 138... | ||
138 | ; allocate space for buffers |
138 | ; allocate space for buffers |
139 | add ecx, eax |
139 | add ecx, eax |
140 | mov edx, PG_SW |
140 | mov edx, PG_SW |
141 | call @mem_alloc@8 |
141 | call @mem_alloc@8 |
142 | test eax, eax |
142 | test eax, eax |
143 | mov [ntfs_data.frs_buffer], eax |
- | |
144 | jz problem_fat_dec_count |
143 | jz problem_fat_dec_count |
- | 144 | mov [ntfs_data.frs_buffer], eax |
|
145 | add eax, [ntfs_data.frs_size] |
145 | add eax, [ntfs_data.frs_size] |
146 | mov [ntfs_data.iab_buffer], eax |
146 | mov [ntfs_data.iab_buffer], eax |
147 | ; read $MFT disposition |
147 | ; read $MFT disposition |
148 | mov eax, [ntfs_data.mft_cluster] |
148 | mov eax, [ntfs_data.mft_cluster] |
149 | mul [ntfs_data.sectors_per_cluster] |
149 | mul [ntfs_data.sectors_per_cluster] |
Line 227... | Line 227... | ||
227 | mov [ntfs_data.cur_index_size], 0x1000/0x200 |
227 | mov [ntfs_data.cur_index_size], 0x1000/0x200 |
228 | mov ecx, 0x1000 |
228 | mov ecx, 0x1000 |
229 | mov edx, PG_SW |
229 | mov edx, PG_SW |
230 | call @mem_alloc@8 |
230 | call @mem_alloc@8 |
231 | test eax, eax |
231 | test eax, eax |
232 | mov [ntfs_data.cur_index_buf], eax |
- | |
233 | jz .fail_free_mft |
232 | jz .fail_free_mft |
- | 233 | mov [ntfs_data.cur_index_buf], eax |
|
Line 234... | Line 234... | ||
234 | 234 | ||
235 | popad |
235 | popad |
236 | call free_hd_channel |
236 | call free_hd_channel |
237 | and [hd1_status], 0 |
237 | and [hd1_status], 0 |