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()88 memcpy(mbr_entry, tmp, sizeof(mbr_entry_t)); in load_mbr_header()154 static int load_mbr_entry(uintptr_t image_handle, mbr_entry_t *mbr_entry, in load_mbr_entry() argument161 assert(mbr_entry != NULL); in load_mbr_entry()184 memcpy(mbr_entry, (void *)offset, sizeof(mbr_entry_t)); in load_mbr_entry()194 mbr_entry_t mbr_entry; in load_mbr_entries() local200 load_mbr_entry(image_handle, &mbr_entry, i); in load_mbr_entries()201 list.list[i].start = mbr_entry.first_lba * 512; in load_mbr_entries()202 list.list[i].length = mbr_entry.sector_nums * 512; in load_mbr_entries()[all …]
20 typedef struct mbr_entry { struct