mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 22:24:37 +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;
|
||||
break;
|
||||
default:
|
||||
LoongArchAttributes |= CACHE_CC;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user