Revision 0fd542fb cpu-common.h
b/cpu-common.h | ||
---|---|---|
34 | 34 |
typedef void CPUWriteMemoryFunc(void *opaque, target_phys_addr_t addr, uint32_t value); |
35 | 35 |
typedef uint32_t CPUReadMemoryFunc(void *opaque, target_phys_addr_t addr); |
36 | 36 |
|
37 |
void cpu_register_physical_memory_offset(target_phys_addr_t start_addr, |
|
38 |
ram_addr_t size, |
|
39 |
ram_addr_t phys_offset, |
|
40 |
ram_addr_t region_offset); |
|
37 |
void cpu_register_physical_memory_log(target_phys_addr_t start_addr, |
|
38 |
ram_addr_t size, |
|
39 |
ram_addr_t phys_offset, |
|
40 |
ram_addr_t region_offset, |
|
41 |
bool log_dirty); |
|
42 |
|
|
43 |
static inline void cpu_register_physical_memory_offset(target_phys_addr_t start_addr, |
|
44 |
ram_addr_t size, |
|
45 |
ram_addr_t phys_offset, |
|
46 |
ram_addr_t region_offset) |
|
47 |
{ |
|
48 |
cpu_register_physical_memory_log(start_addr, size, phys_offset, |
|
49 |
region_offset, false); |
|
50 |
} |
|
51 |
|
|
41 | 52 |
static inline void cpu_register_physical_memory(target_phys_addr_t start_addr, |
42 | 53 |
ram_addr_t size, |
43 | 54 |
ram_addr_t phys_offset) |
... | ... | |
91 | 102 |
void (*set_memory)(struct CPUPhysMemoryClient *client, |
92 | 103 |
target_phys_addr_t start_addr, |
93 | 104 |
ram_addr_t size, |
94 |
ram_addr_t phys_offset); |
|
105 |
ram_addr_t phys_offset, |
|
106 |
bool log_dirty); |
|
95 | 107 |
int (*sync_dirty_bitmap)(struct CPUPhysMemoryClient *client, |
96 | 108 |
target_phys_addr_t start_addr, |
97 | 109 |
target_phys_addr_t end_addr); |
Also available in: Unified diff