projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecbe1de
)
milkymist-vgafb: fix console resizing
author
Michael Walle
<michael@walle.cc>
Tue, 12 Apr 2011 22:29:34 +0000
(
00:29
+0200)
committer
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Tue, 3 May 2011 08:48:40 +0000
(10:48 +0200)
After enabling the framebuffer, ensure that the console is resized.
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/milkymist-vgafb.c
patch
|
blob
|
history
diff --git
a/hw/milkymist-vgafb.c
b/hw/milkymist-vgafb.c
index
8922731
..
2e55e42
100644
(file)
--- a/
hw/milkymist-vgafb.c
+++ b/
hw/milkymist-vgafb.c
@@
-199,6
+199,9
@@
vgafb_write(void *opaque, target_phys_addr_t addr, uint32_t value)
addr >>= 2;
switch (addr) {
case R_CTRL:
+ s->regs[addr] = value;
+ vgafb_resize(s);
+ break;
case R_HSYNC_START:
case R_HSYNC_END:
case R_HSCAN: