ContiguousPTE[1/12] add page table access functions

Change-Id: I3291c170e66592c871f316d78d71248d26748501
This commit is contained in:
TOIDA,Suguru
2018-11-30 09:17:05 +09:00
committed by Masamichi Takagi
parent 8a2f4be443
commit d1b36aab62
3 changed files with 438 additions and 27 deletions

View File

@@ -72,6 +72,7 @@
#define PMD_SECT_S (UL(3) << 8)
#define PMD_SECT_AF (UL(1) << 10)
#define PMD_SECT_NG (UL(1) << 11)
#define PMD_SECT_CONT (UL(1) << 52)
#define PMD_SECT_PXN (UL(1) << 53)
#define PMD_SECT_UXN (UL(1) << 54)
@@ -93,6 +94,7 @@
#define PTE_SHARED (UL(3) << 8) /* SH[1:0], inner shareable */
#define PTE_AF (UL(1) << 10) /* Access Flag */
#define PTE_NG (UL(1) << 11) /* nG */
#define PTE_CONT (UL(1) << 52) /* Contiguous range */
#define PTE_PXN (UL(1) << 53) /* Privileged XN */
#define PTE_UXN (UL(1) << 54) /* User XN */
/* Software defined PTE bits definition.*/