search for: f0a3fa8

Displaying 2 results from an estimated 2 matches for "f0a3fa8".

Did you mean: 440a3fa8
2012 Aug 02
0
[PATCH 3/3] ALPHA: implement and use rdwr_bytes
...count = disk->rdwr_sectors(disk, &ntfs, 0, 1, 0); - if (!read_count) + read_count = rdwr_bytes(disk, &ntfs, 0, 512, 0); + if (read_count != 512) return -1; if (!ntfs_check_sb_fields(&ntfs)) diff --git a/core/include/disk.h b/core/include/disk.h index ac23e92..f0a3fa8 100644 --- a/core/include/disk.h +++ b/core/include/disk.h @@ -7,6 +7,7 @@ typedef uint64_t sector_t; typedef uint64_t block_t; +typedef uint64_t bytes_t; /* * struct disk: contains the information about a specific disk and also @@ -29,6 +30,7 @@ struct disk { extern void read_sectors(c...
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512. Currently it fixes extlinux, MBR for GPT and ext partitions. Other code is unaffected. This set of patches has been tested on a read Dell machine running a beta firmware.