Revision a8170e5e memory_mapping.h
b/memory_mapping.h | ||
---|---|---|
18 | 18 |
|
19 | 19 |
/* The physical and virtual address in the memory mapping are contiguous. */ |
20 | 20 |
typedef struct MemoryMapping { |
21 |
target_phys_addr_t phys_addr;
|
|
21 |
hwaddr phys_addr;
|
|
22 | 22 |
target_ulong virt_addr; |
23 | 23 |
ram_addr_t length; |
24 | 24 |
QTAILQ_ENTRY(MemoryMapping) next; |
... | ... | |
39 | 39 |
* and is contiguous. The list is sorted by phys_addr. |
40 | 40 |
*/ |
41 | 41 |
void memory_mapping_list_add_merge_sorted(MemoryMappingList *list, |
42 |
target_phys_addr_t phys_addr,
|
|
43 |
target_phys_addr_t virt_addr,
|
|
42 |
hwaddr phys_addr,
|
|
43 |
hwaddr virt_addr,
|
|
44 | 44 |
ram_addr_t length); |
45 | 45 |
|
46 | 46 |
void memory_mapping_list_free(MemoryMappingList *list); |
Also available in: Unified diff