Introduce BUS_SPACE_MAP_POSTED such that we can distinguish between
authorkettenis <kettenis@openbsd.org>
Tue, 16 Feb 2021 12:33:22 +0000 (12:33 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 16 Feb 2021 12:33:22 +0000 (12:33 +0000)
commitd3dca73fd63f5059551ff69da5844afb4d86bbdc
tree5402faa921dc8a902942ba0a9adabef6fb960dcc
parent2ed91a5804cf7e2ca81279d9dc69f5d0647c4cdb
Introduce BUS_SPACE_MAP_POSTED such that we can distinguish between
posted and non-posted device memory mappings and set the right memory
attributes for them.  Needed because on the Apple M1 using the wrong
mapping will fault.

ok patrick@, dlg@
sys/arch/arm64/arm64/locore.S
sys/arch/arm64/arm64/locore0.S
sys/arch/arm64/arm64/machdep.c
sys/arch/arm64/arm64/pmap.c
sys/arch/arm64/dev/arm64_bus_space.c
sys/arch/arm64/include/bus.h
sys/arch/arm64/include/pmap.h
sys/arch/arm64/include/pte.h