svn commit: r295158 - head/sys/arm64/include

Andrew Turner andrew at FreeBSD.org
Tue Feb 2 17:59:44 UTC 2016


Author: andrew
Date: Tue Feb  2 17:59:43 2016
New Revision: 295158
URL: https://svnweb.freebsd.org/changeset/base/295158

Log:
  Increase the size of PHYS_AVAIL_SIZE to allow firmware to provide a large
  number of physical memory locations we can access. This is the case on
  some HiKey boards that may have UEFI reserved memory dispersed through the
  physical space.
  
  Sponsored by:	ABT Systems Ltd

Modified:
  head/sys/arm64/include/pmap.h

Modified: head/sys/arm64/include/pmap.h
==============================================================================
--- head/sys/arm64/include/pmap.h	Tue Feb  2 17:57:15 2016	(r295157)
+++ head/sys/arm64/include/pmap.h	Tue Feb  2 17:59:43 2016	(r295158)
@@ -121,7 +121,7 @@ extern struct pmap	kernel_pmap_store;
 #define	PMAP_TRYLOCK(pmap)	mtx_trylock(&(pmap)->pm_mtx)
 #define	PMAP_UNLOCK(pmap)	mtx_unlock(&(pmap)->pm_mtx)
 
-#define	PHYS_AVAIL_SIZE	10
+#define	PHYS_AVAIL_SIZE	32
 extern vm_paddr_t phys_avail[];
 extern vm_paddr_t dump_avail[];
 extern vm_offset_t virtual_avail;


More information about the svn-src-all mailing list