Lines Matching refs:header
82 /* Information needed for ppcboot header */
84 ppcboot_hdr_t header; /* raw header */
224 memcpy ((PTR) &tdata->header, (PTR) &hdr, sizeof (ppcboot_hdr_t));
420 long entry_offset = bfd_getl_signed_32 ((PTR) tdata->header.entry_offset);
421 long length = bfd_getl_signed_32 ((PTR) tdata->header.length);
424 fprintf (f, _("\nppcboot header:\n"));
428 if (tdata->header.flags)
429 fprintf (f, _("Flag field = 0x%.2x\n"), tdata->header.flags);
431 if (tdata->header.os_id)
432 fprintf (f, "OS_ID = 0x%.2x\n", tdata->header.os_id);
434 if (tdata->header.partition_name)
435 fprintf (f, _("Partition name = \"%s\"\n"), tdata->header.partition_name);
439 long sector_begin = bfd_getl_signed_32 ((PTR) tdata->header.partition[i].sector_begin);
440 long sector_length = bfd_getl_signed_32 ((PTR) tdata->header.partition[i].sector_length);
443 if (!tdata->header.partition[i].partition_begin.ind
444 && !tdata->header.partition[i].partition_begin.head
445 && !tdata->header.partition[i].partition_begin.sector
446 && !tdata->header.partition[i].partition_begin.cylinder
447 && !tdata->header.partition[i].partition_end.ind
448 && !tdata->header.partition[i].partition_end.head
449 && !tdata->header.partition[i].partition_end.sector
450 && !tdata->header.partition[i].partition_end.cylinder
455 tdata->header.partition[i].partition_begin.ind,
456 tdata->header.partition[i].partition_begin.head,
457 tdata->header.partition[i].partition_begin.sector,
458 tdata->header.partition[i].partition_begin.cylinder);
461 tdata->header.partition[i].partition_end.ind,
462 tdata->header.partition[i].partition_end.head,
463 tdata->header.partition[i].partition_end.sector,
464 tdata->header.partition[i].partition_end.cylinder);