Rev 4429 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4429 | Rev 5116 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2013. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2013. 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: 3742 $ |
8 | $Revision: 5089 $ |
9 | 9 | ||
10 | struct NTFS PARTITION |
10 | struct NTFS PARTITION |
11 | Lock MUTEX ? ; currently operations with one partition |
11 | Lock MUTEX ? ; currently operations with one partition |
Line 150... | Line 150... | ||
150 | ; No, this bootsector isn't NTFS |
150 | ; No, this bootsector isn't NTFS |
151 | stc |
151 | stc |
152 | ret |
152 | ret |
Line 153... | Line 153... | ||
153 | 153 | ||
- | 154 | proc ntfs_create_partition |
|
- | 155 | cmp dword [esi+DISK.MediaInfo.SectorSize], 512 |
|
154 | proc ntfs_create_partition |
156 | jnz .nope |
155 | mov edx, dword [ebp+PARTITION.Length] |
157 | mov edx, dword [ebp+PARTITION.Length] |
156 | cmp dword [esp+4], 0 |
158 | cmp dword [esp+4], 0 |
157 | jz .boot_read_ok |
159 | jz .boot_read_ok |
158 | add ebx, 512 |
160 | add ebx, 512 |