aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/include/pmap.h
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2014-02-08 22:21:38 +0000
committerIan Lepore <ian@FreeBSD.org>2014-02-08 22:21:38 +0000
commit007aeeced6c05bc3cefb4ca437b1ec3b85a46e5b (patch)
treeba2a39fcaa3ecafa8056165f8d0b934acd71e312 /sys/arm/include/pmap.h
parent0d3009b37c634272cccca8e4d1ca84381992a091 (diff)
downloadsrc-007aeeced6c05bc3cefb4ca437b1ec3b85a46e5b.tar.gz
src-007aeeced6c05bc3cefb4ca437b1ec3b85a46e5b.zip
Remove the ARM_USE_SMALL_ALLOC option and code related to it.
This was an optimization used only by a few xscale platforms. Part of the optimization was to create a direct map for all physical pages, and that resulted in making multiple mappings of pages in a way that bypassed the logic in pmap.c to handle VIVT cache aliasing. It also just generally made the code more complex and hard to maintain for all SoCs. Reviewed by: cognet
Notes
Notes: svn path=/head/; revision=261642
Diffstat (limited to 'sys/arm/include/pmap.h')
-rw-r--r--sys/arm/include/pmap.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/arm/include/pmap.h b/sys/arm/include/pmap.h
index d796c461b45b..8b98f6cb93d7 100644
--- a/sys/arm/include/pmap.h
+++ b/sys/arm/include/pmap.h
@@ -708,17 +708,6 @@ extern char *_tmppt;
void pmap_postinit(void);
-#ifdef ARM_USE_SMALL_ALLOC
-void arm_add_smallalloc_pages(void *, void *, int, int);
-vm_offset_t arm_ptovirt(vm_paddr_t);
-void arm_init_smallalloc(void);
-struct arm_small_page {
- void *addr;
- TAILQ_ENTRY(arm_small_page) pg_list;
-};
-
-#endif
-
extern vm_paddr_t dump_avail[];
#endif /* _KERNEL */