Home
last modified time | relevance | path

Searched refs:PageAttributes (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/ArmPkg/Library/ArmMmuLib/Arm/
DArmMmuLibCore.c57 UINT32 PageAttributes; in ConvertSectionAttributesToPageAttributes() local
59 PageAttributes = 0; in ConvertSectionAttributesToPageAttributes()
60 PageAttributes |= TT_DESCRIPTOR_CONVERT_TO_PAGE_CACHE_POLICY (SectionAttributes, IsLargePage); in ConvertSectionAttributesToPageAttributes()
61 PageAttributes |= TT_DESCRIPTOR_CONVERT_TO_PAGE_AP (SectionAttributes); in ConvertSectionAttributesToPageAttributes()
62 PageAttributes |= TT_DESCRIPTOR_CONVERT_TO_PAGE_XN (SectionAttributes, IsLargePage); in ConvertSectionAttributesToPageAttributes()
63 PageAttributes |= TT_DESCRIPTOR_CONVERT_TO_PAGE_NG (SectionAttributes); in ConvertSectionAttributesToPageAttributes()
64 PageAttributes |= TT_DESCRIPTOR_CONVERT_TO_PAGE_S (SectionAttributes); in ConvertSectionAttributesToPageAttributes()
66 return PageAttributes; in ConvertSectionAttributesToPageAttributes()
117 UINT32 PageAttributes; in PopulateLevel2PageTable() local
125 PageAttributes = TT_DESCRIPTOR_PAGE_WRITE_BACK; in PopulateLevel2PageTable()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Drivers/CpuDxe/Arm/
DMmu.c93 IN UINT32 PageAttributes, in PageToGcdAttributes() argument
100 switch(PageAttributes & TT_DESCRIPTOR_PAGE_CACHE_POLICY_MASK) { in PageToGcdAttributes()
127 switch(PageAttributes & TT_DESCRIPTOR_PAGE_AP_MASK) { in PageToGcdAttributes()
148 if ((PageAttributes & TT_DESCRIPTOR_PAGE_XN_MASK) != 0 ) { in PageToGcdAttributes()
170 UINT32 PageAttributes = 0; in SyncCacheConfigPage() local
188PageAttributes = SecondLevelTable[i] & (TT_DESCRIPTOR_PAGE_CACHE_POLICY_MASK | TT_DESCRIPTOR_PAGE_… in SyncCacheConfigPage()
194 NextPageAttributes = PageAttributes; in SyncCacheConfigPage()
195 } else if (PageAttributes != NextPageAttributes) { in SyncCacheConfigPage()
206 NextPageAttributes = PageAttributes; in SyncCacheConfigPage()
768 UINT32 PageAttributes; in GetMemoryRegionPage() local
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmMmuLib/AArch64/
DArmMmuLibCore.c63 IN UINT64 PageAttributes in PageAttributeToGcdAttribute() argument
68 switch (PageAttributes & TT_ATTR_INDX_MASK) { in PageAttributeToGcdAttribute()
82 …FI_D_ERROR, "PageAttributeToGcdAttribute: PageAttributes:0x%lX not supported.\n", PageAttributes)); in PageAttributeToGcdAttribute()
90 …if (((PageAttributes & TT_AP_MASK) == TT_AP_NO_RO) || ((PageAttributes & TT_AP_MASK) == TT_AP_RO_R… in PageAttributeToGcdAttribute()
96 if ((PageAttributes & (TT_PXN_MASK | TT_UXN_MASK)) != 0 ) { in PageAttributeToGcdAttribute()
/device/linaro/bootloader/edk2/ArmPkg/Include/Chipset/
DAArch64.h219 IN UINT64 PageAttributes