Displaying 4 results from an estimated 4 matches for "part_name_iso".
2014 Jun 22
0
[PATCH 1/6] utils/isohybrid.c: Encode GPT partition names as UTF-16LE
...id.c b/utils/isohybrid.c
index 05afd29..c5b4281 100644
--- a/utils/isohybrid.c
+++ b/utils/isohybrid.c
@@ -749,6 +749,11 @@ initialise_gpt(uint8_t *gpt, uint32_t current, uint32_t alternate, int primary)
struct gpt_part_header *part;
int hole = 0;
int gptsize = 128 / 4 + 2;
+ char part_name_iso[] = {'I', 0, 'S', 0, 'O', 0, 'H', 0, 'y', 0,
+ 'b', 0, 'r', 0, 'i', 0, 'd', 0, ' ', 0,
+ 'I', 0, 'S', 0, 'O', 0, 0, 0};
+ char part_name...
2014 Jun 24
2
[syslinux:master] isohybrid: Function to write UTF-16LE strings
..._gpt(uint8_t *gpt, uint32_t current, uint32_t alternate, int primary)
> {
> @@ -793,11 +808,6 @@ initialise_gpt(uint8_t *gpt, uint32_t current, uint32_t alternate, int primary)
> struct gpt_part_header *part;
> int hole = 0;
> int gptsize = 128 / 4 + 2;
> - char part_name_iso[] = {'I', 0, 'S', 0, 'O', 0, 'H', 0, 'y', 0,
> - 'b', 0, 'r', 0, 'i', 0, 'd', 0, ' ', 0,
> - 'I', 0, 'S', 0, 'O', 0, 0, 0};
> -...
2014 Jun 22
16
Announcing a patch series for isohybrid.c
Hi,
following will be 6 patch proposals for isohybrid.c
1: Encode GPT partition names as UTF-16LE
2: Correct blocking factor in APM partition block counts
3: Correct end block address of first GPT partition
4: Write GPT backup to the very end of the image
5: Change all fseek(3) to fseeko(3)
6: Introduce option --mbr and make isohybrid.c compilable standalone
If the form needs adjustments,
2014 Jun 22
0
[PATCH 3/6] utils/isohybrid.c: Correct end block address of first GPT partition
...e, int primary)
memcpy(part->partGUID, iso_uuid, sizeof(uuid_t));
memcpy(part->partTypeGUID, basic_partition, sizeof(uuid_t));
part->firstLBA = lendian_64(0);
- part->lastLBA = lendian_64(psize);
+ part->lastLBA = lendian_64(psize - 1);
memcpy(part->name, part_name_iso, 28);
gpt += sizeof(struct gpt_part_header);
--
1.8.4.2