Lines Matching defs:boot
1590 * Read in the boot sector.
1599 union bootsector *boot = buffer_bytes(bootSector);
1600 struct byte_bpb50 *b50 = (struct byte_bpb50 *)boot->bs50.bsBPB;
1601 struct byte_bpb710 *b710 = (struct byte_bpb710 *)boot->bs710.bsBPB;
1607 if (boot->bs50.bsJump[0] != 0xE9 &&
1608 boot->bs50.bsJump[0] != 0xEB)
1611 asl_log(NULL, NULL, ASL_LEVEL_ERR, "%s: invalid jump signature (0x%02X)\n", device_name(device), boot->bs50.bsJump[0]);
1615 /* Check the trailing "boot signature" */
1616 if (boot->bs50.bsBootSectSig0 != BOOTSIG0 ||
1617 boot->bs50.bsBootSectSig1 != BOOTSIG1)
1620 asl_log(NULL, NULL, ASL_LEVEL_ERR, "%s: invalid boot signature (0x%02X 0x%02X)\n", device_name(device), boot->bs50.bsBootSectSig0, boot->bs50.bsBootSectSig1);
1623 /* Compute several useful quantities from the boot sector. */
1880 * in the boot sector).