summary refs log tree commit diff stats
path: root/hw/framebuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/framebuffer.c')
-rw-r--r--hw/framebuffer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/framebuffer.c b/hw/framebuffer.c
index f60beff643..24cdf25d0b 100644
--- a/hw/framebuffer.c
+++ b/hw/framebuffer.c
@@ -22,7 +22,7 @@
    
 void framebuffer_update_display(
     DisplayState *ds,
-    a_target_phys_addr base,
+    target_phys_addr_t base,
     int cols, /* Width in pixels.  */
     int rows, /* Leight in pixels.  */
     int src_width, /* Length of source line, in bytes.  */
@@ -34,16 +34,16 @@ void framebuffer_update_display(
     int *first_row, /* Input and output.  */
     int *last_row /* Output only */)
 {
-    a_target_phys_addr src_len;
+    target_phys_addr_t src_len;
     uint8_t *dest;
     uint8_t *src;
     uint8_t *src_base;
     int first, last = 0;
     int dirty;
     int i;
-    a_ram_addr addr;
-    a_ram_addr pd;
-    a_ram_addr pd2;
+    ram_addr_t addr;
+    ram_addr_t pd;
+    ram_addr_t pd2;
 
     i = *first_row;
     *first_row = -1;
@@ -86,7 +86,7 @@ void framebuffer_update_display(
     dest += i * dest_row_pitch;
 
     for (; i < rows; i++) {
-        a_target_phys_addr dirty_offset;
+        target_phys_addr_t dirty_offset;
         dirty = 0;
         dirty_offset = 0;
         while (addr + dirty_offset < TARGET_PAGE_ALIGN(addr + src_width)) {