提交 472c5273 编写于 作者: T ths

Change display colors, the LED bar is green and the text display is red.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2336 c046a42c-6fe2-441c-8c8c-71466251a162
上级 15dcf5aa
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册