util/selfmap: Rewrite using qemu/interval-tree.h
commit3ce3dd8ca965209b42660d943a3e9c8c662913fe
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 6 Aug 2023 17:10:44 +0000 (6 17:10 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 8 Aug 2023 20:27:17 +0000 (8 13:27 -0700)
treec2e33d6a5f41bb86ba1d209e0a8ee37cc61e0d86
parent5f4e5b34092556ab1577e25d1262bd5975b26980
util/selfmap: Rewrite using qemu/interval-tree.h

We will want to be able to search the set of mappings.
For this patch, the two users iterate the tree in order.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/qemu/selfmap.h
linux-user/elfload.c
linux-user/syscall.c
util/selfmap.c