]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commitdiff
Change display colors, the LED bar is green and the text display is red.
authorths <ths>
Sat, 20 Jan 2007 00:27:42 +0000 (00:27 +0000)
committerths <ths>
Sat, 20 Jan 2007 00:27:42 +0000 (00:27 +0000)
hw/mips_malta.c

index 2c838a5b0bbc05eed216e5b93110be6f06487075..bee29db0d0dd3286be29dbf33abfec035a376a76 100644 (file)
@@ -81,8 +81,8 @@ static void malta_fpga_update_display(void *opaque)
     }
     leds_text[8] = '\0';
 
-    qemu_chr_printf(s->display, "\e[H\n\n|\e[31m%-8.8s\e[00m|\r\n", leds_text);
-    qemu_chr_printf(s->display, "\n\n\n\n|\e[32m%-8.8s\e[00m|", s->display_text);
+    qemu_chr_printf(s->display, "\e[H\n\n|\e[32m%-8.8s\e[00m|\r\n", leds_text);
+    qemu_chr_printf(s->display, "\n\n\n\n|\e[31m%-8.8s\e[00m|", s->display_text);
 }
 
 static uint32_t malta_fpga_readl(void *opaque, target_phys_addr_t addr)