vm_map: use page iterators in pmap_enter
Change vm_map_pmap_enter to use pctrie iterators to iterate over
pages, rather than using TAILQ links.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D49896
textproc/tinyxml2: Switch back to CMake
Consumers depends on .cmake files (helpers) and currently the most
reliable way to generate these. While at it utilize cmake:testing and
apply some Makefile changes
PR: 284806, 285300
Approved by: portmgr (PR 284806)
vm_swapout: use VM_RADIX_FOREACH
Replace the use of TAILQ over the object memq with a VM_RADIX_FOREACH loop.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D49894
vm_page: drop prev and next
Functions vm_page_prev() and vm_page_next() are no longer
invoked. Remove them.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D49892
csu: drop support for GCJ
Remove .jcr sections and related infrastructure. This has no impact on
existing binaries and the toolchain remains capability of linking them,
but would require different (or additional) csu files.
GCC removed GCJ from trunk in on September 30, 2016. Our support came
in with D17587 for compatibility with old object files. It was roughly
contemporaneous with GCC 6.5, the last release with GCJ support. At
this point we don't even have a compiler port capable of producing GCJ
binaries so there is no need to carry this around any more.
For reference see:
https://en.wikipedia.org/wiki/GNU_Compiler_for_Java#History
Reviewed by: kib, emaste
Discussed with: imp
Sponsored by: SRI International
Differential Revision: https://reviews.freebsd.org/D49882
Fix build with WITH_CLANG_BOOTSTRAP and WITHOUT_CLANG
When WITH_CLANG_BOOTSTRAP and WITHOUT_CLANG are both set, the
cross-tools stage does not build a cross clang binary. This is because
the Makefile in usr.bin/clang checks for WITHOUT_CLANG, and skips
building the binary.
To fix this, ensure that WITH_CLANG is set for the cross-tools phase
whenever WITH_CLANG_BOOTSTRAP is set. While here, skip using the
Makefile in usr.bin/clang, and directly use the Makefile in
usr.bin/clang/clang instead.
PR: 286154
Reported by: avg
Reviewed by: avg, emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D49886
intel_idpgtbl: use FORALL macro for page walk
Change two loops to use VM_RADIX_FORALL and drop the use of vm_page_next().
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D49891
vm_radix: pass pointers to VM_RADIX_FOR macros
Rather than pass the iterator name to VM_RADIX_FOREACH, and similar
macros, pass a pointer to the iterator.
Suggested by: kib
Reviewed by: kib
amd_idpgtbl: use iterator instead of vm_page_next
Use VM_RADIX_FORALL instead of vm_page_next in a loop in
amdiommu_domain_free_pgtbl.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D49890
kern_kcov: replace vm_page_next() with iterator
Use VM_RADIX_FORALL, and drop a use of vm_page_next(), in kcov_free().
Reviewed by: kib
Differential Revision: kern_kcov: replace vm_page_next() with iterator