diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2018-05-22 11:07:04 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2018-05-22 11:07:04 +0000 |
commit | 79402150c1ce1c5d7905fb3a7e0e40eedc89ec12 (patch) | |
tree | 8d195d9151eb1c39f959f45cc53fced324e966fc /sys/conf | |
parent | e95725feca4ad8142d472293c519687ec3098c6e (diff) | |
download | src-79402150c1ce1c5d7905fb3a7e0e40eedc89ec12.tar.gz src-79402150c1ce1c5d7905fb3a7e0e40eedc89ec12.zip |
Switch arm64 to use the same physmem code as 32-bit arm.
The main advantage of this is to allow us to exclude memory from being
used by the kernel. This may be from the memreserve property, or ranges
marked as no-map under the reserved-memory node.
More work is still needed to remove the physmap array. This is still used
for creating the DMAP region, however other patches need to be committed
before we can remove this.
Obtained from: ABT Systems Ltd
Sponsored by: Turing Robotic Industries
Notes
Notes:
svn path=/head/; revision=334032
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files.arm64 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64 index 6ae9945fe21f..abfc066ff9b4 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -67,6 +67,7 @@ arm/arm/gic.c standard arm/arm/gic_acpi.c optional acpi arm/arm/gic_fdt.c optional fdt arm/arm/pmu.c standard +arm/arm/physmem.c standard arm/broadcom/bcm2835/bcm2835_audio.c optional sound vchiq fdt \ compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq" arm/broadcom/bcm2835/bcm2835_bsc.c optional bcm2835_bsc soc_brcm_bcm2837 fdt |