Searched refs:mbr (Results 1 - 2 of 2) sorted by path

/system/core/gpttool/
H A Dgpttool.c79 u8 mbr[512]; member in struct:ptable
95 void init_mbr(u8 *mbr, u32 blocks) argument
97 mbr[0x1be] = 0x00; // nonbootable
98 mbr[0x1bf] = 0xFF; // bogus CHS
99 mbr[0x1c0] = 0xFF;
100 mbr[0x1c1] = 0xFF;
102 mbr[0x1c2] = 0xEE; // GPT partition
103 mbr[0x1c3] = 0xFF; // bogus CHS
104 mbr[0x1c4] = 0xFF;
105 mbr[
[all...]
/system/core/libdiskconfig/
H A Dconfig_mbr.c36 * the mbr if these are 0 */
89 struct pc_boot_record *mbr = (void *)PC_MBR_DISK_OFFSET; local
90 /* grab the offset in mbr where to write this partition entry. */
91 item->offset = (loff_t)((uint32_t)((uint8_t *)(&mbr->ptable[pnum])));

Completed in 1043 milliseconds