diff options
author | Svatopluk Kraus <skra@FreeBSD.org> | 2016-02-17 12:36:24 +0000 |
---|---|---|
committer | Svatopluk Kraus <skra@FreeBSD.org> | 2016-02-17 12:36:24 +0000 |
commit | 1413a3ab64c6f1b386dca4f9821358678da1b420 (patch) | |
tree | 70025259534ba798cb6e4dffa3e18da0a9189680 /sys/arm/versatile | |
parent | d6686e08be57f7058985f72f0e1973ff0df70cd0 (diff) | |
download | src-1413a3ab64c6f1b386dca4f9821358678da1b420.tar.gz src-1413a3ab64c6f1b386dca4f9821358678da1b420.zip |
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/versatile')
-rw-r--r-- | sys/arm/versatile/versatile_machdep.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arm/versatile/versatile_machdep.c b/sys/arm/versatile/versatile_machdep.c index ac3ebd22ed40..abc1ebc65001 100644 --- a/sys/arm/versatile/versatile_machdep.c +++ b/sys/arm/versatile/versatile_machdep.c @@ -82,8 +82,8 @@ platform_late_init(void) #define FDT_DEVMAP_MAX (2) /* FIXME */ static struct arm_devmap_entry fdt_devmap[FDT_DEVMAP_MAX] = { - { 0, 0, 0, 0, 0, }, - { 0, 0, 0, 0, 0, } + { 0, 0, 0, }, + { 0, 0, 0, } }; @@ -97,8 +97,6 @@ platform_devmap_init(void) fdt_devmap[i].pd_va = 0xf0100000; fdt_devmap[i].pd_pa = 0x10100000; fdt_devmap[i].pd_size = 0x01000000; /* 1 MB */ - fdt_devmap[i].pd_prot = VM_PROT_READ | VM_PROT_WRITE; - fdt_devmap[i].pd_cache = PTE_DEVICE; arm_devmap_register_table(&fdt_devmap[0]); return (0); |