We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d136fb commit 7bea3c7Copy full SHA for 7bea3c7
1 file changed
sys/arm64/arm64/machdep.c
@@ -513,7 +513,7 @@ static void
513
exclude_efi_memreserve(vm_paddr_t efi_systbl_phys)
514
{
515
struct efi_systbl *systbl;
516
- struct uuid efi_memreserve = LINUX_EFI_MEMRESERVE_TABLE;
+ efi_guid_t efi_memreserve = LINUX_EFI_MEMRESERVE_TABLE;
517
518
systbl = (struct efi_systbl *)PHYS_TO_DMAP(efi_systbl_phys);
519
if (systbl == NULL) {
@@ -542,7 +542,7 @@ exclude_efi_memreserve(vm_paddr_t efi_systbl_phys)
542
cfgtbl = efi_early_map(systbl->st_cfgtbl + i * sizeof(*cfgtbl));
543
if (cfgtbl == NULL)
544
panic("Can't map the config table entry %d\n", i);
545
- if (memcmp(&cfgtbl->ct_uuid, &efi_memreserve, sizeof(struct uuid)) != 0)
+ if (memcmp(&cfgtbl->ct_guid, &efi_memreserve, sizeof(efi_guid_t)) != 0)
546
continue;
547
548
/*
0 commit comments