]> git.proxmox.com Git - qemu.git/commit - memory_mapping.h
Add API to get memory mapping without do paging
authorWen Congyang <wency@cn.fujitsu.com>
Mon, 7 May 2012 04:07:07 +0000 (12:07 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 4 Jun 2012 16:49:34 +0000 (13:49 -0300)
commit2b05ab5229f880720ab6ca0e52577089889c10f9
treea154544eb76ed2369aa069a82c61aec7dedc8148
parentc517076dae5540241a5d8947471b46fe3248f6cd
Add API to get memory mapping without do paging

crash does not need the virtual address and physical address mapping, and the
mapping does not include the memory that is not referenced by the page table.
crash does not use the virtual address, so we can create the mapping for all
physical memory(virtual address is always 0). This patch provides a API to do
this thing, and it will be used in the following patch.

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
memory_mapping.c
memory_mapping.h