Hello Alex, when I read through efi_add_memory_map() it seems that the function will delete mappings even if it later decides to return an error (e.g. EFI_CARVE_OVERLAPS_NONRAM or overlap with non-RAM). Shouldn't existing mappings remain untouched if an error occurs? Best regards Heinrich