/u-boot/arch/x86/lib/fsp/ |
A D | fsp_support.c | 103 const efi_guid_t *guid) in fsp_get_reserved_mem_from_guid() argument 116 if (!guidcmp(&res_desc->owner, guid)) { in fsp_get_reserved_mem_from_guid() 132 const efi_guid_t guid = FSP_HOB_RESOURCE_OWNER_FSP_GUID; in fsp_get_fsp_reserved_mem() local 137 &length, &guid); in fsp_get_fsp_reserved_mem() 151 &length, &guid); in fsp_get_tseg_reserved_mem() 162 return hob_get_guid_hob_data(hob_list, len, &guid); in fsp_get_nvs_data() 167 const efi_guid_t guid = FSP_VARIABLE_NV_DATA_HOB_GUID; in fsp_get_var_nvs_data() local 169 return hob_get_guid_hob_data(hob_list, len, &guid); in fsp_get_var_nvs_data() 176 return hob_get_guid_hob_data(hob_list, len, &guid); in fsp_get_bootloader_tmp_mem() 181 const efi_guid_t guid = FSP_GRAPHICS_INFO_HOB_GUID; in fsp_get_graphics_info() local [all …]
|
/u-boot/tools/ |
A D | efivar.py | 75 self.guid = guid 152 if var.name == name and str(var.guid) == guid: 166 if var.name == name and str(var.guid) == guid: 221 guid = args.guid if args.guid else EFI_GLOBAL_VARIABLE_GUID 229 guid = EFI_GLOBAL_VARIABLE_GUID 238 env.set_var(guid=guid, name=name, data=data, size=size, attrs=attrs) 243 print(" "+str(var.guid)+' '+''.join([x for x in var_guids if str(var.guid) == var_guids[x]])) 255 if args.guid and args.guid != str(var.guid): 260 if args.name != var.name or (args.guid and args.guid != str(var.guid)): 272 guid = args.guid if args.guid else EFI_GLOBAL_VARIABLE_GUID [all …]
|
A D | mkeficapsule.c | 252 static int create_fwbin(char *path, char *bin, efi_guid_t *guid, in create_fwbin() argument 266 printf("\tbin: %s\n\ttype: %pUl\n", bin, guid); in create_fwbin() 320 memcpy(&image.update_image_type_id, guid, sizeof(*guid)); in create_fwbin() 371 efi_guid_t *guid; in main() local 380 guid = NULL; in main() 395 guid = &efi_guid_image_type_uboot_fit; in main() 403 guid = &efi_guid_image_type_uboot_raw; in main() 450 if (create_fwbin(argv[optind], file, guid, index, instance) in main()
|
/u-boot/cmd/ |
A D | nvedit_efi.c | 43 efi_guid_t guid; member 70 if (!guidcmp(guid, &efi_guid_text[i].guid)) in efi_guid_to_str() 114 printf("%ls:\n %pUl %s\n", name, guid, efi_guid_to_str(guid)); in efi_dump_single_var() 178 efi_guid_t guid; in efi_dump_var_all() local 191 &guid)); in efi_dump_var_all() 204 &guid)); in efi_dump_var_all() 257 efi_guid_t guid; in do_env_print_efi() local 416 efi_guid_t guid; in do_env_set_efi() local 441 guid = efi_global_variable_guid; in do_env_set_efi() 498 guid = efi_global_variable_guid; in do_env_set_efi() [all …]
|
A D | efidebug.c | 154 efi_guid_t guid; in do_efi_capsule_res() local 424 const efi_guid_t guid; member 554 if (!guidcmp(&guid_list[i].guid, guid)) in get_guid_text() 578 efi_guid_t **guid; in do_efi_show_handles() local 822 efi_guid_t guid; in do_efi_boot_add() local 917 efi_guid_t guid; in do_efi_boot_rm() local 1060 efi_guid_t guid; in do_efi_boot_dump() local 1076 &guid)); in do_efi_boot_dump() 1089 &guid)); in do_efi_boot_dump() 1235 efi_guid_t guid; in do_efi_boot_next() local [all …]
|
/u-boot/cmd/x86/ |
A D | hob.c | 42 efi_guid_t guid; member 60 static const char *guid_to_name(const efi_guid_t *guid) in guid_to_name() argument 65 if (!guidcmp(guid, &entry->guid)) in guid_to_name() 98 efi_guid_t *guid; in do_hob() local 141 guid = (efi_guid_t *)(hdr + 1); in do_hob() 142 name = guid_to_name(guid); in do_hob() 144 uuid_bin_to_str(guid->b, uuid, in do_hob()
|
/u-boot/arch/x86/lib/ |
A D | hob.c | 43 const struct hob_header *hob_get_next_guid_hob(const efi_guid_t *guid, in hob_get_next_guid_hob() argument 52 if (!guidcmp(guid, &guid_hob->name)) in hob_get_next_guid_hob() 72 const efi_guid_t *guid) in hob_get_guid_hob_data() argument 76 guid_hob = hob_get_next_guid_hob(guid, hob_list); in hob_get_guid_hob_data()
|
/u-boot/fs/squashfs/ |
A D | sqfs_filesystem.h | 96 __le16 guid; member 105 __le16 guid; member 115 __le16 guid; member 126 __le16 guid; member 137 __le16 guid; member 149 __le16 guid; member 161 __le16 guid; member 175 __le16 guid; member 192 __le16 guid; member 206 __le16 guid; member
|
/u-boot/include/ |
A D | efi_variable.h | 115 efi_guid_t guid; member 197 struct efi_var_entry *efi_var_mem_find(const efi_guid_t *guid, const u16 *name, 250 enum efi_auth_var_type efi_auth_var_get_type(u16 *name, const efi_guid_t *guid); 293 efi_get_variable_runtime(u16 *variable_name, const efi_guid_t *guid, 307 u16 *variable_name, efi_guid_t *guid);
|
A D | mm_communication.h | 149 efi_guid_t guid; member 182 efi_guid_t guid; member 245 efi_guid_t guid; member
|
/u-boot/lib/efi_loader/ |
A D | efi_var_common.c | 22 const efi_guid_t *guid; member 171 efi_get_variable_runtime(u16 *variable_name, const efi_guid_t *guid, in efi_get_variable_runtime() argument 176 ret = efi_get_variable_mem(variable_name, guid, attributes, data_size, data, NULL); in efi_get_variable_runtime() 187 u16 *variable_name, efi_guid_t *guid) in efi_get_next_variable_name_runtime() argument 189 return efi_get_next_variable_name_mem(variable_name_size, variable_name, guid); in efi_get_next_variable_name_runtime() 337 enum efi_auth_var_type efi_auth_var_get_type(u16 *name, const efi_guid_t *guid) in efi_auth_var_get_type() argument 341 !guidcmp(guid, name_type[i].guid)) in efi_auth_var_get_type()
|
A D | efi_var_mem.c | 32 efi_var_mem_compare(struct efi_var_entry *var, const efi_guid_t *guid, in efi_var_mem_compare() argument 40 for (guid1 = (u8 *)&var->guid, guid2 = (u8 *)guid, i = 0; in efi_var_mem_compare() 64 *efi_var_mem_find(const efi_guid_t *guid, const u16 *name, in efi_var_mem_find() argument 81 efi_var_mem_compare(efi_current_var, guid, name, next)) { in efi_var_mem_find() 93 match = efi_var_mem_compare(var, guid, name, &pos); in efi_var_mem_find() 162 efi_memcpy_runtime(&var->guid, vendor, sizeof(efi_guid_t)); in efi_var_mem_ins() 344 efi_memcpy_runtime(vendor, &var->guid, sizeof(efi_guid_t)); in efi_get_next_variable_name_mem()
|
A D | efi_var_file.c | 74 guidcpy(&var->guid, &old_var->guid); in efi_var_collect() 76 &var_name_length, var->name, &var->guid); in efi_var_collect() 88 ret = efi_get_variable_int(var->name, &var->guid, in efi_var_collect() 169 ret = efi_var_mem_ins(var->name, &var->guid, var->attr, in efi_var_restore()
|
A D | efi_variable_tee.c | 307 guidcpy(&smm_property->guid, vendor); in set_property_int() 341 guidcpy(&smm_property->guid, vendor); in get_property_int() 405 guidcpy(&var_acc->guid, vendor); in efi_get_variable_int() 443 efi_guid_t *guid) in efi_get_next_variable_name_int() argument 452 if (!variable_name_size || !variable_name || !guid) { in efi_get_next_variable_name_int() 482 guidcpy(&var_getnext->guid, guid); in efi_get_next_variable_name_int() 497 guidcpy(guid, &var_getnext->guid); in efi_get_next_variable_name_int() 569 guidcpy(&var_acc->guid, vendor); in efi_set_variable_int() 668 efi_set_variable_runtime(u16 *variable_name, const efi_guid_t *guid, in efi_set_variable_runtime() argument
|
A D | helloworld.c | 65 if (!memcmp(&systable->tables[i].guid, &fdt_guid, in print_config_tables() 69 if (!memcmp(&systable->tables[i].guid, &acpi_guid, in print_config_tables() 73 if (!memcmp(&systable->tables[i].guid, &smbios_guid, in print_config_tables()
|
/u-boot/test/ |
A D | print_ut.c | 22 unsigned char guid[16] = { in guid_ut_print() local 27 sprintf(str, "%pUb", guid); in guid_ut_print() 29 sprintf(str, "%pUB", guid); in guid_ut_print() 31 sprintf(str, "%pUl", guid); in guid_ut_print() 33 sprintf(str, "%pUL", guid); in guid_ut_print()
|
/u-boot/lib/efi_selftest/ |
A D | efi_selftest_variables_runtime.c | 50 efi_guid_t guid; in execute() local 76 memset(&guid, 0, 16); in execute() 79 ret = runtime->get_next_variable_name(&len, varname, &guid); in execute()
|
A D | efi_selftest_variables.c | 53 efi_guid_t guid; in execute() local 144 boottime->set_mem(&guid, 16, 0); in execute() 149 ret = runtime->get_next_variable_name(&len, varname, &guid); in execute() 157 if (!memcmp(&guid, &guid_vendor0, sizeof(efi_guid_t)) && in execute() 166 if (!memcmp(&guid, &guid_vendor1, sizeof(efi_guid_t)) && in execute()
|
A D | efi_selftest_fdt.c | 151 static void *efi_st_get_config_table(const efi_guid_t *guid) in efi_st_get_config_table() argument 156 if (!guidcmp(guid, &systemtab->tables[i].guid)) in efi_st_get_config_table()
|
A D | efi_selftest_config_table.c | 157 if (!memcmp(&sys_table->tables[i].guid, &table_guid, in execute() 196 if (!memcmp(&sys_table->tables[i].guid, &table_guid, in execute() 239 if (!memcmp(&sys_table->tables[i].guid, &table_guid, in execute()
|
/u-boot/arch/x86/cpu/slimbootloader/ |
A D | slimbootloader.c | 28 const efi_guid_t guid = SBL_PERFORMANCE_INFO_GUID; in tsc_init() local 36 data = hob_get_guid_hob_data(gd->arch.hob_list, NULL, &guid); in tsc_init()
|
A D | serial.c | 20 const efi_guid_t guid = SBL_SERIAL_PORT_INFO_GUID; in slimbootloader_serial_of_to_plat() local 27 data = hob_get_guid_hob_data(gd->arch.hob_list, NULL, &guid); in slimbootloader_serial_of_to_plat()
|
/u-boot/lib/ |
A D | uuid.c | 92 efi_guid_t guid; member 117 memcpy(guid_bin, &list_guid[i].guid, 16); in uuid_guid_get_bin() 136 if (!memcmp(list_guid[i].guid.b, guid_bin, 16)) { in uuid_guid_get_str() 336 U_BOOT_CMD(guid, CONFIG_SYS_MAXARGS, 1, do_uuid,
|
/u-boot/arch/x86/lib/fsp2/ |
A D | fsp_support.c | 21 static efi_guid_t guid = FSP_HEADER_GUID; in fsp_get_header() local 70 if (memcmp(&file_hdr->name, &guid, sizeof(guid))) in fsp_get_header()
|
/u-boot/arch/x86/include/asm/ |
A D | hob.h | 213 const struct hob_header *hob_get_next_guid_hob(const efi_guid_t *guid, 228 const efi_guid_t *guid);
|