]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user/elfload: Rely on walk_memory_regions for vmas
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 27 Feb 2024 17:58:41 +0000 (07:58 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 29 Feb 2024 21:03:52 +0000 (11:03 -1000)
commit50e33f52fbc476f71eb006e0c8d3fa355539c3e1
tree2b99a62c45a65ae4b613edaa2d324dce8d017e1f
parent1928d50bec7ef7956499e408ac3a501f02c57c47
linux-user/elfload: Rely on walk_memory_regions for vmas

Rather than creating new data structures for vma,
rely on the IntervalTree used by walk_memory_regions.

Use PAGE_* constants, per the page table api, rather
than PROT_* constants, per the mmap api.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/elfload.c