aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/include
diff options
context:
space:
mode:
authorSvatopluk Kraus <skra@FreeBSD.org>2016-02-17 12:36:24 +0000
committerSvatopluk Kraus <skra@FreeBSD.org>2016-02-17 12:36:24 +0000
commit1413a3ab64c6f1b386dca4f9821358678da1b420 (patch)
tree70025259534ba798cb6e4dffa3e18da0a9189680 /sys/arm/include
parentd6686e08be57f7058985f72f0e1973ff0df70cd0 (diff)
Remove pd_prot and pd_cache members from struct arm_devmap_entry.
The struct is used for definition of static device mappings which should always have same protection and attributes.
Notes
Notes: svn path=/head/; revision=295694
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/devmap.h2
-rw-r--r--sys/arm/include/pmap-v6.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/arm/include/devmap.h b/sys/arm/include/devmap.h
index 39fcf7fda9d3..d05c781dc8cc 100644
--- a/sys/arm/include/devmap.h
+++ b/sys/arm/include/devmap.h
@@ -37,8 +37,6 @@ struct arm_devmap_entry {
vm_offset_t pd_va; /* virtual address */
vm_paddr_t pd_pa; /* physical address */
vm_size_t pd_size; /* size of region */
- vm_prot_t pd_prot; /* protection code */
- int pd_cache; /* cache attributes */
};
/*
diff --git a/sys/arm/include/pmap-v6.h b/sys/arm/include/pmap-v6.h
index 067897779a20..1c1f6ef4e18f 100644
--- a/sys/arm/include/pmap-v6.h
+++ b/sys/arm/include/pmap-v6.h
@@ -250,8 +250,6 @@ void pmap_preboot_map_attr(vm_paddr_t, vm_offset_t, vm_size_t, vm_prot_t,
*/
void vector_page_setprot(int);
-#define PTE_DEVICE VM_MEMATTR_DEVICE
-
#endif /* _KERNEL */
// -----------------------------------------------------------------------------