mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 22:54:51 +02:00
UefiCpuPkg/CpuMmuLib: Adjust default memory attributes on LoongArch
When updating memory attributes, if only access attributes are changed, the default memory cache attribute is NULL and a CACHE_CC is added by default. Signed-off-by: Chao Li <lichao@loongson.cn>
This commit is contained in:
parent
9098efdf0d
commit
9a9bcacbe0
@ -595,6 +595,7 @@ EfiAttributeConverse (
|
|||||||
LoongArchAttributes &= ~PAGE_DIRTY;
|
LoongArchAttributes &= ~PAGE_DIRTY;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
LoongArchAttributes |= CACHE_CC;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user