summaryrefslogtreecommitdiffstats
path: root/sys/arm64
diff options
context:
space:
mode:
authorskra <skra@FreeBSD.org>2016-02-17 12:36:24 +0000
committerskra <skra@FreeBSD.org>2016-02-17 12:36:24 +0000
commit19710a8b475c3e518b72fb0053a31a5c7fa2e49e (patch)
tree70025259534ba798cb6e4dffa3e18da0a9189680 /sys/arm64
parent2ae033135f01061978704eff3d7292153170186b (diff)
downloadFreeBSD-src-19710a8b475c3e518b72fb0053a31a5c7fa2e49e.zip
FreeBSD-src-19710a8b475c3e518b72fb0053a31a5c7fa2e49e.tar.gz
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.
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/include/devmap.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arm64/include/devmap.h b/sys/arm64/include/devmap.h
index e205d9b..4184f8b 100644
--- a/sys/arm64/include/devmap.h
+++ b/sys/arm64/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 */
};
/*
@@ -70,7 +68,7 @@ void arm_devmap_register_table(const struct arm_devmap_entry * _table);
* custom initarm() routines in older code. If the table pointer is NULL, this
* will use the table installed previously by arm_devmap_register_table().
*/
-void arm_devmap_bootstrap(vm_offset_t _l1pt,
+void arm_devmap_bootstrap(vm_offset_t _l1pt,
const struct arm_devmap_entry *_table);
/*
OpenPOWER on IntegriCloud