Searched refs:mbr_entry (Results 1 – 2 of 2) sorted by relevance
49 static int load_mbr_header(uintptr_t image_handle, mbr_entry_t *mbr_entry) in load_mbr_header() argument55 assert(mbr_entry != NULL); in load_mbr_header()75 memcpy(mbr_entry, (void *)offset, sizeof(mbr_entry_t)); in load_mbr_header()129 static int load_mbr_entry(uintptr_t image_handle, mbr_entry_t *mbr_entry, in load_mbr_entry() argument136 assert(mbr_entry != NULL); in load_mbr_entry()158 memcpy(mbr_entry, (void *)offset, sizeof(mbr_entry_t)); in load_mbr_entry()165 mbr_entry_t mbr_entry; in load_mbr_entries() local171 load_mbr_entry(image_handle, &mbr_entry, i); in load_mbr_entries()172 list.list[i].start = mbr_entry.first_lba * 512; in load_mbr_entries()173 list.list[i].length = mbr_entry.sector_nums * 512; in load_mbr_entries()[all …]
20 typedef struct mbr_entry { struct