forked from KolibriOS/kolibrios
disk cache: support for sector sizes other than 512 bytes
git-svn-id: svn://kolibrios.org@5089 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -25,6 +25,8 @@ include 'xfs.inc'
|
||||
; returns 0 (not XFS or invalid) / pointer to partition structure
|
||||
xfs_create_partition:
|
||||
push ebx ecx edx esi edi
|
||||
cmp dword [esi+DISK.MediaInfo.SectorSize], 512
|
||||
jnz .error
|
||||
cmp dword[ebx + xfs_sb.sb_magicnum], XFS_SB_MAGIC ; signature
|
||||
jne .error
|
||||
|
||||
|
Reference in New Issue
Block a user