Searched refs:boot_code (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Dbsd.c127 char boot_code [512]; member in struct:__anon2261
211 memset(bsd_specific->boot_code, 0, sizeof (bsd_specific->boot_code));
213 label = (BSDRawLabel*) (bsd_specific->boot_code + BSD_LABEL_OFFSET);
262 memcpy (new_bsd_data->boot_code, old_bsd_data->boot_code, 512);
286 memcpy (bsd_specific->boot_code, s0, sizeof (bsd_specific->boot_code));
289 label = (BSDRawLabel *) (bsd_specific->boot_code + BSD_LABEL_OFFSET);
338 memcpy (bsd_specific->boot_code, old_boot_cod
[all...]
H A Dpc98.c110 uint8_t boot_code [510]; member in struct:_PC98RawTable
153 return !memcmp (part_table->boot_code + 4, "IPL1", 4);
221 else if (part_table.boot_code[0]) /* invalid boot loader */
504 memset (table->boot_code, 0, sizeof(table->boot_code));
505 memcpy (table->boot_code, MBR_BOOT_CODE, sizeof(MBR_BOOT_CODE));
H A Ddos.c138 char boot_code [440]; member in struct:_DosRawTable
217 if (part_table->boot_code[0] == (char) 0xc9 &&
218 part_table->boot_code[1] == (char) 0xc2 &&
219 part_table->boot_code[2] == (char) 0xd4 &&
220 part_table->boot_code[3] == (char) 0xc1)
1189 if (!table->boot_code[0]) {
1190 memset (table->boot_code, 0, 512);
1191 memcpy (table->boot_code, MBR_BOOT_CODE, sizeof (MBR_BOOT_CODE));
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dbootsector.h94 uint8_t boot_code[448]; /* 3f: Boot code (or message) */ member in struct:_FatBootSector::__anon2230::__anon2231
110 uint8_t boot_code[420]; /* 5a: Boot code (or message) */ member in struct:_FatBootSector::__anon2230::__anon2232
H A Dbootsector.c297 memcpy (bs->u.fat32.boot_code, FAT_BOOT_CODE, FAT_BOOT_CODE_LENGTH);

Completed in 24 milliseconds