aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/include
diff options
context:
space:
mode:
authorBojan Novković <bnovkov@FreeBSD.org>2024-05-03 17:53:56 +0000
committerBojan Novković <bnovkov@FreeBSD.org>2024-05-25 17:24:55 +0000
commit0a44b8a56d23e24b05471ddb038b7dd30b149efe (patch)
tree67fb4842c536f794c97d9515ac02de664488ee13 /sys/arm64/include
parentda76d349b6b104f4e70562304c800a0793dea18d (diff)
downloadsrc-0a44b8a56d23e24b05471ddb038b7dd30b149efe.tar.gz
src-0a44b8a56d23e24b05471ddb038b7dd30b149efe.zip
vm: Simplify startup page dumping conditional
This commit introduces the MINIDUMP_STARTUP_PAGE_TRACKING symbol and uses it to simplify several instances of a complex preprocessor conditional for adding pages allocated when bootstraping the kernel to minidumps. Reviewed by: markj, mhorne Approved by: markj (mentor) Differential Revision: https://reviews.freebsd.org/D45085
Diffstat (limited to 'sys/arm64/include')
-rw-r--r--sys/arm64/include/vmparam.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm64/include/vmparam.h b/sys/arm64/include/vmparam.h
index 0dcd02d63938..0e93e4026d4a 100644
--- a/sys/arm64/include/vmparam.h
+++ b/sys/arm64/include/vmparam.h
@@ -317,6 +317,7 @@ extern vm_offset_t dmap_max_addr;
* Need a page dump array for minidump.
*/
#define MINIDUMP_PAGE_TRACKING 1
+#define MINIDUMP_STARTUP_PAGE_TRACKING 1
#endif /* !_MACHINE_VMPARAM_H_ */