Searched refs:mbr (Results 1 – 2 of 2) sorted by relevance
78 u8 mbr[512]; member94 void init_mbr(u8 *mbr, u32 blocks) in init_mbr() argument96 mbr[0x1be] = 0x00; // nonbootable in init_mbr()97 mbr[0x1bf] = 0xFF; // bogus CHS in init_mbr()98 mbr[0x1c0] = 0xFF; in init_mbr()99 mbr[0x1c1] = 0xFF; in init_mbr()101 mbr[0x1c2] = 0xEE; // GPT partition in init_mbr()102 mbr[0x1c3] = 0xFF; // bogus CHS in init_mbr()103 mbr[0x1c4] = 0xFF; in init_mbr()104 mbr[0x1c5] = 0xFF; in init_mbr()[all …]
89 struct pc_boot_record *mbr = (void *)PC_MBR_DISK_OFFSET; in mk_pri_pentry() local91 item->offset = (loff_t)((uintptr_t)((uint8_t *)(&mbr->ptable[pnum]))); in mk_pri_pentry()222 struct pc_boot_record *mbr = (void *)PC_MBR_DISK_OFFSET; in mk_mbr_sig() local224 item->offset = (loff_t)((uintptr_t)((uint8_t *)(&mbr->mbr_sig))); in mk_mbr_sig()