]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow ddb and dtrace use the DMAP region on arm64
authorAndrew Turner <andrew@FreeBSD.org>
Tue, 21 Sep 2021 17:10:57 +0000 (17:10 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Fri, 1 Oct 2021 10:27:33 +0000 (11:27 +0100)
commit3d2533f5c29fbf6e63c5e408ba13c2294a7612fd
treedef4eba677accd7002a423f4332ad307db214938
parent7ec86b66099124a9c2c88613507a10979cb8b191
Allow ddb and dtrace use the DMAP region on arm64

When writing to memory on arm64 we may be trying to be accessing a
read-only page. In this case try to access via the DMAP region to
get a writable location.

While here simplify writing data in DDB and stop trashing the size as
it is passed into the cache handling functions.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32053
sys/arm64/arm64/db_interface.c
sys/arm64/arm64/machdep.c
sys/arm64/include/cpufunc.h
sys/cddl/dev/fbt/aarch64/fbt_isa.c