I've used this type of variation of D25219 for my occasional UEFI/ACPI RPi4B activity since my comments on D25219 not passing my large-file-copy-and-diff testing on RPi4B's with the B0T stepping, Rev 1.4, and >= 4 GiBytes of RAM while using https://github.com/pftf/RPi4 , tracking as I've updated FreeBSD. The intent vs. D25219 is to, for example, change 0xc0000000 for hw.busdma.zone0.lowaddr to the value shown in:
# sysctl hw.busdma.zone0.lowaddr hw.busdma.zone0.lowaddr: 0xbfffffff
That matches the kind of values that I've seen in other contexts for hw.busdma.zoneN.lowaddr values. See my notes in D25219 and comments in the submitted code.
The diff presented is against:
# ~/fbsd-based-on-what-commit.sh -C /usr/main-src/ branch: main merge-base: 4d1ba6febfa7c7808027fd1ef60b3bffadd17853 merge-base: CommitDate: 2022-03-22 23:58:48 +0000 4d1ba6febfa7 (HEAD -> main, freebsd/main, freebsd/HEAD) bsdinstall hardening: Replace dialog with bsddialog n253904 (--first-parent --count for merge-base)
Note: I was far from sure that this form of submittal of a variant was reasonable. It is my second ever submittal here. I simply duplicated the Reviewers and Subscribers lists. I've no problem if someone that knows what they are doing for this context wants to just make it more appropriate in any way. My view of things is rather narrow/limited.