aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2018-08-15 14:29:04 +0000
committerAndrew Turner <andrew@FreeBSD.org>2018-08-15 14:29:04 +0000
commitfa68430df2302b31bba7a6a0bd06a13a178852ad (patch)
treeaf64eab714dd96b62311158728e43b67d9c478a7
parent8082df3c7e11288c96ac61a6a87c637bd519fc5a (diff)
downloadsrc-fa68430df2302b31bba7a6a0bd06a13a178852ad.tar.gz
src-fa68430df2302b31bba7a6a0bd06a13a178852ad.zip
Notes
-rw-r--r--sys/arm/arm/pmap-v4.c16
-rw-r--r--sys/arm/include/pmap-v4.h8
2 files changed, 0 insertions, 24 deletions
diff --git a/sys/arm/arm/pmap-v4.c b/sys/arm/arm/pmap-v4.c
index 7a33f390ae26..3f0d8baed535 100644
--- a/sys/arm/arm/pmap-v4.c
+++ b/sys/arm/arm/pmap-v4.c
@@ -252,14 +252,6 @@ pt_entry_t pte_l2_s_cache_mode;
pt_entry_t pte_l2_s_cache_mode_pt;
pt_entry_t pte_l2_s_cache_mask;
-pt_entry_t pte_l2_s_prot_u;
-pt_entry_t pte_l2_s_prot_w;
-pt_entry_t pte_l2_s_prot_mask;
-
-pt_entry_t pte_l1_s_proto;
-pt_entry_t pte_l1_c_proto;
-pt_entry_t pte_l2_s_proto;
-
/*
* Crashdump maps.
*/
@@ -474,14 +466,6 @@ pmap_pte_init_generic(void)
pte_l2_l_cache_mode_pt = L2_C;
pte_l2_s_cache_mode_pt = L2_C;
}
-
- pte_l2_s_prot_u = L2_S_PROT_U_generic;
- pte_l2_s_prot_w = L2_S_PROT_W_generic;
- pte_l2_s_prot_mask = L2_S_PROT_MASK_generic;
-
- pte_l1_s_proto = L1_S_PROTO_generic;
- pte_l1_c_proto = L1_C_PROTO_generic;
- pte_l2_s_proto = L2_S_PROTO_generic;
}
/*
diff --git a/sys/arm/include/pmap-v4.h b/sys/arm/include/pmap-v4.h
index 6ec57f881d46..b46ef0ec58d2 100644
--- a/sys/arm/include/pmap-v4.h
+++ b/sys/arm/include/pmap-v4.h
@@ -392,14 +392,6 @@ extern pt_entry_t pte_l1_s_cache_mode_pt;
extern pt_entry_t pte_l2_l_cache_mode_pt;
extern pt_entry_t pte_l2_s_cache_mode_pt;
-extern pt_entry_t pte_l2_s_prot_u;
-extern pt_entry_t pte_l2_s_prot_w;
-extern pt_entry_t pte_l2_s_prot_mask;
-
-extern pt_entry_t pte_l1_s_proto;
-extern pt_entry_t pte_l1_c_proto;
-extern pt_entry_t pte_l2_s_proto;
-
extern void (*pmap_copy_page_func)(vm_paddr_t, vm_paddr_t);
extern void (*pmap_copy_page_offs_func)(vm_paddr_t a_phys,
vm_offset_t a_offs, vm_paddr_t b_phys, vm_offset_t b_offs, int cnt);