summaryrefslogtreecommitdiffstats
path: root/sys/arm/include
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-17 21:07:54 +0000
committerian <ian@FreeBSD.org>2014-05-17 21:07:54 +0000
commitc44f8aab136f7f281e72ad00fc3073673119241f (patch)
treee6a2a73957831206ecf35ab5a3f4d5f1cde7a772 /sys/arm/include
parent941a79bd10fd8bfd6c52a9caa4896679445ee882 (diff)
downloadFreeBSD-src-c44f8aab136f7f281e72ad00fc3073673119241f.zip
FreeBSD-src-c44f8aab136f7f281e72ad00fc3073673119241f.tar.gz
MFC 264128, 264129, 264130, 264135,
Fix TTB set operation for armv7. Perform sychronization (by "isb" barrier) after TTB is set. Fix TLB maintenance issues for armv6 and armv7. - Add cpu_cpwait to comply with the convention. - Add missing TLB invalidations, especially in pmap_kenter & pmap_kremove with distinguishing between D and ID pages. - Modify pmap init/bootstrap invalidations to ID, just to be safe. - Fix TLB-inv and PTE_SYNC ordering. Allocate per-cpu resources for doing pmap_zero_page() and pmap_copy_page(). This is performance enhancement rather than bugfix. We don't support any ARM systems with an ISA bus and don't need a freelist of memory to support ISA addressing limitations.
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/vmparam.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/arm/include/vmparam.h b/sys/arm/include/vmparam.h
index 1f3d0d2..bf6e9f4 100644
--- a/sys/arm/include/vmparam.h
+++ b/sys/arm/include/vmparam.h
@@ -93,15 +93,10 @@
#define VM_FREEPOOL_DIRECT 0
/*
- * we support 2 free lists:
- *
- * - DEFAULT for all systems
- * - ISADMA for the ISA DMA range on Sharks only
+ * We need just one free list: DEFAULT.
*/
-
-#define VM_NFREELIST 2
+#define VM_NFREELIST 1
#define VM_FREELIST_DEFAULT 0
-#define VM_FREELIST_ISADMA 1
/*
* The largest allocation size is 1MB.
OpenPOWER on IntegriCloud