Statistics
| Branch: | Revision:

root / memory_mapping.h @ e3e87df4

History | View | Annotate | Download (2 kB)

# Date Author Comment
2b05ab52 06/04/2012 07:49 pm Wen Congyang

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...

783e9b48 06/04/2012 07:49 pm Wen Congyang

introduce a new monitor command 'dump-guest-memory' to dump guest's memory

The command's usage:
dump-guest-memory [-p] protocol [begin] [length]
The supported protocol can be file or fd:
1. file: the protocol starts with "file:", and the following string is...

80167a8a 06/04/2012 07:49 pm Wen Congyang

Add API to create memory mapping list

The memory mapping list stores virtual address and physical address mapping.
The virtual address and physical address are contiguous in the mapping.
The folloing patch will use this information to create PT_LOAD in the vmcore....

fae001f5 06/04/2012 07:49 pm Wen Congyang

implement cpu_get_memory_mapping()

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....

c517076d 06/04/2012 07:49 pm Wen Congyang

Add API to get memory mapping

Add API to get all virtual address and physical address mapping.
If the guest doesn't use paging, the virtual address is equal to the phyical
address. The virtual address and physical address mapping is for gdb's user, and
it does not include the memory that is not referenced by the page table. So if...