Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2016 17:59:43 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295158 - head/sys/arm64/include
Message-ID:  <201602021759.u12HxhQb096296@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602021759.u12HxhQb096296>