Lines Matching defs:bios
323 static unsigned char bios[BIOS_BSIZE];
330 if (xf86ReadDomainMemory(ps3v->PciTag, BIOSbase, BIOS_BSIZE, bios) != BIOS_BSIZE)
333 if (pci_device_read_rom(ps3v->PciInfo, bios))
336 if ((bios[0] != 0x55) || (bios[1] != 0xaa))
349 if (bios[i] == match1[0] && !memcmp(&bios[i],match1,l1)) {
351 return &bios[i+l1];
353 for(j=i+l1; (j<BIOS_BSIZE-l2) && bios[j]; j++)
354 if (bios[j] == match2[0] && !memcmp(&bios[j],match2,l2))
355 return &bios[j+l2];