diff options
author | andrew <andrew@FreeBSD.org> | 2016-02-02 17:59:43 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2016-02-02 17:59:43 +0000 |
commit | 5b58d7a3f84952d4d0e45ed7d2501aa4c1a28f2e (patch) | |
tree | c24c4108f3f3674a087b21472972bd46dd281525 | |
parent | 700dcbc1a2bc36e3a116192b615faf238f4e6e72 (diff) | |
download | FreeBSD-src-5b58d7a3f84952d4d0e45ed7d2501aa4c1a28f2e.zip FreeBSD-src-5b58d7a3f84952d4d0e45ed7d2501aa4c1a28f2e.tar.gz |
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
-rw-r--r-- | sys/arm64/include/pmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm64/include/pmap.h b/sys/arm64/include/pmap.h index e109de2..0faf2e8 100644 --- a/sys/arm64/include/pmap.h +++ b/sys/arm64/include/pmap.h @@ -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; |