Home | History | Annotate | Download | only in hw

Lines Matching refs:rom

231         return 0x03; /* CD-ROM boot */
522 uint8_t rom[512], *p, *reloc;
526 memset(rom, 0, sizeof(rom));
528 p = rom;
529 /* Make sure we have an option rom signature */
533 /* ROM size in sectors*/
556 *reloc = (p - rom);
587 /* sign rom */
589 for (i = 0; i < (sizeof(rom) - 1); i++)
590 sum += rom[i];
591 rom[sizeof(rom) - 1] = -sum;
593 rom, sizeof(rom));
594 option_rom_setup_reset(option_rom, sizeof (rom));
832 fprintf(stderr, "Not enough space to load option rom '%s'\n",
842 fprintf(stderr, "Could not load option rom '%s'\n", oprom);
845 /* Round up optiom rom size to the next 2k boundary */
1002 option_rom_offset = qemu_ram_alloc(NULL, "pc.rom", 0x20000);
1018 * for any other kind of option rom inside this area */