Lines Matching refs:rom
27 my $rom = new Option::ROM;
28 $rom->load ( $romfile );
31 unless $rom->{signature} == ROM_SIGNATURE;
33 my $romlength = ( $rom->{length} * 512 );
34 my $filelength = $rom->length;
39 printf " %-16s 0x%02x (%d)\n", "Length:", $rom->{length}, ( $rom->{length} * 512 );
40 printf " %-16s 0x%02x (%s0x%02x)\n", "Checksum:", $rom->{checksum},
41 ( ( $rom->checksum == 0 ) ? "" : "INCORRECT: " ), $rom->checksum;
42 printf " %-16s 0x%04x\n", "Init:", $rom->{init};
43 printf " %-16s 0x%04x\n", "UNDI header:", $rom->{undi_header};
44 printf " %-16s 0x%04x\n", "PCI header:", $rom->{pci_header};
45 printf " %-16s 0x%04x\n", "PnP header:", $rom->{pnp_header};
48 my $pci = $rom->pci_header();
67 my $pnp = $rom->pnp_header();