diff options
author | Michael Walle <michael@walle.cc> | 2011-04-13 00:29:34 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-05-03 10:48:40 +0200 |
commit | c07050ddb9659805068b2f1a3686c6f096dd11f9 (patch) | |
tree | 44226b383d996fe6a64d1e8008f65941f58a6a9d /hw | |
parent | ecbe1de82362e73c2b1111770c4a91b675a6fca2 (diff) | |
download | qemu-c07050ddb9659805068b2f1a3686c6f096dd11f9.zip qemu-c07050ddb9659805068b2f1a3686c6f096dd11f9.tar.gz qemu-c07050ddb9659805068b2f1a3686c6f096dd11f9.tar.bz2 |
milkymist-vgafb: fix console resizing
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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/milkymist-vgafb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/milkymist-vgafb.c b/hw/milkymist-vgafb.c index 8922731..2e55e42 100644 --- 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: |