mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00
linux-user: /proc/self/maps content
Build /proc/self/maps doing a match against guest memory translation table. Output only that map records which are valid for guest memory layout. Signed-off-by: Mikhail Ilyin <m.ilin@samsung.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
parent
fd3cced366
commit
d67f4aaae8
2 changed files with 12 additions and 15 deletions
|
@ -198,6 +198,8 @@ extern unsigned long reserved_va;
|
|||
#define RESERVED_VA 0ul
|
||||
#endif
|
||||
|
||||
#define GUEST_ADDR_MAX (RESERVED_VA ? RESERVED_VA : \
|
||||
(1ul << TARGET_VIRT_ADDR_SPACE_BITS) - 1)
|
||||
#endif
|
||||
|
||||
/* page related stuff */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue