Home
last modified time | relevance | path

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

/rkdeveloptool/
H A DMakefile.am17 gpt.h
H A Dmain.cpp662 void create_gpt_buffer(u8 *gpt, PARAM_ITEM_VECTOR &vecParts, CONFIG_ITEM_VECTOR &vecUuid, u64 diskS… in create_gpt_buffer() argument
664 legacy_mbr *mbr = (legacy_mbr *)gpt; in create_gpt_buffer()
665 gpt_header *gptHead = (gpt_header *)(gpt + SECTOR_SIZE); in create_gpt_buffer()
666 gpt_entry *gptEntry = (gpt_entry *)(gpt + 2 * SECTOR_SIZE); in create_gpt_buffer()
672 memset(gpt, 0, SECTOR_SIZE); in create_gpt_buffer()
678 memset(gpt + SECTOR_SIZE, 0, SECTOR_SIZE); in create_gpt_buffer()
694 memset(gpt + 2 * SECTOR_SIZE, 0, 32 * SECTOR_SIZE); in create_gpt_buffer()
718 …gptHead->partition_entry_array_crc32 = cpu_to_le32(crc32_le(0, gpt + 2 * SECTOR_SIZE, GPT_ENTRY_SI… in create_gpt_buffer()
719 gptHead->header_crc32 = cpu_to_le32(crc32_le(0, gpt + SECTOR_SIZE, sizeof(gpt_header))); in create_gpt_buffer()