]> Git Repo - qemu.git/blobdiff - hw/display/cirrus_vga.c
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
[qemu.git] / hw / display / cirrus_vga.c
index 52d039e9bc0f1cae294b65adf0670522ed699cb8..db330e95484f9d027b1ec5265bf9b43ec3993c19 100644 (file)
@@ -2059,7 +2059,7 @@ static void cirrus_vga_mem_write(void *opaque,
        }
     } else {
 #ifdef DEBUG_CIRRUS
-        printf("cirrus: mem_writeb " TARGET_FMT_plx " value %02x\n", addr,
+        printf("cirrus: mem_writeb " TARGET_FMT_plx " value 0x%02" PRIu64 "\n", addr,
                mem_value);
 #endif
     }
@@ -2594,7 +2594,7 @@ static void cirrus_vga_ioport_write(void *opaque, hwaddr addr, uint64_t val,
        break;
     case 0x3c5:
 #ifdef DEBUG_VGA_REG
-       printf("vga: write SR%x = 0x%02x\n", s->sr_index, val);
+       printf("vga: write SR%x = 0x%02" PRIu64 "\n", s->sr_index, val);
 #endif
        cirrus_vga_write_sr(c, val);
         break;
@@ -2619,7 +2619,7 @@ static void cirrus_vga_ioport_write(void *opaque, hwaddr addr, uint64_t val,
        break;
     case 0x3cf:
 #ifdef DEBUG_VGA_REG
-       printf("vga: write GR%x = 0x%02x\n", s->gr_index, val);
+       printf("vga: write GR%x = 0x%02" PRIu64 "\n", s->gr_index, val);
 #endif
        cirrus_vga_write_gr(c, s->gr_index, val);
        break;
@@ -2630,7 +2630,7 @@ static void cirrus_vga_ioport_write(void *opaque, hwaddr addr, uint64_t val,
     case 0x3b5:
     case 0x3d5:
 #ifdef DEBUG_VGA_REG
-       printf("vga: write CR%x = 0x%02x\n", s->cr_index, val);
+       printf("vga: write CR%x = 0x%02"PRIu64"\n", s->cr_index, val);
 #endif
        cirrus_vga_write_cr(c, val);
        break;
This page took 0.024113 seconds and 4 git commands to generate.