diff options
author | ian <ian@FreeBSD.org> | 2014-05-15 22:11:48 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-05-15 22:11:48 +0000 |
commit | edd0d85b77e836c83c4c913351ed136b5b963f9d (patch) | |
tree | 039e6378c64d1786a5ce09c9863d50653958f6dd /sys/arm/include | |
parent | 2adbcd85c257d4cef2f521b431059e80c05f4d57 (diff) | |
download | FreeBSD-src-edd0d85b77e836c83c4c913351ed136b5b963f9d.zip FreeBSD-src-edd0d85b77e836c83c4c913351ed136b5b963f9d.tar.gz |
MFC r261917, r261918, r261919, r261920, r261921, r261922
Always clear L1 PTE descriptor when removing superpage on ARM
Invalidate L1 PTE regardles of existance of the corresponding l2_bucket.
Ensure proper TLB invalidation on superpage promotion and demotion on ARM
Base pages within newly created superpage need to be invalidated so that
new mapping is "visible" immediately after creation.
Fix superpage promotion on ARM with respect to RO/RW and wired attributes
Avoid redundant superpage promotion attempts on ARM
Remove spurious assertion from pmap_extract_locked() on ARM
Handle pmap_enter() on already promoted mappings for ARMv6/v7
Diffstat (limited to 'sys/arm/include')
-rw-r--r-- | sys/arm/include/pmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/include/pmap.h b/sys/arm/include/pmap.h index 8b98f6c..74282cc 100644 --- a/sys/arm/include/pmap.h +++ b/sys/arm/include/pmap.h @@ -527,6 +527,7 @@ extern int pmap_needs_pte_sync; #define L1_S_PROT_MASK (L1_S_PROT_W|L1_S_PROT_U) #define L1_S_REF (L1_S_AP(AP_REF)) /* Reference flag */ #define L1_S_WRITABLE(pd) (!((pd) & L1_S_PROT_W)) +#define L1_S_EXECUTABLE(pd) (!((pd) & L1_S_XN)) #define L1_S_REFERENCED(pd) ((pd) & L1_S_REF) #define L1_S_PROT(ku, pr) (((((ku) == PTE_KERNEL) ? 0 : L1_S_PROT_U) | \ |