Home
last modified time | relevance | path

Searched refs:mbr_entry (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-a-3.7.0/drivers/partition/
Dpartition.c49 static int load_mbr_header(uintptr_t image_handle, mbr_entry_t *mbr_entry) in load_mbr_header() argument
55 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() argument
161 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() local
200 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 …]
/trusted-firmware-a-3.7.0/include/drivers/partition/
Dmbr.h20 typedef struct mbr_entry { struct