mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
Fix the memory attribute for EFI_MD_ATTR_UC on arm64.
This is defined as Device-nGnRnE in the UEFI spec (UEFI 2.4, section 2.3.6.1). This is the VM_MEMATTR_DEVICE type in FreeBSD. Reported by: tuexen Sponsored by: DARPA, AFRL
This commit is contained in:
parent
64415b8b22
commit
5428bb231f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334420
@ -196,7 +196,7 @@ efi_create_1t1_map(struct efi_md *map, int ndesc, int descsz)
|
||||
else if ((p->md_attr & EFI_MD_ATTR_WC) != 0)
|
||||
mode = VM_MEMATTR_WRITE_COMBINING;
|
||||
else if ((p->md_attr & EFI_MD_ATTR_UC) != 0)
|
||||
mode = VM_MEMATTR_UNCACHEABLE;
|
||||
mode = VM_MEMATTR_DEVICE;
|
||||
else {
|
||||
if (bootverbose)
|
||||
printf("EFI Runtime entry %d mapping "
|
||||
|
Loading…
Reference in New Issue
Block a user