Home | History | Annotate | Download | only in memdisk

Lines Matching refs:boot_cat

348 	struct edd4_bootcat *boot_cat =
349 (struct edd4_bootcat *)(where + bvd->boot_cat * 2048);
351 if ((boot_cat->validation_entry.platform_id != 0) ||
352 (boot_cat->validation_entry.key55 != 0x55) ||
353 (boot_cat->validation_entry.keyAA != 0xAA))
356 if (boot_cat->initial_entry.media_type)
357 hd_geometry.offset += boot_cat->initial_entry.load_block * 2048;
360 hd_geometry.boot_lba = boot_cat->initial_entry.load_block * 4;
361 if (boot_cat->initial_entry.media_type < 4) {
369 switch (boot_cat->initial_entry.media_type) {
772 const struct edd4_bootcat *boot_cat = 0;
974 boot_cat =
975 (struct edd4_bootcat *)(ramdisk_image + bvd->boot_cat * 2048);
976 pptr->cd_pkt.type = boot_cat->initial_entry.media_type; /* Cheat */
978 pptr->cd_pkt.start = boot_cat->initial_entry.load_block;
979 boot_seg = pptr->cd_pkt.load_seg = boot_cat->initial_entry.load_seg;
980 pptr->cd_pkt.sect_count = boot_cat->initial_entry.sect_count;