@@ -52,12 +52,12 @@ class MBRBlockDevice : public BlockDevice {
52
52
*
53
53
* @param bd Block device to partition
54
54
* @param part Partition to use, 1-4
55
- * @param type 8-bit partition type to identify partition's contents
56
- * @param start Start block address to map to block 0 of partition,
57
- * negative addresses are calculated from the end of the
55
+ * @param type 8-bit partition type to identify partition contents
56
+ * @param start Start block address to map to block 0 of partition.
57
+ * Negative addresses are calculated from the end of the
58
58
* underlying block devices. Block 0 is implicitly ignored
59
59
* from the range to store the MBR.
60
- * @return 0 on success or a negative error code on failure
60
+ * @return 0 on success or a negative error code on failure.
61
61
* @note This is the same as partition(bd, part, type, start, bd->size())
62
62
*/
63
63
static int partition (BlockDevice *bd, int part, uint8_t type, bd_addr_t start);
@@ -66,15 +66,15 @@ class MBRBlockDevice : public BlockDevice {
66
66
*
67
67
* @param bd Block device to partition
68
68
* @param part Partition to use, 1-4
69
- * @param type 8-bit partition type to identify partition's contents
69
+ * @param type 8-bit partition type to identify partition contents
70
70
* @param start Start block address to map to block 0 of partition,
71
71
* negative addresses are calculated from the end of the
72
72
* underlying block devices. Block 0 is implicitly ignored
73
73
* from the range to store the MBR.
74
- * @param stop End block address to mark the end of the partition,
75
- * this block is not mapped, negative addresses are calculated
74
+ * @param stop End block address to mark the end of the partition.
75
+ * This block is not mapped: negative addresses are calculated
76
76
* from the end of the underlying block device.
77
- * @return 0 on success or a negative error code on failure
77
+ * @return 0 on success or a negative error code on failure.
78
78
*/
79
79
static int partition (BlockDevice *bd, int part, uint8_t type, bd_addr_t start, bd_addr_t stop);
80
80
0 commit comments