Revision c227f099 hw/framebuffer.c
b/hw/framebuffer.c | ||
---|---|---|
22 | 22 |
|
23 | 23 |
void framebuffer_update_display( |
24 | 24 |
DisplayState *ds, |
25 |
a_target_phys_addr base,
|
|
25 |
target_phys_addr_t base,
|
|
26 | 26 |
int cols, /* Width in pixels. */ |
27 | 27 |
int rows, /* Leight in pixels. */ |
28 | 28 |
int src_width, /* Length of source line, in bytes. */ |
... | ... | |
34 | 34 |
int *first_row, /* Input and output. */ |
35 | 35 |
int *last_row /* Output only */) |
36 | 36 |
{ |
37 |
a_target_phys_addr src_len;
|
|
37 |
target_phys_addr_t src_len;
|
|
38 | 38 |
uint8_t *dest; |
39 | 39 |
uint8_t *src; |
40 | 40 |
uint8_t *src_base; |
41 | 41 |
int first, last = 0; |
42 | 42 |
int dirty; |
43 | 43 |
int i; |
44 |
a_ram_addr addr;
|
|
45 |
a_ram_addr pd;
|
|
46 |
a_ram_addr pd2;
|
|
44 |
ram_addr_t addr;
|
|
45 |
ram_addr_t pd;
|
|
46 |
ram_addr_t pd2;
|
|
47 | 47 |
|
48 | 48 |
i = *first_row; |
49 | 49 |
*first_row = -1; |
... | ... | |
86 | 86 |
dest += i * dest_row_pitch; |
87 | 87 |
|
88 | 88 |
for (; i < rows; i++) { |
89 |
a_target_phys_addr dirty_offset;
|
|
89 |
target_phys_addr_t dirty_offset;
|
|
90 | 90 |
dirty = 0; |
91 | 91 |
dirty_offset = 0; |
92 | 92 |
while (addr + dirty_offset < TARGET_PAGE_ALIGN(addr + src_width)) { |
Also available in: Unified diff