Searched refs:u8 (Results 1 – 2 of 2) sorted by relevance
| /rkdeveloptool/ |
| H A D | gpt.h | 27 typedef unsigned char u8; typedef 93 u8 raw[16]; 104 u8 boot_ind; /* 0x80 - active */ 105 u8 head; /* starting head */ 106 u8 sector; /* starting sector */ 107 u8 cyl; /* starting cylinder */ 108 u8 sys_ind; /* What partition type */ 109 u8 end_head; /* end head */ 110 u8 end_sector; /* end sector */ 111 u8 end_cyl; /* end cylinder */ [all …]
|
| H A D | main.cpp | 517 void prepare_gpt_backup(u8 *master, u8 *backup) in prepare_gpt_backup() 534 bool get_lba_from_gpt(u8 *master, char *pszName, u64 *lba, u64 *lba_end) in get_lba_from_gpt() 539 u8 zerobuf[GPT_ENTRY_SIZE]; in get_lba_from_gpt() 545 if (memcmp(zerobuf, (u8 *)gptEntry, GPT_ENTRY_SIZE) == 0) in get_lba_from_gpt() 567 bool get_lba_from_param(u8 *param, char *pszName, u32 *part_offset, u32 *part_size) in get_lba_from_param() 592 void update_gpt_disksize(u8 *master, u8 *backup, u32 total_sector) in update_gpt_disksize() 598 u8 zerobuf[GPT_ENTRY_SIZE]; in update_gpt_disksize() 604 if (memcmp(zerobuf, (u8 *)gptLastPartEntry, GPT_ENTRY_SIZE) == 0) in update_gpt_disksize() 624 bool load_gpt_buffer(char *pParamFile, u8 *master, u8 *backup) in load_gpt_buffer() 662 void create_gpt_buffer(u8 *gpt, PARAM_ITEM_VECTOR &vecParts, CONFIG_ITEM_VECTOR &vecUuid, u64 diskS… in create_gpt_buffer() [all …]
|