summaryrefslogtreecommitdiffstats
path: root/target-i386/arch_memory_mapping.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some more license versions (GPL2+ instead of GPL2)Stefan Weil2012-06-111-2/+2
| | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
* dump: remove dumping stuff from cpu-all.hPaolo Bonzini2012-06-071-0/+1
| | | | | | | | This simplifies things, because they will only be included for softmmu targets and because the stubs are taken out-of-line in separate files, which in the future could even be compiled only once. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* Add API to check whether paging mode is enabledWen Congyang2012-06-041-1/+6
| | | | | | | This API will be used in the following patch. Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
* implement cpu_get_memory_mapping()Wen Congyang2012-06-041-0/+266
Walk cpu's page table and collect all virtual address and physical address mapping. Then, add these mapping into memory mapping list. If the guest does not use paging, it will do nothing. Note: the I/O memory will be skipped. Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
OpenPOWER on IntegriCloud