Home
last modified time | relevance | path

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

/u-boot/lib/efi_selftest/
A Defi_selftest_ecpt.c22 static int ecpt_find_guid(struct efi_conformance_profiles_table *ecpt, in ecpt_find_guid() argument
26 for (i = 0; i < ecpt->number_of_profiles; ++i) { in ecpt_find_guid()
27 if (!memcmp(&ecpt->conformance_profiles[i], guid, 16)) in ecpt_find_guid()
41 struct efi_conformance_profiles_table *ecpt; in execute() local
44 ecpt = efi_st_get_config_table(&guid_ecpt); in execute()
46 if (!ecpt) { in execute()
51 if (ecpt->version != EFI_CONFORMANCE_PROFILES_TABLE_VERSION) { in execute()
58 if (ecpt_find_guid(ecpt, &guid_ebbr_2_1)) in execute()
62 if (ecpt->number_of_profiles != expected_entries) { in execute()
64 expected_entries, ecpt->number_of_profiles); in execute()
[all …]
/u-boot/lib/efi_loader/
A Defi_conformance.c26 struct efi_conformance_profiles_table *ecpt; in efi_ecpt_register() local
33 (void **)&ecpt); in efi_ecpt_register()
42 guidcpy(&ecpt->conformance_profiles[num_entries++], in efi_ecpt_register()
45 ecpt->version = EFI_CONFORMANCE_PROFILES_TABLE_VERSION; in efi_ecpt_register()
46 ecpt->number_of_profiles = num_entries; in efi_ecpt_register()
49 ret = efi_install_configuration_table(&efi_ecpt_guid, (void *)ecpt); in efi_ecpt_register()
52 efi_free_pool(ecpt); in efi_ecpt_register()

Completed in 6 milliseconds