OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pci_hdr_offset
(Results
1 - 2
of
2
) sorted by null
/external/syslinux/gpxe/src/util/
makerom.pl
57
my ($
pci_hdr_offset
, $pnp_hdr_offset);
59
$
pci_hdr_offset
= unpack('v', substr($$romref, PCI_PTR_LOC, 2));
62
if ($
pci_hdr_offset
< PCI_PTR_LOC + 2
63
or $
pci_hdr_offset
> length($$romref) - PCI_HDR_SIZE
66
or substr($$romref, $
pci_hdr_offset
, 4) ne 'PCIR'
68
$
pci_hdr_offset
= $pnp_hdr_offset = 0;
71
$
pci_hdr_offset
, $pnp_hdr_offset if $opts{'v'};
73
if ($
pci_hdr_offset
> 0) {
77
$pci_vendor_id = unpack('v', substr($$romref, $
pci_hdr_offset
+PCI_VEND_ID_OFF, 2));
78
$pci_device_id = unpack('v', substr($$romref, $
pci_hdr_offset
+PCI_DEV_ID_OFF, 2))
[
all
...]
modrom.pl
57
my ($
pci_hdr_offset
, $pnp_hdr_offset);
59
$
pci_hdr_offset
= unpack('v', substr($$romref, PCI_PTR_LOC, 2));
62
if ($
pci_hdr_offset
< PCI_PTR_LOC + 2
63
or $
pci_hdr_offset
> length($$romref) - PCI_HDR_SIZE
66
or substr($$romref, $
pci_hdr_offset
, 4) ne 'PCIR'
68
$
pci_hdr_offset
= $pnp_hdr_offset = 0;
71
$
pci_hdr_offset
, $pnp_hdr_offset;
73
if ($
pci_hdr_offset
> 0) {
77
$pci_vendor_id = unpack('v', substr($$romref, $
pci_hdr_offset
+PCI_VEND_ID_OFF, 2));
78
$pci_device_id = unpack('v', substr($$romref, $
pci_hdr_offset
+PCI_DEV_ID_OFF, 2))
[
all
...]
Completed in 693 milliseconds