HomeSort by relevance Sort by last modified time
    Searched refs:undi_hdr_offset (Results 1 - 2 of 2) sorted by null

  /external/syslinux/gpxe/src/util/
makerom.pl 106 my ($undi_hdr_offset);
108 $undi_hdr_offset = unpack('v', substr($$romref, UNDI_PTR_LOC, 2));
110 if ($undi_hdr_offset < UNDI_PTR_LOC + 2
111 or $undi_hdr_offset > length($$romref) - UNDI_HDR_SIZE
112 or substr($$romref, $undi_hdr_offset, 4) ne 'UNDI') {
113 $undi_hdr_offset = 0;
115 printf "UNDI header at %#x\n", $undi_hdr_offset if $opts{'v'};
117 if ($undi_hdr_offset > 0) {
118 substr($$romref, $undi_hdr_offset+UNDI_CHKSUM_OFF, 1) = "\x00";
119 my $sum = unpack('%8C*', substr($$romref, $undi_hdr_offset,
    [all...]
modrom.pl 104 my ($undi_hdr_offset);
106 $undi_hdr_offset = unpack('v', substr($$romref, UNDI_PTR_LOC, 2));
108 if ($undi_hdr_offset < UNDI_PTR_LOC + 2
109 or $undi_hdr_offset > length($$romref) - UNDI_HDR_SIZE
110 or substr($$romref, $undi_hdr_offset, 4) ne 'UNDI') {
111 $undi_hdr_offset = 0;
113 printf "UNDI header at %#x\n", $undi_hdr_offset;
115 if ($undi_hdr_offset > 0) {
116 substr($$romref, $undi_hdr_offset+UNDI_CHKSUM_OFF, 1) = "\x00";
117 my $sum = unpack('%8C*', substr($$romref, $undi_hdr_offset,
    [all...]

Completed in 195 milliseconds